The idea is to allow the user to configure the codegen to add as return type only Response.
Actually the rule to get the right return type is made on:
|
protected Type<?> generateTypeName(CodegenJavaSchema schema, Boolean required, String defaultType) { |
method.
Maybe to give a new configuration to the final user would be great. WDYT @EricWittmann ?
Originally created here quarkiverse/quarkus-openapi-generator#835