Openapi Request Body Schema Properties String Maxlength Error (Edit)

Request Body Schema Property String MaxLength

Rule Definition

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

Back to All of the Rules