Skip to content

Commit

Permalink
🩹 인증 μ˜ˆμ™Έμ‘λ‹΅ 리뷰 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
waterfogSW committed Oct 9, 2024
1 parent 7d29ff4 commit b16a4be
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,6 @@ paths:
$ref: '#/components/schemas/GetMyUserInfoResponse'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'500':
$ref: '#/components/responses/InternalServerError'

Expand Down Expand Up @@ -363,32 +361,24 @@ components:
message: "λ¦¬μ†ŒμŠ€λ₯Ό 찾을 수 μ—†μŠ΅λ‹ˆλ‹€."

Unauthorized:
description: 토큰 만료
description: 인증 μ‹€νŒ¨ (토큰 만료 λ˜λŠ” μœ νš¨ν•˜μ§€ μ•Šμ€ 토큰)
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
unauthorized:
tokenExpired:
value:
time: "2024-05-01T00:00:00Z"
type: "AUTH"
code: "1001"
message: "인증에 μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€."

Forbidden:
description: κΆŒν•œ μ—†μŒ
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
forbidden:
message: "토큰이 λ§Œλ£Œλ˜μ—ˆμŠ΅λ‹ˆλ‹€."
invalidToken:
value:
time: "2024-05-01T00:00:00Z"
type: "AUTH"
code: "1002"
message: "토큰이 λ§Œλ£Œλ˜μ—ˆμŠ΅λ‹ˆλ‹€."
message: "μœ νš¨ν•˜μ§€ μ•Šμ€ ν† ν°μž…λ‹ˆλ‹€."

InternalServerError:
description: μ„œλ²„ 였λ₯˜
Expand Down

0 comments on commit b16a4be

Please sign in to comment.