Skip to content

Commit 0dc9ec4

Browse files
committedFeb 3, 2024
[#34] docs: 주간 종합 점수 순위 기능 관련 API 문서 최신화
1 parent f72076e commit 0dc9ec4

File tree

3 files changed

+89
-0
lines changed

3 files changed

+89
-0
lines changed
 

‎docs/docs.go

+34
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,40 @@ const docTemplate = `{
126126
}
127127
}
128128
},
129+
"/analysis/rank": {
130+
"get": {
131+
"security": [
132+
{
133+
"Bearer": []
134+
}
135+
],
136+
"description": "로그인한 사용자의 자세 추정 결과를 통해 해당 사용자가 상위 몇 %인지 조회합니다.",
137+
"consumes": [
138+
"application/json"
139+
],
140+
"produces": [
141+
"application/json"
142+
],
143+
"tags": [
144+
"Reports"
145+
],
146+
"summary": "내가 상위 몇 %인지 조회 (나이대 및 성별에 따른)",
147+
"responses": {
148+
"200": {
149+
"description": "OK",
150+
"schema": {
151+
"$ref": "#/definitions/global.Response"
152+
}
153+
},
154+
"400": {
155+
"description": "Bad Request",
156+
"schema": {
157+
"$ref": "#/definitions/global.Response"
158+
}
159+
}
160+
}
161+
}
162+
},
129163
"/analysis/summary": {
130164
"get": {
131165
"security": [

‎docs/swagger.json

+34
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,40 @@
115115
}
116116
}
117117
},
118+
"/analysis/rank": {
119+
"get": {
120+
"security": [
121+
{
122+
"Bearer": []
123+
}
124+
],
125+
"description": "로그인한 사용자의 자세 추정 결과를 통해 해당 사용자가 상위 몇 %인지 조회합니다.",
126+
"consumes": [
127+
"application/json"
128+
],
129+
"produces": [
130+
"application/json"
131+
],
132+
"tags": [
133+
"Reports"
134+
],
135+
"summary": "내가 상위 몇 %인지 조회 (나이대 및 성별에 따른)",
136+
"responses": {
137+
"200": {
138+
"description": "OK",
139+
"schema": {
140+
"$ref": "#/definitions/global.Response"
141+
}
142+
},
143+
"400": {
144+
"description": "Bad Request",
145+
"schema": {
146+
"$ref": "#/definitions/global.Response"
147+
}
148+
}
149+
}
150+
}
151+
},
118152
"/analysis/summary": {
119153
"get": {
120154
"security": [

‎docs/swagger.yaml

+21
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,27 @@ paths:
154154
summary: 자세 추정 결과 전체 조회 (테스트용)
155155
tags:
156156
- Reports
157+
/analysis/rank:
158+
get:
159+
consumes:
160+
- application/json
161+
description: 로그인한 사용자의 자세 추정 결과를 통해 해당 사용자가 상위 몇 %인지 조회합니다.
162+
produces:
163+
- application/json
164+
responses:
165+
"200":
166+
description: OK
167+
schema:
168+
$ref: '#/definitions/global.Response'
169+
"400":
170+
description: Bad Request
171+
schema:
172+
$ref: '#/definitions/global.Response'
173+
security:
174+
- Bearer: []
175+
summary: 내가 상위 몇 %인지 조회 (나이대 및 성별에 따른)
176+
tags:
177+
- Reports
157178
/analysis/summary:
158179
get:
159180
consumes:

0 commit comments

Comments
 (0)
Please sign in to comment.