-
Notifications
You must be signed in to change notification settings - Fork 239
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
Critical error generating HTTP #6268
Comments
Hey @mikekistler, you need to pass |
@Onokaev I tried adding
|
Can you try to delete any files that might exist in |
Same result:
|
There's a bug with the generation. We'll fix it and share an update here. |
What are you generating using Kiota, clients or plugins?
API Client/SDK
In what context or format are you using Kiota?
Nuget tool
Client library/SDK language
None
Describe the bug
I am trying to generate HTTP snippets for the Catalog.API in eShop. Here's what happens
Not sure what it's complaining about here, but api-version is a parameter on every operation.
Expected behavior
The API description is valid (no errors reported by Spectral validator) so I would expect no critical errors from Kiota.
I would also expect much better information about the error. The message displayed by Kiota gives me no clue about why this is a problem or how I would fix it.
How to reproduce
Clone the eShop repo and run the kiota command I showed above from the root of the repo.
Open API description file
Catalog.API_v2.json
Kiota Version
1.24.0+938d45efe40350345da733b1025af0cdaf31eea7
Latest Kiota version known to work for scenario above?(Not required)
No response
Known Workarounds
No response
Configuration
-OS: MacOS Sequoia 15.3 on Apple M1 MacBook
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: