OpenAPI Path Declarations Error (Edit)

There must be a paths property and have paths declared, providing the minimum viable definition for an API.

OpenAPIPathsDefault

Rule Definition

openapi-paths-declarations-error.yaml
{"openapi-paths-declarations-error":{"description":"There must be a paths property and have paths declared, providing the minimum viable definition for an API.","message":"OpenAPI Path Declarations Error","severity":"error","resolved":false,"given":"$.paths","then":{"field":"@key","function":"pattern","functionOptions":{"notMatch":"{}"}}}}

Back to All of the Rules