OpenAPI Response Post 201 Description Error (Edit)

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

OpenAPIResponsesPOST2xx

Rule Definition

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

Back to All of the Rules