microsoft / vscode-apimanagement

VS Code extension for Azure API Management.
MIT License
60 stars 39 forks source link

Can't import the template extracted from API Management extension #221

Open nobspulsar opened 3 years ago

nobspulsar commented 3 years ago

Hi Team,

I know we could import an Open API doc using the API Management extension. Please suggest a way or is it possible to import an extracted template to another APIM. I'm looking for an option to extract the APIs using Extract API option (a source location), then import the extracted template to destination APIM?

Please suggest me

Note : Apologize if the question is dumb.

Error when I tried to do import the json file extracted through extract API option.

Action: azureApiManagement.importOpenApiByFile Error type: Error Error Message: Could not parse the OpenAPI document.

Version: 1.0.2 OS: win32 OS Release: 10.0.19042 Product: Visual Studio Code Product Version: 1.57.1 Language: en

Call Stack ``` extension.bundle.js:611:6624extension.bundle.js:611:6624 rejected extension.bundle.js:611:4767 ```