OpenAPI Components Parameters Schema Type String Maxlength Warn (Edit)

Parameters that are of the string schema type must have their maximum value set, defining the shape of parameter data passed in with a request

OpenAPIComponentsParametersSchemaTypeDefaultSecurity

Rule Definition

openapi-components-parameters-schema-type-string-maxlength-warn.yaml
{"openapi-components-parameters-schema-type-string-maxlength-warn":{"description":"Parameters that are of the string schema type must have their maximum value set, defining the shape of parameter data passed in with a request","message":"Parameter Schema Type String MaxLength","given":["$.apis.*.properties.*","$.common.*"],"severity":"warn","then":{"field":"maxLength","function":"truthy"}}}

Back to All of the Rules