This is an automated email from the ASF dual-hosted git repository.

martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-redback-core.git


The following commit(s) were added to refs/heads/master by this push:
     new aa8691e  Fixing REST documentation
aa8691e is described below

commit aa8691eacbcdbf96690e38fe973824b0f8583842
Author: Martin Stockhammer <[email protected]>
AuthorDate: Sun Jan 3 20:28:40 2021 +0100

    Fixing REST documentation
---
 .../org/apache/archiva/redback/rest/api/services/v2/RoleService.java    | 2 +-
 .../org/apache/archiva/redback/rest/api/services/v2/UserService.java    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/redback-integrations/redback-rest/redback-rest-api/src/main/java/org/apache/archiva/redback/rest/api/services/v2/RoleService.java
 
b/redback-integrations/redback-rest/redback-rest-api/src/main/java/org/apache/archiva/redback/rest/api/services/v2/RoleService.java
index 51d8a21..af5b778 100644
--- 
a/redback-integrations/redback-rest/redback-rest-api/src/main/java/org/apache/archiva/redback/rest/api/services/v2/RoleService.java
+++ 
b/redback-integrations/redback-rest/redback-rest-api/src/main/java/org/apache/archiva/redback/rest/api/services/v2/RoleService.java
@@ -77,7 +77,7 @@ public interface RoleService
             @Parameter(name = "q", description = "Search term"),
             @Parameter(name = "offset", description = "The offset of the first 
element returned"),
             @Parameter(name = "limit", description = "Maximum number of items 
to return in the response"),
-            @Parameter(name = "orderBy", description = "List of attribute used 
for sorting (user_id, fullName, email, created"),
+            @Parameter(name = "orderBy", description = "List of attribute used 
for sorting (id, name, description, assignable)"),
             @Parameter(name = "order", description = "The sort order. Either 
ascending (asc) or descending (desc)")
         },
         security = {
diff --git 
a/redback-integrations/redback-rest/redback-rest-api/src/main/java/org/apache/archiva/redback/rest/api/services/v2/UserService.java
 
b/redback-integrations/redback-rest/redback-rest-api/src/main/java/org/apache/archiva/redback/rest/api/services/v2/UserService.java
index edd8994..c84f5ae 100644
--- 
a/redback-integrations/redback-rest/redback-rest-api/src/main/java/org/apache/archiva/redback/rest/api/services/v2/UserService.java
+++ 
b/redback-integrations/redback-rest/redback-rest-api/src/main/java/org/apache/archiva/redback/rest/api/services/v2/UserService.java
@@ -112,7 +112,7 @@ public interface UserService
             @Parameter(name = "q", description = "Search term"),
             @Parameter(name = "offset", description = "The offset of the first 
element returned"),
             @Parameter(name = "limit", description = "Maximum number of items 
to return in the response"),
-            @Parameter(name = "orderBy", description = "List of attribute used 
for sorting (user_id, fullName, email, created"),
+            @Parameter(name = "orderBy", description = "List of attribute used 
for sorting (user_id, fullName, email, created)"),
             @Parameter(name = "order", description = "The sort order. Either 
ascending (asc) or descending (desc)")
         },
         security = {

Reply via email to