list Api OAS

GET {{baseUrl}}/tyk/apis/oas/:apiID?mode=<string>

Get API definition in OAS format Only if used without the Tyk Dashboard

Request Params

KeyDatatypeRequiredDescription
modestringMode of OAS get, by default mode could be empty which means to get OAS spec including OAS Tyk extension.
When mode=public, OAS spec excluding Tyk extension will be returned in the response

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;status&quot;:&quot;\u003cstring\u003e&quot;,&quot;message&quot;:&quot;\u003cstring\u003e&quot;,&quot;schema&quot;:&quot;\u003cstring\u003e&quot;}