From c77963039016a240d826a8c599a0c323993b7f35 Mon Sep 17 00:00:00 2001 From: Erwan Rouchet <rouchet@teklia.com> Date: Wed, 17 May 2023 15:20:14 +0200 Subject: [PATCH] Fix Spectacular error on SelectProcessFailures --- arkindex/process/api.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arkindex/process/api.py b/arkindex/process/api.py index efa7b9b7e1..bfd49b13bb 100644 --- a/arkindex/process/api.py +++ b/arkindex/process/api.py @@ -1941,10 +1941,12 @@ class StartTraining(CreateAPIView): ) -@extend_schema( - operation_id='SelectProcessFailures', - tags=['process'], - responses={204: None}, +@extend_schema_view( + post=extend_schema( + operation_id='SelectProcessFailures', + tags=['process'], + responses={204: None}, + ), ) class SelectProcessFailures(ProcessACLMixin, CreateAPIView): """ -- GitLab