Skip to content

Kotlin-spring generate default implementation with InterfaceOnly equals to true #6792

Open
@xabierMoreno

Description

@xabierMoreno

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

I am using the generator kotlin-spring and I realised a missing functionality that java generators had.
OpenApiGenerate creates a default implementation for the methods, even that I had set up the option to interfaceOnly to be true or is there any other option that I can use?

Describe the solution you'd like

Ideally the endpotins should be created as abstract. The class that will implement the generated controller should be responsible of adding the required logic.

Describe alternatives you've considered

I cannot think another approach, but I have seen this pr related with the generator for java,
#3022

Additional context

image

image

Any help or solution will be very appreciate.

Thanks

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