generated from peter-evans/swagger-github-pages
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: /ranking/in_organization /ranking/arena_in_organization
- Loading branch information
Showing
3 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using TypeSpec.Http; | ||
using TypeSpec.OpenAPI; | ||
|
||
namespace SolvedAC; | ||
|
||
/** | ||
* 해당 단체에 속한 사용자 중에서 아레나 레이팅이 높은 사용자가 먼저 오도록 정렬한 목록을 가져옵니다. | ||
* | ||
* @return | ||
* 페이지네이션 가능한 사용자 목록을 반환합니다. | ||
*/ | ||
@summary("아레나 레이팅 순 단체 내 랭킹 가져오기") | ||
@tag("ranking") | ||
@get | ||
@route("/ranking/arena_in_organization") | ||
op getArenaInOrganizationRankingByACRating( | ||
/** | ||
* 단체 ID | ||
*/ | ||
@query | ||
organizationId: uint32, | ||
|
||
/** | ||
* 페이지 | ||
*/ | ||
@query | ||
page?: uint32, | ||
): GetArenaInOrganizationRankingByACRating.Ok; | ||
|
||
namespace GetArenaInOrganizationRankingByACRating { | ||
@extension(XInternal, true) | ||
model Ok { | ||
@statusCode status: 200; | ||
@body data: PaginatedList<User>; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using TypeSpec.Http; | ||
using TypeSpec.OpenAPI; | ||
|
||
namespace SolvedAC; | ||
|
||
/** | ||
* 해당 단체에 속한 사용자 중에서 문제풀이 레이팅이 높은 사용자가 먼저 오도록 정렬한 목록을 가져옵니다. | ||
* | ||
* @return | ||
* 페이지네이션 가능한 사용자 목록을 반환합니다. | ||
*/ | ||
@summary("문제풀이 레이팅 순 단체 내 랭킹 가져오기") | ||
@tag("ranking") | ||
@get | ||
@route("/ranking/in_organization") | ||
op getInOrganizationRankingByACRating( | ||
/** | ||
* 단체 ID | ||
*/ | ||
@query | ||
organizationId: uint32, | ||
|
||
/** | ||
* 페이지 | ||
*/ | ||
@query | ||
page?: uint32, | ||
): GetInOrganizationRankingByACRating.Ok; | ||
|
||
namespace GetInOrganizationRankingByACRating { | ||
@extension(XInternal, true) | ||
model Ok { | ||
@statusCode status: 200; | ||
@body data: PaginatedList<User>; | ||
} | ||
} |