Skip to main content



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

String value should be in the format of a proper URI. The URI path can be relative if the Base URI of the referring document is known to help resolve the URI path into an absolute path.

Maximum SeverityError
MessageURI is invalid.
Rule SystemSyntax
Broad CategoryMiscellaneous
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi syntax validation uri

Suggested Fixes

  • If the URI is a relative path, ensure that the base URI path of the document, in which the URI is specified, is known.
  • If the OpenAPI document base URI is not known, ensure that the URI is an absolute path.
  • Ensure that the URI does not contain any forbidden characters.

For More Information