Openapi Schema Properties String Maxlength Error (Edit)

Schema Property String MaxLength

Rule Definition

openapi-schema-properties-string-maxlength-error.yaml
{ "openapi-schema-properties-string-maxlength-error": {"message":"Require schema property string maxlength.","description":"Schema Property String MaxLength","severity":"error","given":"$.components.schemas.*.properties.[?(@.type==\"string\")]","then":{"field":"maxLength","function":"truthy"}} }

Back to All of the Rules