From d59857e21bbd3a464e40bb0be1da5692d3e3924c Mon Sep 17 00:00:00 2001 From: Ashal aka JOKER Date: Mon, 7 Apr 2025 16:28:46 +0900 Subject: [PATCH] =?UTF-8?q?=EC=83=9D=EC=84=B1=20=EC=84=B1=EA=B3=B5?= =?UTF-8?q?=EC=9D=80=20201=20Created=EB=A1=9C=20=EC=9D=91=EB=8B=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 티켓, 댓글 생성에 성공했을 때 HTTP Response Status Code를 200이 아니라 201 Created로 응답하도록 변경. --- tickets/openapi.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tickets/openapi.yaml b/tickets/openapi.yaml index 05fcc49..dae4284 100644 --- a/tickets/openapi.yaml +++ b/tickets/openapi.yaml @@ -69,7 +69,7 @@ paths: title: New Ticket description: This is a new ticket. responses: - "200": + "201": description: 티켓 생성 성공 content: application/json: @@ -256,7 +256,7 @@ paths: example: content: This is the first comment. responses: - "200": + "201": description: 댓글 생성 성공 content: application/json: