Skip to main content

required-info-contact

Overview

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

The Info Object must specify contact information using the contact property. This information helps users who may be stuck using your API e.g. you can include contact details of your support team that your API consumers can reach out to.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageContact information is missing.
CodeOPENAPI3DOCSGEN_L053
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Info
Products ImpactedDeveloper Experience Portal
Tagsdocumentation generation documentation docs openapi3 openapi semantic linting apimatic contact info

Suggested Fixes

  • Ensure that the Info Object contains the contact property.
  • Ensure that the contact details are complete and not empty or null e.g. remember to add the name, url and email.

For More Information