swagger-maven-plugin
swagger-maven-plugin copied to clipboard
Adding methods with empty value
Methods with empty value are not added to the swagger file.
Example:
@RestController
@RequestMapping("/account")
public class AccountController {
@ApiOperation(value = "Create account", tags = {"Account"})
@PostMapping(value = "", consumes = "application/json", produces = "application/json")
public Account createAccount(@RequestBody AccountCreationRequest request) {
}
}
As I understood option allowEmptyValue
should be added.
Could you please advice, how to solve it?