Skip to content
Snippets Groups Projects

Fix Spectacular error on SelectProcessFailures

Merged Erwan Rouchet requested to merge fix-selectprocessfailures-spectacular-error into master

When running any manage.py command, the following error appears:

Error #0: using @extend_schema on viewset class SelectProcessFailures with parameters operation_id or operation will most likely result in a broken schema.

This is not causing any error in CI because of a bug in Spectacular that got fixed in a later release that we are not at yet.

This is also not causing any actual trouble because this endpoint only has one HTTP method; it would cause duplicate operation IDs if there was more than just POST.

Merge request reports

Checking pipeline status.

Approval is optional

Merged by Bastien AbadieBastien Abadie 1 year ago (May 22, 2023 7:02am UTC)

Merge details

  • Changes merged into master with c7796303 (commits were squashed).
  • Deleted the source branch.
  • Auto-merge enabled

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading