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

Skip response validation option #667

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

p1c2u
Copy link
Collaborator

@p1c2u p1c2u commented Sep 15, 2023

response_cls (OPENAPI_RESPONSE_CLS in Django) set to None skips response validation.

Fixes #662

@p1c2u p1c2u force-pushed the feature/skip-response-validation-option branch from 469bbf6 to a863e8f Compare September 15, 2023 15:13
@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Merging #667 (a863e8f) into master (1b688bb) will decrease coverage by 0.03%.
The diff coverage is 92.30%.

@@            Coverage Diff             @@
##           master     #667      +/-   ##
==========================================
- Coverage   90.84%   90.82%   -0.03%     
==========================================
  Files         123      123              
  Lines        3463     3475      +12     
  Branches      423      427       +4     
==========================================
+ Hits         3146     3156      +10     
- Misses        266      267       +1     
- Partials       51       52       +1     
Files Changed Coverage Δ
openapi_core/contrib/falcon/middlewares.py 95.83% <77.77%> (-4.17%) ⬇️
openapi_core/contrib/django/middlewares.py 95.65% <100.00%> (+0.53%) ⬆️
openapi_core/contrib/flask/__init__.py 100.00% <100.00%> (ø)
openapi_core/contrib/flask/decorators.py 100.00% <100.00%> (ø)

@p1c2u p1c2u merged commit d7d1fac into master Sep 15, 2023
14 of 15 checks passed
@p1c2u p1c2u deleted the feature/skip-response-validation-option branch September 15, 2023 15:21
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.

[Bug]: FlaskOpenAPIView no longer supports custom response validator
1 participant