Skip to main content

predefined-endpoint-server

Overview

This rule belongs to the apimatic-preliminary-validation ruleset and states that:

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

PropertyValue
EnabledYes
Maximum SeverityError
MessageEndpoint uses an undefined server.
CodeAPIMATICPRE_V101
TypeValidation
Rule SystemSemantic
Broad CategoryEndpoints
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagspreliminary checks validation apimatic server endpoint

Suggested Fixes

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

For More Information