Openapi Schema Properties Type String Pattern Info (Edit)

Has schema property type string pattern.

Rule Definition

openapi-schema-properties-type-string-pattern-info.yaml
{ "openapi-schema-properties-type-string-pattern-info": {"description":"Has schema property type string pattern.","message":"Schema Property Type String Pattern","given":["$.components.schemas.*.properties.[?(@.type=='string')]"],"severity":"info","then":{"field":"pattern","function":"falsy"}} }

Back to All of the Rules