microsoft / vscode-apimanagement

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

Failed to create API by importing from openapi file #271

Open derodriguezat opened 1 year ago

derodriguezat commented 1 year ago

Does this occur consistently? Yes Repro steps:

  1. Open Visual Studio Code
  2. Navigate to Azure Extensions -> API Management
  3. Expand one node of the apim services
  4. Right click on APIS and then select "Import from OpenAPI file"

Action: azureApiManagement.importOpenApiByFile Error type: Error Error Message: Cannot read properties of undefined (reading 'length')

Version: 1.0.5 OS: win32 OS Release: 10.0.22000 Product: Visual Studio Code Product Version: 1.72.2 Language: de

Call Stack ``` extension.bundle.js:611:9508extension.bundle.js:611:9508 rejected extension.bundle.js:611:7681 ```