required-server-url
Overview
This rule belongs to the openapi-v3-apimatic-linting ruleset and states that:
A server object defined for the environment must specify a non-empty, non-null and absolute URL path.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Server has a missing URL. |
| Code | OPENAPI3APIMATIC_L108 |
| Type | Linting |
| Rule System | Semantic |
| Broad Category | OpenAPI Servers |
| Products Impacted | API Transformer, Code Generation |
| Tags | openapi3 openapi apimatic semantic linting server url |
Suggested Fixes
- Specify a valid absolute URL for the server.
- Make sure the server URL is not empty or null.