OpenAPI Response Get 200 Description Error (Edit)

GET 200 success HTTP status codes should have a description, describing what an API consumer can expect as a result

OpenAPIResponsesGET2xx

Rule Definition

openapi-response-get-200-description-error.yaml
{"openapi-response-get-200-description-error":{"description":"GET 200 success HTTP status codes should have a description, describing what an API consumer can expect as a result","message":"GET 200 Response MUST have description.","severity":"error","given":"$.paths.*.get.responses.200","then":{"field":"description","function":"truthy"}}}

Back to All of the Rules