Skip to main content



This rule belongs to the swagger-v2-standards-validation ruleset and states that:

The Info Object must specify a version number for the current application API using the version property.

Maximum SeverityError
MessageRequired property version in Info Object is missing.
Rule SystemSemantic
Broad CategoryInfo
Products ImpactedDeveloper Experience Portal
Tagsswagger2 swagger standards semantic validation version info metadata

Suggested Fixes

  • Add missing version property in the Info Object.
  • Make sure that the version property value is not null or empty.
  • The value should indicate the version of the Swagger document you are currently drafting. If you are unsure, simply set the value to '1.0'.
  • This version is not the same as the Swagger standard version.

For More Information