diff --git a/openapi.yaml b/openapi.yaml index 4e018bd..d9783f1 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -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: @@ -280,7 +305,7 @@ paths: items: $ref: '#/components/schemas/Location' '404': - $ref: '#/components/responses/NotFound' + $ref: '#/components/responses/NotFound' '500': $ref: '#/components/responses/InternalServerError'