Skip to main content

no-explicit-schema-type-implies-any-type

Overview

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

Schema definitions where the type is not explicitly defined can be of any type.

PropertyValue
EnabledNo
Maximum SeverityWarning
MessageSchema type is missing.
CodeOPENAPI3APIMATIC_L665
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Schemas
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting schema type

Suggested Fixes

  • Ensure that the schema type is defined in case it was missed.

For More Information