Defining servers for a Path
Server definitions for a Path provide alternative target servers when calling the API at that Path.
About this task
Note:
- This task relates to configuring an OpenAPI 3.0 API definition. For details on how to configure an OpenAPI 2.0 API definition, see Editing an OpenAPI 2.0 API definition.
- OpenAPI 3.0 APIs are supported only with the DataPower® API Gateway, not with the DataPower Gateway (v5 compatible).
- For details of current OpenAPI 3.0 support limitations, see OpenAPI 3.0 support in IBM® API Connect.
You can complete this task either by using the API Designer UI application, or by using the browser-based API Manager UI.
Note: It is unlikely that you will need to define servers for a Path because it applies only if the
API operations are distributed across different gateway endpoints, and such a configuration is
possible only if you are hosting your API operations on your own runtime endpoints outside of API Connect. For an API that
is published to the DataPower API Gateway, all API
operations are invoked on the same gateway service.
A server defined for a Path overrides any server defined for the parent API. You can define more than one server but only the first is used by API Connect.
At any time, you can switch directly to the underlying OpenAPI YAML source by clicking the Source icon . To return to the design form, click the Form icon .