Patch a single OAS API by ID.
Update a Tyk OAS API.
With application/json, application/x-yaml or multipart/form-data, replace the
OpenAPI description and configure x-tyk-api-gateway from the query parameters,
as on import. A body containing x-tyk-api-gateway is rejected.
With application/merge-patch+json, apply an RFC 7396 JSON Merge Patch to the
unresolved definition a GET returns. null removes a key and arrays are replaced
whole. The result is validated and saved as a PUT would be. Send If-Match to make
the update conditional; without it, a patch that races another write is retried up
to five times.
Fragment references are patched whole: swap one with {"$ref": "fragment://<id>"},
detach it with {"$ref": null, ...} or remove it with null. Patching inside one
returns 409.
Headers
Query Parameters
Body
The content of the file should be the OpenAPI document in JSON or YAML format.
The body is of type object.