Skip to content

Be able to allow the user to use only Response on return type #320

@mcruzdev

Description

@mcruzdev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions