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

Error with parameter names have "-" #29

Closed
lscalese opened this issue Jul 8, 2022 · 2 comments
Closed

Error with parameter names have "-" #29

lscalese opened this issue Jul 8, 2022 · 2 comments

Comments

@lscalese
Copy link
Owner

lscalese commented Jul 8, 2022

Problem encountered by Theo Stolker.
See community comments here

" but it failed, because parameter names have "-" characters, and these cannot be part of a Property name. Therefore I extended the name() Class method to also have the "-":"

Swagger file to test is available here

@lscalese
Copy link
Owner Author

Root cause found.
This is a problem with parameters containing "-" in the path, ex :

/1/user/-/foods/log/water/{water-log-id}.json

A fix will be applied to manage this case.

@lscalese
Copy link
Owner Author

Fixed in version 1.4.2

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