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
the generator JavaJAXRSSpecServerCodegen uses a template apiInterface.mustache which allow to use Jaxrs Response as a return type instead of the generated ones by setting the returnResponse parameter when combined with option interfaceOnly :
I stumbled across this too. In my scenario though, I wanted any method which would return void to return a Response instead. I've created a PR which will actually allow for returnResponse to be set, and a second property to returnResponseOverVoid as well. #1047
Hi,
the generator JavaJAXRSSpecServerCodegen uses a template apiInterface.mustache which allow to use Jaxrs Response as a return type instead of the generated ones by setting the returnResponse parameter when combined with option interfaceOnly :
{{#returnResponse}}Response{{/returnResponse}}{{^returnResponse}}{{>returnTypeInterface}}{{/returnResponse}}
but it seems this options is never mark as a config options. Is it possible to supporte returnReponse as a config options ?
Thanks
The text was updated successfully, but these errors were encountered: