From 5dfc143ccba03681db68d7a60fb30e808930f2e8 Mon Sep 17 00:00:00 2001 From: ReyhanPatria Date: Sat, 6 Nov 2021 01:07:05 +0700 Subject: [PATCH] Changed annotation docs --- .../services/dashboard/DashboardServiceResource.java | 4 ++-- .../resources/services/database/DatabaseServiceResource.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/catalog-rest-service/src/main/java/org/openmetadata/catalog/resources/services/dashboard/DashboardServiceResource.java b/catalog-rest-service/src/main/java/org/openmetadata/catalog/resources/services/dashboard/DashboardServiceResource.java index eea221c3d68..2d62038c157 100644 --- a/catalog-rest-service/src/main/java/org/openmetadata/catalog/resources/services/dashboard/DashboardServiceResource.java +++ b/catalog-rest-service/src/main/java/org/openmetadata/catalog/resources/services/dashboard/DashboardServiceResource.java @@ -115,10 +115,10 @@ public class DashboardServiceResource { @Min(1) @Max(1000000) @QueryParam("limit") int limitParam, - @Parameter(description = "Returns list of services before this cursor", + @Parameter(description = "Returns list of dashboard services before this cursor", schema = @Schema(type = "string")) @QueryParam("before") String before, - @Parameter(description = "Returns list of services after this cursor", + @Parameter(description = "Returns list of dashboard services after this cursor", schema = @Schema(type = "string")) @QueryParam("after") String after) throws IOException, GeneralSecurityException, ParseException { diff --git a/catalog-rest-service/src/main/java/org/openmetadata/catalog/resources/services/database/DatabaseServiceResource.java b/catalog-rest-service/src/main/java/org/openmetadata/catalog/resources/services/database/DatabaseServiceResource.java index 587004fe541..b328391ad38 100644 --- a/catalog-rest-service/src/main/java/org/openmetadata/catalog/resources/services/database/DatabaseServiceResource.java +++ b/catalog-rest-service/src/main/java/org/openmetadata/catalog/resources/services/database/DatabaseServiceResource.java @@ -113,10 +113,10 @@ public class DatabaseServiceResource { @Min(1) @Max(1000000) @QueryParam("limit") int limitParam, - @Parameter(description = "Returns list of databases before this cursor", + @Parameter(description = "Returns list of database services before this cursor", schema = @Schema(type = "string")) @QueryParam("before") String before, - @Parameter(description = "Returns list of databases after this cursor", + @Parameter(description = "Returns list of database services after this cursor", schema = @Schema(type = "string")) @QueryParam("after") String after) throws IOException, GeneralSecurityException, ParseException {