Openapi Response Get 200 Schema Components Warn (Edit)

Warn GET response 200 schema should use components.

Rule Definition

openapi-response-get-200-schema-components-warn.yaml
{ "openapi-response-get-200-schema-components-warn": {"description":"Warn GET response 200 schema should use components.","message":"GET Response 200 Schema Components","given":"$.paths.*.get.responses.200.content.*.schema[?(@.allOf && @.anyOf && @.oneOf)]","severity":"warn","then":{"field":"properties","function":"truthy"}} }

Back to All of the Rules