required-server-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 server name.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Server name is missing or empty. |
| Code | OPENAPI3APIMATIC_L107 |
| Type | Linting |
| Rule System | Semantic |
| Broad Category | OpenAPI Servers |
| Products Impacted | API Transformer, Code Generation |
| Tags | openapi3 openapi apimatic semantic linting server name |
Suggested Fixes
- Server name must not be null or empty.
- Assign a code-friendly and user-friendly name.
- Avoid using special characters in the name.