Warn GET response 201 schema should use components.
{ "openapi-response-post-201-schema-components-warn": {"description":"Warn GET response 201 schema should use components.","message":"POST Response 201 Schema Components","given":"$.paths.*.post.responses.201.content.*.schema[?(@.allOf && @.anyOf && @.oneOf)]","severity":"warn","then":{"field":"properties","function":"truthy"}} }
Back to All of the Rules