Skip to content

Commit

Permalink
sampling/estimationのpost/deteleののレスポンスコード200を201,204に変更
Browse files Browse the repository at this point in the history
  • Loading branch information
n-kakuko authored Oct 9, 2024
1 parent ff72532 commit fed5deb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/oqtopus_cloud/user/routers/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def get_sampling_task(
@router.delete(
"/tasks/sampling/{taskId}",
status_code=status.HTTP_204_NO_CONTENT,
response_model=SuccessResponse,
response_model=None,
responses={400: {"model": Detail}, 404: {"model": Detail}, 500: {"model": Detail}},
)
@tracer.capture_method
Expand Down Expand Up @@ -771,7 +771,7 @@ def get_estimation_task(
@router.delete(
"/tasks/estimation/{taskId}",
status_code=status.HTTP_204_NO_CONTENT,
response_model=SuccessResponse,
response_model=None,
responses={400: {"model": Detail}, 404: {"model": Detail}, 500: {"model": Detail}},
)
@tracer.capture_method
Expand Down

0 comments on commit fed5deb

Please sign in to comment.