-
Notifications
You must be signed in to change notification settings - Fork 234
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
- fixes a bug with path items deduplication #3760
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏼
d1292c0
to
4c668a2
Compare
Kudos, SonarCloud Quality Gate passed! |
@@ -6390,12 +6409,17 @@ public void SinglePathParametersAreDeduplicated() | |||
Assert.NotNull(managerRB); | |||
var managerUrlTemplate = managerRB.FindChildByName<CodeProperty>("UrlTemplate", false); | |||
Assert.NotNull(managerUrlTemplate); | |||
Assert.Equal("{+baseurl}/users/{id}/manager", managerUrlTemplate.DefaultValue.Trim('"')); | |||
Assert.Equal("{+baseurl}/users/{users%2Did}/manager", managerUrlTemplate.DefaultValue.Trim('"')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@baywet after updating to kiota 1.9.0 from preview this is causing a regression
in my swagger file i have: files/{fileid}/dependencies
- this generates template:
{+baseurl}/files/{files%2Did}/dependencies
- when calling
_api.Files[123].Dependencies.GetAsync()
the url template parameters still hasfileid:123
Eventually GET api/files//dependencies
is called and the request fails
Any suggestion for this case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing this. Can you join the conversation at #3901 please?
fixes #3757