Closed luigcapo closed 1 year ago
I just never got around to implementing support for those annotations. Enunciate has it's own mechanisms (JavaDoc, annotations, etc.) for providing the same information, so it hasn't been a high priority.
Hello,
Thank you for your answer. Do you have an equivalent for the annotation @ApiParam(value = "User number", required = true) in order to add description to a GET REQUEST. i haven't find a note about that in Annotation enunciate
/**
* @param userNumber User number
* @return The user.
*/
@GetMapping
public User getUser(@RequestParam(required=true) String userNumber) {
...
}
Hello
I have a rest API that I deploy to swagger Ui using enunciate. But I have some problems using swagger annotations to add comments on swagger Ui. There are some annotations that don't work on the Ui (@ApiModelProperty) and some that work just fine (@ApiOperation).
Here is an example from my source code
pom.xml
User class (where i use @ApiModelProperty and @ApiModel which don't work)
UserRessource.class my web service . ApiOperation works but ApiParam doesn't work
Is it possible that some swagger annotations don't work with enunciate 2.14 and other annotation work?