Skip to content

Commit

Permalink
✨ 프로필 위젯 삭제 API (#32)
Browse files Browse the repository at this point in the history
* ✨ 프로필 위젯 삭제 API

* 🩹 리뷰반영

* 🩹 리뷰반영
  • Loading branch information
waterfogSW authored Nov 11, 2024
1 parent 2214f58 commit aba707b
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,31 @@ paths:
$ref: '#/components/responses/Unauthorized'
'500':
$ref: '#/components/responses/InternalServerError'
/users/profileWidgets/{type}:
delete:
summary: 프로필 위젯 삭제
description: 현재 사용자의 프로필 위젯을 삭제합니다.
tags:
- users
operationId: deleteProfileWidget
security:
- BearerAuth: [ ]
parameters:
- in: path
name: type
required: true
schema:
$ref: '#/components/schemas/ProfileWidgetType'
description: 삭제할 프로필 위젯 타입
responses:
'204':
description: 프로필 위젯 삭제 성공
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'500':
$ref: '#/components/responses/InternalServerError'

/auth/token/refresh:
post:
Expand Down Expand Up @@ -280,7 +305,7 @@ paths:
items:
$ref: '#/components/schemas/Location'
'404':
$ref: '#/components/responses/NotFound'
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/InternalServerError'

Expand Down

0 comments on commit aba707b

Please sign in to comment.