Skip to content

Added fix for if no request body or parameters - #16

Merged
brendo merged 2 commits into
temando:masterfrom
stream-monkey:feature/fix-request-model
Jan 18, 2018
Merged

Added fix for if no request body or parameters#16
brendo merged 2 commits into
temando:masterfrom
stream-monkey:feature/fix-request-model

Conversation

@chrisgerrish

Copy link
Copy Markdown
Contributor

No description provided.

@brendo

Copy link
Copy Markdown
Contributor

This PR is fine, but the bump of jst has caused an error in CI.

It's actually an error with the types of jst, so I've raised a PR jdwije/jst#8 to resolve.

Once that lands, this PR can be accepted as is (and we'll do the update), or the PR can bump the dependency to beta.14 (assuming).

@brendo
brendo merged commit 630b399 into temando:masterJan 18, 2018
@cvetandcvetand mentioned this pull request Jun 5, 2018
@David-SellenDavid-Sellen mentioned this pull request Jul 11, 2018
@jkon

jkon commented Sep 26, 2018

Copy link
Copy Markdown

This PR introduced a bug which I detailed in issue #32 . The added if statements are checking the wrong object. They should be checking the documentationConfig, not the operationObj. The way this PR changed things, it totally ignores request bodies and path parameters

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@chrisgerrish@brendo@jkon