-
Notifications
You must be signed in to change notification settings - Fork 764
Change how parameter values are resolved #1115
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
Conversation
…ined so that it comes directly from the parameter
…, then fallback to parameter.default value
|
The signature change seems like an issue. I'd expect the |
|
I agree with the above. My suggestion:
We used a similar approach when refactoring some operationId code a couple of months ago (minus the warning hint). |
… format for parameter values.
… into bug/swagger-ui-3511
…ge for user when buildRequest is passed an ambiguous parameter.
…wagger-ui-3511 # Conflicts: # src/execute.js
shockey
left a comment
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.
I like the type.name style 😄
Code looks good, there are new tests, and no existing tests were modified or broken.
Approved!
Additional fix that needs to go along with swagger-api/swagger-ui#3516 to fix swagger-api/swagger-ui#3511.
Change
swagger-jsto resolve parameter values based onparameter.nameplusparameter.in.I believe this changes public APIs such as:
becomes:
All the tests should be passing now, but I'd still appreciate manual verification that the solution is working as intended.