Undetectable Spectacular error on MoveSelection operation ID override
Using @extend_schema(operation_id=…)
on a view class without @extend_schema_view([http method]=extend_schema(operation_id=…))
results in a Spectacular error, made even more spectacular by the fact that it is undetectable in CI, since it gets thrown before any manage.py
command can run and will never be thrown ever again. I do remember getting this type of error properly when initially adding Spectacular on this project
The MoveSelection
endpoint is using this parameter, which is currently harmless because it is in the very specific case where this does not cause an issue, but this error still shows up and it can easily be fixed.
Upstream issue for the invisible error: https://github.com/tfranzel/drf-spectacular/issues/702
Edited by Erwan Rouchet