Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 42 additions & 1 deletion src/main/resources/static/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

],
"paths": {
"/auth": {
"/auth/login": {
"post": {
"tags": ["Auth"],
"summary": "카카오 로그인",
Expand Down Expand Up @@ -78,6 +78,47 @@
}
}
},
"/auth": {
"delete": {
"tags": ["Auth"],
"summary": "회원 탈퇴",
"description": "해당 유저의 가입을 탈퇴합니다.",
"parameters": [
{
"name": "Authorization",
"in": "header",
"required": true,
"description": "Bearer 액세스 토큰을 입력하세요.",
"schema": {
"type": "string",
"example": "Bearer {accessToken}"
}
}
],
"responses": {
"200": {
"description": "회원 탈퇴 성공",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Message"
}
}
}
},
"400": {
"description": "회원 탈퇴 실패",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/write": {
"post": {
"tags": ["Write"],
Expand Down