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.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Environment name is missing or empty. |
| Code | OPENAPI3APIMATIC_L104 |
| Type | Linting |
| Rule System | Semantic |
| Broad Category | OpenAPI Servers |
| Products Impacted | API Transformer, Code Generation |
| Tags | openapi3 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.