Skip to content

Add reproducer for openapi-schema-validator#20 #435

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

Closed
wants to merge 2 commits into from

Conversation

stephenfin
Copy link
Contributor

This is the openapi-core counterpart to python-openapi/openapi-schema-validator#55. I'm not sure if this is really needed, since a fix in openapi-schema-validator would fix this. I had it drafted though so I figured I would submit it. Perhaps the tox.ini file is useful?

@codecov
Copy link

codecov bot commented Oct 14, 2022

Codecov Report

Merging #435 (60b2c12) into master (a817d21) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #435   +/-   ##
=======================================
  Coverage   92.88%   92.88%           
=======================================
  Files         100      100           
  Lines        2447     2447           
  Branches      310      310           
=======================================
  Hits         2273     2273           
  Misses        129      129           
  Partials       45       45           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

This is the defacto way to run unit tests for most Python projects. The
tox-poetry extension is used to provide integration with poetry.

Signed-off-by: Stephen Finucane <[email protected]>
This is somewhat undefined behavior [1][2], however, it worked until
openapi-core 0.15.x. Demonstrate this, pending a fix.

[1] https://stackoverflow.com/a/48114924/613428
[2] OAI/OpenAPI-Specification#1368

Signed-off-by: Stephen Finucane <[email protected]>
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.

1 participant