You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixed in AbstractJavaJAXRSServerCodegen by adding a check for void for api-response:
// set vendorExtensions.x-java-is-response-void to true as dataType is set to "void"if ( resp.dataType == null ) {
resp.vendorExtensions.put("x-java-is-response-void", true);
}
and in api.mustache by adding the check for void and by using the baseType instead of returnType of @ApiReponse.
Description
(see also JavaJaxRS spec : formParam uses Attachment which is CXF specific #4327)
Swagger-codegen version
2.2.2-SNAPSHOT
Related issues
#4327
Suggest a Fix
and in api.mustache by adding the check for void and by using the baseType instead of returnType of @ApiReponse.
This should be a sufficient standard hint, although it will have to be adapted for CXF/Jersey/Resteasy then.