Skip to content

Added fix for if no request body or parameters#16

Merged
brendo merged 2 commits intotemando: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 intotemando:masterfrom
stream-monkey:feature/fix-request-model

Conversation

@chrisgerrish
Copy link
Copy Markdown
Contributor

No description provided.

@brendo
Copy link
Copy Markdown
Contributor

brendo commented Oct 31, 2017

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:master Jan 18, 2018
@David-Sellen David-Sellen mentioned this pull request Jul 11, 2018
@jkon
Copy link
Copy Markdown

jkon commented Sep 26, 2018

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 free to 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