Authorizations
The Tyk Dashboard API Access Credentials
Headers
Content type of the imported document. If Content-Type header is empty, it's assumed that Content-Type is application/json.
application/json
, application/x-yaml
Query Parameters
Upstream URL for the API.
Listen path for the API.
Custom domain for the API.
Enable allowList middleware for all endpoints.
true
Enable validateRequest middleware for all endpoints having a request body with media type application/json.
true
Enable mockResponse middleware for all endpoints having responses configured.
true
Enable/disable the authentication mechanism in your Tyk Gateway for your OAS API.
true
The Asset ID of template applied while creating or importing an OAS API.
The base API which the new version will be linked to.
The version name of the base API while creating the first version. This doesn't have to be sent for the next versions but if it is set, it will override base API version name.
The version name of the created version.
If true, the new version is set as default version.
Body
The content of the file should be the OpenAPI document in JSON or YAML format (without x-tyk-api-gateway extension).