Skip to content
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

fix: #226 Support default response status #271

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ad-walker
Copy link

Issue/feature request: #226

  • default response status when provided will catch unspecified response codes
  • Updated tests and error messages
  • Incremented port number of exampleApp to 5001 to avoid UPNP conflicts
  • Changes to issues template applied by linter

cc: @rwalle61 based on comments re: original issue

- Minor change to use `default` if specific status code is not found is not found in responses
- Updated tests and error messages
- Incremented port number of exampleApp to 5001 to avoid UPNP conflicts
@ad-walker ad-walker changed the title Fix #226: Support default response status fix: #226 Support default response status Mar 2, 2022
@codecov
Copy link

codecov bot commented Mar 29, 2022

Codecov Report

Merging #271 (3c88cbd) into master (9511b66) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #271   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           17        17           
  Lines          418       419    +1     
  Branches        63        65    +2     
=========================================
+ Hits           418       419    +1     
Impacted Files Coverage Δ
...ages/jest-openapi/src/matchers/toSatisfyApiSpec.ts 100.00% <ø> (ø)
...enapi-validator/lib/classes/AbstractOpenApiSpec.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9511b66...3c88cbd. Read the comment docs.

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.

None yet

1 participant