You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2018/01/29 03:40:00 UTC

[jira] [Closed] (JAMES-2174) Improve swagger documentation about defineGetQuota()

     [ https://issues.apache.org/jira/browse/JAMES-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tellier Benoit closed JAMES-2174.
---------------------------------

> Improve swagger documentation about defineGetQuota()
> ----------------------------------------------------
>
>                 Key: JAMES-2174
>                 URL: https://issues.apache.org/jira/browse/JAMES-2174
>             Project: James Server
>          Issue Type: Improvement
>          Components: webadmin
>            Reporter: Luc DUZAN
>            Priority: Major
>
> Here is the current state of the documentation for GET /quota of the webadmin API.
> {code:java}
>     @GET
>     @ApiOperation(value = "Reading count and size at the same time")
>     @ApiResponses(value = {
>             @ApiResponse(code = 200, message = "OK", response = QuotaDTO.class),
>             @ApiResponse(code = 500, message = "Internal server error - Something went bad on the server side.")
>     })
>     public void defineGetQuota() {
> {code}
> in org.apache.james.webadmin.routes.GlobalQuotaRoutes.
> This current documentation is not precise enough on what the server reply if there is no limitation for "count" and/or "size".
> The documentation should specify that if there is no limitation the returned value will be -1.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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