Skip to main content

pre-defined-required-schema-property

Overview

This rule belongs to the openapi-v3-apimatic-linting ruleset and states that:

The properties listed in the required list of a schema must be pre-defined in the schema properties.

PropertyValue
EnabledYes
Maximum SeverityError
MessageThe schema required list references an undefined schema property.
CodeOPENAPI3APIMATIC_L684
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Schemas
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting required schema properties predefined

Suggested Fixes

  • Ensure that all properties listed in the required list of the schema are pre-defined in the schema properties.

For More Information