Closed matiucarr closed 6 years ago
Yep. That seems like a bug. (Wondering about test coverage there...)
@matiucarr If you're up for it we'd happily see a PR (with a small failing test) to address this.
Thanks for the report!
@carltongibson I've created a PR with a test and a fix here: #5613 Let me know if that test makes sense in your opinion.
Thanks @D3X!
Checklist
master
branch of Django REST framework.Steps to reproduce
Expected behavior
Filter options should render under the appropriate method in swagger, etc.
Actual behavior
a fix
override action in the view class -this is silly but provided a clue
change line 371 of restframework/schemas/inspectors.py to actually generate a lower case version of the method:
change
to