Hi
I have a question regarding the import of an OpenAPI definition.
If I import an OpenAPI definition with the following request:
POST somehost/tyk/apis/oas/import?allowList=true&listenPath=/api/
X-Tyk-Authorisation: foo
< ./api-openapi-schema-v3.json
Then two files are created in the apps folder, e.g.
383dc712e64a4717bc9524e8602e28b0.json
383dc712e64a4717bc9524e8602e28b0-oas.json
The file 383dc712e64a4717bc9524e8602e28b0-oas.json contains the Tyk OAS API definition.
The file 383dc712e64a4717bc9524e8602e28b0.json contains the Tyk Classic API definition.
The file 383dc712e64a4717bc9524e8602e28b0.json has a property: “is_oas”: true
Why are two files created here? I can’t find anything about this in the documentation.
I would be pleased if someone could provide me with an explanation.
Thank you very much!