-
Notifications
You must be signed in to change notification settings - Fork 128
Fixed if-statement #24
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
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.
This should be:
if (documentationConfig.queryParams || documentationConfig.pathParams || documentationConfig.cookieParams || documentationConfig.requestHeaders)
However, the if statement shouldn't be needed in this piece of code, when none of these parameters are present, it will continue at line 179
of DefinitionGenerator.ts
.
kzhou57
commented
Aug 9, 2018
Tested it, it doesn't sound working. PR #27 doesn't work either
See #27
Hi! Fixed if-statement related to #16 since it caused parameters and request bodies to be ignored.