This rule belongs to the
openapi-v3-apimatic-linting ruleset and states that:
An empty path key in OpenAPI is discouraged as it may lead to confusion and ambiguity in identifying the targeted resource in the server. Therefore, it is recommended to use non-empty path keys that accurately point to the intended resource in the server. This improves the clarity, readability, and maintainability of the API documentation, and ensures that the server responds appropriately to client requests.
|Message||Empty path key found.|
|Broad Category||OpenAPI Paths|
|Products Impacted||API Transformer, Code Generation, Developer Experience Portal|
- Ensure that there is no empty path keys.
- Enusre that path keys point to valid server locations