Skip to content
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

OData v4 TripIn conversion semantic error #149

Open
MartinPankraz opened this issue Feb 3, 2022 · 0 comments
Open

OData v4 TripIn conversion semantic error #149

MartinPankraz opened this issue Feb 3, 2022 · 0 comments

Comments

@MartinPankraz
Copy link

MartinPankraz commented Feb 3, 2022

The v4 example cannot be converted to a proper swagger definition using the Oasis converter.

Find the service metadata here: https://services.odata.org/V4/TripPinServiceRW/$metadata

It fails validation on editor.swagger.io with

Semantic error at paths./People('{UserName}')/Microsoft.OData.SampleService.Models.TripPin.GetFriendsTrips(userName='{userName}')
Parameter names are case-sensitive. The parameter named "userName" does not match the case used in the path "/People('{UserName}')/Microsoft.OData.SampleService.Models.TripPin.GetFriendsTrips(userName='{userName}')".
[Jump to line 402]()

Would be great to get perspective where this needs to be addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant