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
67 changes: 46 additions & 21 deletions src/swagger-output.json
Original file line number Diff line number Diff line change
Expand Up @@ -487,19 +487,19 @@
}
}
},
"/api/articles/count/{keyword}": {
"/api/articles/count/total": {
"get": {
"tags": ["키워드&뉴스"],
"summary": "키워드 별 기사 개수 조회",
"description": "해당 키워드에 대한 기사들의 전체 개수와 각 언론사 별 개수를 제공합니다.",
"summary": "키워드 별 전체 기사 개수 조회",
"description": "",
"parameters": [
{
"name": "keyword",
"in": "path",
"required": true,
"name": "keywords",
"in": "query",
"schema": {
"type": "string"
}
},
"example": "대통령, 트럼프, 정치"
}
],
"responses": {
Expand All @@ -509,28 +509,53 @@
"400": {
"description": "Bad Request"
},
"404": {
"description": "Not Found"
"500": {
"description": "Internal Server Error"
}
}
}
},
"/api/articles/list": {
"get": {
"tags": ["키워드&뉴스"],
"summary": "특정 키워드(들)에 대한 언론사 별 기사 목록 조회 (list?keywords=a,b,c)",
"description": "",
"parameters": [
{
"name": "keywords",
"in": "query",
"schema": {
"type": "string"
},
"example": "대통령, 트럼프, 정치"
}
],
"responses": {
"200": {
"description": "OK"
},
"400": {
"description": "Bad Request"
},
"500": {
"description": "Internal Server Error"
}
}
}
},
"/api/articles/{keyword}": {
"/api/articles/count": {
"get": {
"tags": ["키워드&뉴스"],
"summary": "키워드 별 전체 기사 목록 조회",
"description": "해당 키워드에 대한 모든 기사 목록을 제공합니다.",
"summary": "키워드별 기사 개수 조회 (count?keywords=a,b,c)",
"description": "",
"parameters": [
{
"name": "keyword",
"in": "path",
"required": true,
"name": "keywords",
"in": "query",
"schema": {
"type": "string"
}
},
"example": "대통령, 트럼프, 정치"
}
],
"responses": {
Expand All @@ -549,8 +574,8 @@
"/api/articles/{keyword}/{company}": {
"get": {
"tags": ["키워드&뉴스"],
"summary": "키워드 별 특정 언론사의 기사 목록 조회",
"description": "해당 키워드에 대한 특정 언론사의 기사 목록을 제공합니다.",
"summary":"특정 키워드에 대한 언론사 별 기사 목록 조회",
"description": "",
"parameters": [
{
"name": "keyword",
Expand Down Expand Up @@ -588,8 +613,8 @@
"/api/keywords": {
"get": {
"tags": ["키워드&뉴스"],
"summary": "키워드 목록 조회",
"description": "인기 키워드 50개를 제공합니다.",
"summary": "전체 키워드 50개 조회",
"description": "",
"responses": {
"200": {
"description": "OK"
Expand All @@ -616,4 +641,4 @@
"BearerAuth": []
}
]
}
}