OpenAPIValidators icon indicating copy to clipboard operation
OpenAPIValidators copied to clipboard

fix: #226 Support default response status

Open ad-walker opened this issue 3 years ago • 1 comments

Issue/feature request: https://github.com/openapi-library/OpenAPIValidators/issues/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

ad-walker avatar Mar 02 '22 21:03 ad-walker

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.

codecov[bot] avatar Mar 29 '22 10:03 codecov[bot]