microsoft / vscode-apimanagement

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

Error using 'Import from OpenAPI link' #214

Open dallyhorton opened 3 years ago

dallyhorton commented 3 years ago

Following along with Tutorial: Use the API Management Extension for Visual Studio Code to import and manage APIs

Does this occur consistently? Yes Repro steps:

  1. Right click Import from OpenAPI link
  2. Paste in URL (in this case https://conferenceapi.azurewebsites.net?format=json)
  3. Error appears: "a.trim is not a function"

Action: azureApiManagement.importOpenApiByLink Error type: TypeError Error Message: a.trim is not a function

Version: 1.0.2 OS: darwin OS Release: 20.4.0 Product: Visual Studio Code Product Version: 1.56.2 Language: en

Call Stack ``` Object. extension.bundle.js:611:6457 fulfilled extension.bundle.js:611:4706 processTicksAndRejections task_queues.js:93:5 ```
quanterion commented 1 year ago

Thanks for reporting. The issue was solved in 1.06