OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
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.
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 forkotlin-spring
as for thejava-spring
generator? Like: https://github.com/OpenAPITools/openapi-generator/pull/13838