Skip to main content

required-api-info

Overview

This rule belongs to the openapi-v3-standards-validation ruleset and states that:

The OpenAPI root object must specify metadata about the API using the info property.

PropertyValue
EnabledYes
Maximum SeverityError
MessageRequired property info in root OpenAPI object is missing.
CodeOPENAPI3STANDARDS_V003
TypeValidation
Rule SystemSemantic
Broad CategoryOpenAPI Root Information
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi standards semantic validation info metadata

Suggested Fixes

  • Add missing info property in the root object i.e. in the top level properties of the document.
  • Make sure that the info property is a valid object and not set as null.

For More Information