Openapi Response Post 201 Media Type Schema Error (Edit)

Require schema for POST.

Rule Definition

openapi-response-post-201-media-type-schema-error.yaml
{ "openapi-response-post-201-media-type-schema-error": {"description":"Require schema for POST.","message":"Schema POST","severity":"error","given":"$.paths.*.post.responses.201.content.application/json","then":{"field":"schema","function":"truthy"}} }

Back to All of the Rules