-
Notifications
You must be signed in to change notification settings - Fork 221
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
kiota 1.9.0 behaves strangely when generating for try.gitea swagger.v1.json #3901
Comments
Hi everyone, |
Hi @ramsessanchez & @baywet, I've just tried with
|
yes, the parameters will still be renamed to avoid conflicts, but the parameter serialization name is now also corrected in the generated code. That was the main problem for requests failing in some cases:
let us know if you still see mis-alignment in the generated code. |
When I run:
For version
1.8.2
I get this:For version
1.9.0
I get this:The notable thing here is that
1.9.0
seems to invent path parameters{repos-id}
and{Owner-id}
, which are not defined in theswagger.v1.json
This gives problems with path parameters not mapping correctly to the URL template when using the generated library, since the template will reference these invented parameters, but the path parameters are set correctly (to
owner
andrepo
), so it will generate request strings like...///...
as opposed to.../some-owner/some-repo/...
The text was updated successfully, but these errors were encountered: