Skip to content

[REQ] [kotlin-spring] Spring request mapping mode #18884

@pstorch

Description

@pstorch

I stumbled upon an issue with the RequestMapping annotations on the Api interfaces and ApiController classes.
Spring Boot doesn't load my controllers correctly. The beans are instantiated but the HandlerMapping.Mappings is not recognizing the controllers.
When I remove the @RequestMapping("\${api.base-path:}") annotation it works.

Can we have the same requestMappingMode option for kotlin-spring as for the java-spring generator?
Like: #13838

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