Skip to content

Commit d58db49

Browse files
authored
생성 성공은 201 Created로 응답 (#13)
티켓 또는 댓글 생성에 성공했을 때 HTTP Response Status Code를 `200 OK`가 아니라 `201 Created`로 응답하도록 수정.
1 parent c7d5332 commit d58db49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tickets/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ paths:
6969
title: New Ticket
7070
description: This is a new ticket.
7171
responses:
72-
"200":
72+
"201":
7373
description: 티켓 생성 성공
7474
content:
7575
application/json:
@@ -256,7 +256,7 @@ paths:
256256
example:
257257
content: This is the first comment.
258258
responses:
259-
"200":
259+
"201":
260260
description: 댓글 생성 성공
261261
content:
262262
application/json:

0 commit comments

Comments
 (0)