-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add warning, non-204 success response should have response body
- added logic to check for response bodies in non-204 success responses in the oas3 plugin - added a test to check that a non-204 success response without response body generates a warning - added a test to check that multiple non-204 success responses without response bodies generates multiple warnings - updated the README.md to help users resolve potential issue with `npm run link` - fixed API definitions and tests that define a non-204 success without adding a response body - ran `npm run fix` to fix styling issues - updated variable names to be more clear - added to tests to compare expected messages and paths
- Loading branch information
Barrett Schonefeld
committed
Feb 4, 2020
1 parent
384af4c
commit 95c6684
Showing
5 changed files
with
118 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters