Open selivonchik opened 8 years ago
There were some more details found.
We have a method declared as follows:
@ApiMethod(description = "Sign up by login and password")
@ApiResponseObject(clazz = JsonCallResult.class)
@ApiErrors(apierrors = ...)
@RequestMapping(value = SIGN_UP_URL, method = RequestMethod.POST)
public ResponseEntity<?> signUp(...) {
// do sign up
return new ResponseEntity
When response type is ResponseEntity<?> error happens regardless @ApiResponseObject annotation, but when I changed response type to ResponseEntity
+1
GIVEN
THEN
P.S.: Downgrade to JSONdoc 1.2.4 helped to fix Objects list - classes annotated with @ApiObject are shown there, but Response object is still "wildcard"