Skip to main content

required-environment-name

Overview

This rule belongs to the openapi-v3-apimatic-linting ruleset and states that:

A non-null, non-empty, user-friendly name or identifier must be provided for the environment name.

PropertyValue
EnabledYes
Maximum SeverityError
MessageEnvironment name is missing or empty.
CodeOPENAPI3APIMATIC_L104
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Servers
Products ImpactedAPI Transformer, Code Generation
Tagsopenapi3 openapi apimatic semantic linting name environment

Suggested Fixes

  • Environment name must not be null or empty.
  • Assign a code-friendly and user-friendly name.
  • Avoid using special characters in the name.

For More Information