This rule belongs to the
openapi-v3-apimatic-linting ruleset and states that:
The maximum length of a schema cannot be less than the minimum length. In other words, if a minimum length is specified for a schema, the maximum length must be greater than or equal to that minimum length.
|Maximum length is less than minimum length.
|API Transformer, Code Generation, Developer Experience Portal
- Check the schema definition to confirm the minimum and maximum lengths specified for the schema.
- Compare the minimum and maximum lengths to identify if the maximum length is less than the minimum length.
- Update the maximum length to be greater than or equal to the minimum length specified in the schema.