Repository: james-project
Updated Branches:
  refs/heads/master 5d1cb7d96 -> c5cccba0b


JAMES-2174: Improve Swagger documentation about defineGetQuota()


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/c5cccba0
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/c5cccba0
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/c5cccba0

Branch: refs/heads/master
Commit: c5cccba0b01eeb20af2f4bab42de24fa3edc112b
Parents: 5d1cb7d
Author: Omar Mujahid <omar.muja...@bazaarvoice.com>
Authored: Thu Oct 12 09:05:14 2017 -0500
Committer: Matthieu Baechler <matth...@apache.org>
Committed: Fri Oct 20 15:05:43 2017 +0200

----------------------------------------------------------------------
 .../org/apache/james/webadmin/routes/GlobalQuotaRoutes.java     | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/c5cccba0/server/protocols/webadmin/webadmin-mailbox/src/main/java/org/apache/james/webadmin/routes/GlobalQuotaRoutes.java
----------------------------------------------------------------------
diff --git 
a/server/protocols/webadmin/webadmin-mailbox/src/main/java/org/apache/james/webadmin/routes/GlobalQuotaRoutes.java
 
b/server/protocols/webadmin/webadmin-mailbox/src/main/java/org/apache/james/webadmin/routes/GlobalQuotaRoutes.java
index d53608a..a8f7e62 100644
--- 
a/server/protocols/webadmin/webadmin-mailbox/src/main/java/org/apache/james/webadmin/routes/GlobalQuotaRoutes.java
+++ 
b/server/protocols/webadmin/webadmin-mailbox/src/main/java/org/apache/james/webadmin/routes/GlobalQuotaRoutes.java
@@ -118,7 +118,10 @@ public class GlobalQuotaRoutes implements Routes {
     }
 
     @GET
-    @ApiOperation(value = "Reading count and size at the same time")
+    @ApiOperation(
+        value = "Reading count and size at the same time",
+        notes = "If there is no limitation for count and/or size, the returned 
value will be -1"
+       )
     @ApiResponses(value = {
             @ApiResponse(code = 200, message = "OK", response = 
QuotaDTO.class),
             @ApiResponse(code = 500, message = "Internal server error - 
Something went bad on the server side.")


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to