OpenAPI Components Parameters Schema Type String Minlength Warn (Edit)

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

OpenAPIComponentsParametersSchemaTypeDefaultSecurity

Rule Definition

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

Back to All of the Rules