Skip to main content

pre-defined-operation-server-in-server-configuration

Overview

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

Operation must use a pre-defined server from the API specification's server configuration.

PropertyValue
EnabledYes
Maximum SeverityError
MessageOperation uses an undefined server.
CodeOPENAPI3APIMATIC_L236
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Operations
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting server operation server configuration

Suggested Fixes

  • Make sure the server linked in the operation is defined in the server configuration of the API.

For More Information