Importing Swagger 2.0 using REST API?

Hi, how do I import an existing swagger.json from a running service into Tyk via REST API?

Hi Victor, are you using Tyk Community Edition?

Yes we are. Will that affect our ability to import?

Using the Tyk Community Edition it’s only possible to import a Swagger file through the CLI.

Is there documentation for importing through the REST API for the non-community version?

We have just added a docs page on this: