This rule belongs to the
openapi-v3-codegen-linting ruleset and states that:
In an OpenAPI document, if a schema object has the type 'object', it must also contain a 'properties' property that defines the object's properties. This is required to accurately describe the structure of the object and enable proper validation.
|Object schema must define properties.
|API Transformer, Code Generation, Developer Experience Portal
- Add a 'properties' property to the schema object with type 'object'.
- Ensure that schema 'properties' property is not empty.
- Ensure that schema 'properties' property is not null.