- 12 Jan 2023
-
DarkLight
-
PDF
Current Limitations
- Updated on 12 Jan 2023
-
DarkLight
-
PDF
Current Limitations
Described below are known limitations with regard to creating an Integration Model.
Servers
Currently a single server endpoint is supported for Integrations. If the OpenAPI document has more than one server listed in its servers
object, the first server will be selected for use. This endpoint can be updated in the service configuration after the Integration is created.
Example Template for Single Server Endpoint
Any server URL using the OpenAPI path template expressions will have the default value for variables applied. Below is an example of a configuration using multiple servers and URLs using path template expressions.
"servers": [
{
"description": "The s3 multi-region endpoint",
"url": "https://s3.{region}.amazonaws.com",
"variables": {
"region": {
"default": "us-east-2",
"description": "The AWS region",
"enum": [
"us-east-1",
"us-east-2",
"us-west-1",
"us-west-2"
]
}
}
},
{
"description": "The s3 multi-region endpoint",
"url": "https://s3.{region}.amazonaws.com",
"variables": {
"region": {
"default": "us-east-1",
"description": "The AWS region",
"enum": [
"us-east-1",
"us-east-2",
"us-west-1",
"us-west-2"
]
}
}
}
]
The resulting URL used in the service configuration will be the following:
https://s3.us-east-2.amazonaws.com/
This URL result was determined by taking the first server listed in the array and applying the default variable values to the template URL. Again, this URL can be edited in the service configuration after the Integration is created.
Swagger and OpenAPI Support
Swagger 2.0 and OpenAPI 3.0 are currently supported for creating an Integration Model. A Swagger 2.0 document is converted to an OpenAPI 3 document on import. All OpenAPI 3.0 documents must conform to the OpenAPI v3.0 Specification.