Skip to main content

server-configuration-extension-used

Overview

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

In OpenAPI v3.0.x, the Info Object can be extended with additional properties through the use of specification extensions (i.e., properties that begin with x-). One such vendor extension is x-server-configuration, which allows users to define API server configurations in more detail. It is essential to include the x-server-configuration extension in the Info Object, as it should not be missing.

PropertyValue
EnabledNo
Maximum SeverityWarning
MessageServer configuration extension is missing in the info object.
CodeOPENAPI3APIMATIC_L100
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Servers
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting server server configuration info object info

Suggested Fixes

  • Add extension within the info object by using the property x-server-configuration.

For More Information