Openapi Schema Type Error (Edit)

Require schema type.

Rule Definition

openapi-schema-type-error.yaml
{ "openapi-schema-type-error": {"description":"Require schema type.","message":"Schema Type","severity":"error","given":"$.components.schemas.*","then":{"field":"type","function":"truthy"}} }

Back to All of the Rules