-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API Center client VSCode generation disabled in 1.22.100000002 #6004
Comments
Hi @Justrebl , If I understand correctly, the buttons are greyed out/disabled? Does changing the selection change their status? |
Also, with this reproduction can you confirm:
Thanks! |
Hi @baywet, Your understanding is correct, button greyed out, no option to validate the operations selection and trigger the API client creation. I indeed have a folder opened (same behavior with a .vscode-workspace opened) and no .kiota dir at root. And the same setup works fine after rollback to 1.21 and following the exact same steps. |
What are you generating using Kiota, clients or plugins?
API Client/SDK
In what context or format are you using Kiota?
Windows executable
Client library/SDK language
None
Describe the bug
Hello,
Kiota 1.22.10x2 VSCode extension doesn't seem to be able to generate API Client anymore from an API Center OpenAPI spec :
Tested this scenario with VS Code from a project folder in Windows, and a remote connection to a WSL project.
Works fine in 1.21.x
Expected behavior
From an OpenAPI Spec definition in the VS Code API Center extension, right-click on the OpenAPI spec and click "Generate API Client".
The Kiota VSCode Extension opens and lists the available operations in the OpenAPI Spec.
After selected them, click on the double arrow option to "generate" the api client by selecting the expected language.
How to reproduce
From an OpenAPI Spec definition in the VS Code API Center extension, right-click on the OpenAPI spec and click "Generate API Client".
The Kiota VSCode Extension opens and lists the available operations in the OpenAPI Spec.
From 1.22.x
The double arrow to generate the API is grayed out and disabled.
Open API description file
It can be with any openapi spec file.
Kiota Version
1.22.100000002
Latest Kiota version known to work for scenario above?(Not required)
1.21.100000001
Known Workarounds
Rollback to a working version
Configuration
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: