Skip to content

Allow ReturnType to return Generics #21398

Open
@andrewwilsonnew

Description

@andrewwilsonnew

Is your feature request related to a problem? Please describe.

I'd like to be able to change type mappings to return generics. So for example:

typeMapping.put("file", "Response<ByteString>");

However despite my {{{returnType}}} in the template we get: ResponseLessThanByteStringGreaterThan

Describe the solution you'd like

It would be great if {{{returnType}}} allowed generics

Describe alternatives you've considered

We currently do a manual work around and and use a kotlin typealias to fix this

Additional context

Waddyathink @wing328 @guiarn

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions