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

matthieu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git


The following commit(s) were added to refs/heads/master by this push:
     new d756f80  JAMES-2099 don't use HTTP 204 where response has content
     new ba80eb8  Merge branch 'swagger-fixes'
d756f80 is described below

commit d756f803b08c4fd3616adedce4bc395ddfa70a98
Author: Matthieu Baechler <matth...@apache.org>
AuthorDate: Fri Oct 6 17:13:27 2017 +0200

    JAMES-2099 don't use HTTP 204 where response has content
---
 .../main/java/org/apache/james/webadmin/routes/UserMailboxesRoutes.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/server/protocols/webadmin/webadmin-mailbox/src/main/java/org/apache/james/webadmin/routes/UserMailboxesRoutes.java
 
b/server/protocols/webadmin/webadmin-mailbox/src/main/java/org/apache/james/webadmin/routes/UserMailboxesRoutes.java
index 95f324d..a3df5b6 100644
--- 
a/server/protocols/webadmin/webadmin-mailbox/src/main/java/org/apache/james/webadmin/routes/UserMailboxesRoutes.java
+++ 
b/server/protocols/webadmin/webadmin-mailbox/src/main/java/org/apache/james/webadmin/routes/UserMailboxesRoutes.java
@@ -97,7 +97,7 @@ public class UserMailboxesRoutes implements Routes {
     })
     @ApiOperation(value = "Listing all mailboxes of user.")
     @ApiResponses(value = {
-            @ApiResponse(code = HttpStatus.NO_CONTENT_204, message = "The list 
of mailboxes", response = String.class),
+            @ApiResponse(code = HttpStatus.OK_200, message = "The list of 
mailboxes", response = String.class),
             @ApiResponse(code = HttpStatus.UNAUTHORIZED_401, message = 
"Unauthorized. The user is not authenticated on the platform", response = 
String.class),
             @ApiResponse(code = HttpStatus.NOT_FOUND_404, message = "The user 
name does not exist."),
             @ApiResponse(code = HttpStatus.INTERNAL_SERVER_ERROR_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