-
Notifications
You must be signed in to change notification settings - Fork 299
implement DjangoFilterBackend.get_schema_operation_parameters #646
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
implement DjangoFilterBackend.get_schema_operation_parameters #646
Conversation
a148ef4
to
828e59c
Compare
Codecov Report
@@ Coverage Diff @@ ## master #646 +/- ## ========================================== - Coverage 96.15% 95.81% -0.35% ========================================== Files 57 58 +1 Lines 2889 2913 +24 ========================================== + Hits 2778 2791 +13 - Misses 111 122 +11
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@ ## master #646 +/- ## ========================================== - Coverage 96.15% 95.93% -0.23% ========================================== Files 57 56 -1 Lines 2889 2879 -10 ========================================== - Hits 2778 2762 -16 - Misses 111 117 +6
Continue to review full report at Codecov.
|
I'm going to cancel this PR as I'm close to submitting a more complete openapi generateschema PR and will incorporate this related code there.
Uh oh!
There was an error while loading. Please reload this page.
Fixes #644
Description of the Change
Implements filter backend functionality required by DRF 3.9+
generateschema
management command. Eventually this can extend django-filter's implementation, if and when carltongibson/django-filter#1086 is merged, but it's small enough to stand on its own.See #604 for more stuff still needed but it shouldn't hurt to merge this now. It will at least prevent an exception from being raised if someone tries to
generateschema
although the output will not be correct until the rest of #604 is done.Checklist
CHANGELOG.md
updated (only for user relevant changes)AUTHORS