From 403c9e7072dde334179ef8b96555e4ee29eaf8f8 Mon Sep 17 00:00:00 2001 From: San Kim Date: Mon, 11 Nov 2024 20:19:45 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=ED=94=84=EB=A1=9C=ED=95=84=20?= =?UTF-8?q?=EC=9C=84=EC=A0=AF=20=EC=82=AD=EC=A0=9C=20API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openapi.yaml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/openapi.yaml b/openapi.yaml index 4e018bd..27e5a88 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -211,6 +211,30 @@ paths: $ref: '#/components/responses/Unauthorized' '500': $ref: '#/components/responses/InternalServerError' + delete: + summary: 프로필 위젯 삭제 + description: 현재 사용자의 프로필 위젯을 삭제합니다. + tags: + - users + operationId: deleteProfileWidget + security: + - BearerAuth: [ ] + parameters: + - in: query + 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: @@ -280,7 +304,7 @@ paths: items: $ref: '#/components/schemas/Location' '404': - $ref: '#/components/responses/NotFound' + $ref: '#/components/responses/NotFound' '500': $ref: '#/components/responses/InternalServerError'