Enum values of stubs set in annotations parameter are not in model
Opened this issue · 0 comments
VincentBlondeau commented
E.g:
public class GlobalControllerExceptionHandler {
@ResponseStatus(HttpStatus.BAD_REQUEST)
public String handleException(final Exception ex) {
return ex.getMessage();
}
HttpStatus
do not contains the enum value BAD_REQUEST