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.
- Loading branch information
Showing
6 changed files
with
42 additions
and
46 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
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
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,37 @@ | ||
using TypeSpec.Http; | ||
using TypeSpec.OpenAPI; | ||
|
||
namespace SolvedAC; | ||
|
||
/** | ||
* 문제해결 티어가 높은 사용자가 먼저 오도록 정렬한 사용자 목록을 가져옵니다. | ||
* | ||
* @return | ||
* 페이지네이션 가능한 사용자 목록을 반환합니다. | ||
*/ | ||
@summary("문제해결 티어 순 사용자 랭킹 가져오기") | ||
@tag("ranking") | ||
@useAuth(TokenAuth) | ||
@get | ||
@route("/ranking/tier") | ||
op getRankingBySolveTier( | ||
/** | ||
* 응답을 받을 언어입니다. | ||
*/ | ||
@header | ||
`x-solvedac-language`?: Language, | ||
|
||
/** | ||
* 페이지 | ||
*/ | ||
@query | ||
page?: uint32, | ||
): GetRankingBySolveTier.Ok; | ||
|
||
namespace GetRankingBySolveTier { | ||
@extension(XInternal, true) | ||
model Ok { | ||
@statusCode status: 200; | ||
@body data: PaginatedList<RivalUser>; | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.