Quickest way to copy an API?


The interactive docs for my API communicate with a live API endpoint through the Mulesoft proxy. I do not want to turn the mocking service on, because developers need to reach the live endpoint.

I would like to maintain a copy of the API that always has the mocking service on.

So the question arises: What’s the quickest way to copy the API?

Right now, the quickest way I can see is to export the API definition, then copy-and-paste the files one by one into a new API definition. Is this the only way, or am I missing something?

I was thinking there might be an “import” feature somewhere in the API Designer … apparently not, for now at least.

On the other hand, maybe I need to learn to use an Anypoint API to do this?