reta opened a new pull request #14: The AnnotationProcessor should be able to 
deduct the parameter name from JAX-RS annotations
URL: https://github.com/apache/geronimo-openapi/pull/14
 
 
   The Issue
   ---
   Often the `@Parameter` annotation is used to augment the JAX-RS annotations 
with the missing metadata (for example, if the paremeter `required` or not). In 
this case the `name` attribute of the  `@Parameter`  could be omitted and taken 
from the JAX-RS counterpart, for example:
   
   ```
   @DELETE
   public void delete(@Parameter(required = true) @PathParam("id") String id) {
       ...
   }
   ```
   But at the moment, the `AnnotationProcessor` always use the name from 
`@Parameter` (if present) and it leads to necessary duplication of the same 
metadata in both places. This small PR addresses that.
   
   @rmannibucau 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:
[email protected]


With regards,
Apache Git Services

Reply via email to