Skip to content

[REQ] Using @RestController in spring generator #15244

@bairamovazat

Description

@bairamovazat

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

I use error-handling-spring-boot-starter and this library works with @RestController.
Can I generate controllers with @RestController annotation when using spring generator?

Describe the solution you'd like

Add a parameter that allows to use @RestController instead of @controller

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions