Fixed annotations docs

This commit is contained in:
ReyhanPatria 2021-11-05 23:26:11 +07:00
parent 1cdc35d05a
commit 19b459bc80
4 changed files with 8 additions and 8 deletions

View File

@ -100,10 +100,10 @@ public class BotsResource {
@Min(1)
@Max(1000000)
@QueryParam("limit") int limitParam,
@Parameter(description = "Returns list of tables before this cursor",
@Parameter(description = "Returns list of bots before this cursor",
schema = @Schema(type = "string"))
@QueryParam("before") String before,
@Parameter(description = "Returns list of tables after this cursor",
@Parameter(description = "Returns list of bots after this cursor",
schema = @Schema(type = "string"))
@QueryParam("after") String after) throws IOException, GeneralSecurityException, ParseException {
RestUtil.validateCursors(before, after);

View File

@ -108,10 +108,10 @@ public class MetricsResource {
@Min(1)
@Max(1000000)
@QueryParam("limit") int limitParam,
@Parameter(description = "Returns list of tables before this cursor",
@Parameter(description = "Returns list of metrics before this cursor",
schema = @Schema(type = "string"))
@QueryParam("before") String before,
@Parameter(description = "Returns list of tables after this cursor",
@Parameter(description = "Returns list of metrics after this cursor",
schema = @Schema(type = "string"))
@QueryParam("after") String after)
throws IOException, GeneralSecurityException, ParseException {

View File

@ -115,10 +115,10 @@ public class DashboardServiceResource {
@Min(1)
@Max(1000000)
@QueryParam("limit") int limitParam,
@Parameter(description = "Returns list of tables before this cursor",
@Parameter(description = "Returns list of services before this cursor",
schema = @Schema(type = "string"))
@QueryParam("before") String before,
@Parameter(description = "Returns list of tables after this cursor",
@Parameter(description = "Returns list of services after this cursor",
schema = @Schema(type = "string"))
@QueryParam("after") String after)
throws IOException, GeneralSecurityException, ParseException {

View File

@ -113,10 +113,10 @@ public class DatabaseServiceResource {
@Min(1)
@Max(1000000)
@QueryParam("limit") int limitParam,
@Parameter(description = "Returns list of tables before this cursor",
@Parameter(description = "Returns list of databases before this cursor",
schema = @Schema(type = "string"))
@QueryParam("before") String before,
@Parameter(description = "Returns list of tables after this cursor",
@Parameter(description = "Returns list of databases after this cursor",
schema = @Schema(type = "string"))
@QueryParam("after") String after)
throws IOException, GeneralSecurityException, ParseException {