You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by GitBox <gi...@apache.org> on 2019/04/07 21:49:01 UTC

[GitHub] [geronimo-openapi] reta opened a new pull request #15: The AnnotationProcessor should consider '@APIResponses' annotation

reta opened a new pull request #15: The AnnotationProcessor should consider '@APIResponses' annotation
URL: https://github.com/apache/geronimo-openapi/pull/15
 
 
   The Issue
   ---
   
   The `AnnotationProcessor` only considers `@APIResponse` annotation whereas the `@APIResponses` allows to document multiple `@APIResponse` annotations, for example:
   
   ```
       @APIResponses({
           @APIResponse(content = @Content(schema = @Schema(implementation = Item.class)), responseCode = "200"),
           @APIResponse(responseCode = "404"),
           @APIResponse(responseCode = "401")
       })
       public Response getItem(...) {
       }
   ```
   This PR adds  `@APIResponses`  introspection. 
   
   @rmannibucau sorry, another one, could you please take a look? Thanks!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services