Skip to content

Move unmarshal out of schema models #188

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

Merged
merged 1 commit into from
Feb 2, 2020

Conversation

p1c2u
Copy link
Collaborator

@p1c2u p1c2u commented Feb 2, 2020

  • Deprecated validate_parameters , validate_body and validate_data shortcuts
  • get rid of InvalidMediaTypeValue and InvalidParameterValue exceptions from unmarshalling process. Now it returns original InvalidSchemaValue exception

@p1c2u p1c2u force-pushed the refactor/move-unmarshal-out-of-schema-models branch from b61a21b to 3f74426 Compare February 2, 2020 22:56
@codecov
Copy link

codecov bot commented Feb 2, 2020

Codecov Report

Merging #188 into master will decrease coverage by 1.12%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #188      +/-   ##
==========================================
- Coverage   97.14%   96.01%   -1.13%     
==========================================
  Files          97       97              
  Lines        1924     1958      +34     
==========================================
+ Hits         1869     1880      +11     
- Misses         55       78      +23     
Impacted Files Coverage Δ
openapi_core/compat.py 55.55% <0.00%> (-44.45%) ⬇️
openapi_core/validation/request/shortcuts.py 79.48% <0.00%> (-17.29%) ⬇️
openapi_core/validation/response/shortcuts.py 84.21% <0.00%> (-15.79%) ⬇️
openapi_core/schema_validator/_format.py 90.78% <0.00%> (-1.32%) ⬇️

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 991c586...3f74426. Read the comment docs.

@p1c2u p1c2u merged commit b003ccc into master Feb 2, 2020
@p1c2u p1c2u deleted the refactor/move-unmarshal-out-of-schema-models branch February 2, 2020 23:59
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