Skip to content

Commit 69a99d9

Browse files
committed
[FEAT] payment swagger 업데이트
1 parent 514cc24 commit 69a99d9

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/common/swagger/payment.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
"post": {
55
"summary": "결제 완료 처리",
66
"description": "아임포트 imp_uid로 결제 검증 후 DB에 결제 내역, 포인트 거래 내역, 최종 포인트를 저장합니다.",
7+
"security": [
8+
{
9+
"bearerAuth": []
10+
}
11+
],
712
"tags": ["Payment"],
813
"requestBody": {
914
"required": true,
@@ -66,6 +71,25 @@
6671
}
6772
}
6873
},
74+
"401": {
75+
"description": "JWT 인증 실패 (Unauthorized)",
76+
"content": {
77+
"application/json": {
78+
"schema": {
79+
"$ref": "#/components/schemas/ErrorResponse"
80+
},
81+
"example": {
82+
"resultType": "FAIL",
83+
"error": {
84+
"errorCode": "AUTH001",
85+
"reason": "유효하지 않은 토큰입니다.",
86+
"data": null
87+
},
88+
"success": null
89+
}
90+
}
91+
}
92+
},
6993
"500": {
7094
"description": "서버 오류",
7195
"content": {

0 commit comments

Comments
 (0)