You can use this endpoint to update Tyk OAS part of the Tyk API definition. This endpoint allows you to configure Tyk OAS extension based on query params provided(similar to import).
Api key
ID of the API you want to fetch.
Upstream URL for the API
Listen path for the API
Custom domain for the API
Enable allowList middleware for all endpoints
true, false true
Enable validateRequest middleware for all endpoints having a request body with media type application/json
true, false true
Enable mockResponse middleware for all endpoints having responses configured.
true, false true
Enable/disable the authentication mechanism in your Tyk Gateway for your OAS API
true, false true
The body is of type object.