requestMappingMode: Explicit configuration to control the location of the generated class level RequestMapping annotation (#18896)

Based on #13838 but for kotlin-spring.

Fixes #18884
This commit is contained in:
Peter Storch
2024-06-17 05:36:03 +02:00
committed by GitHub
parent 129e4dc9c9
commit c806ea51b3
27 changed files with 140 additions and 21 deletions

View File

@@ -26,7 +26,6 @@ import kotlin.collections.Map
@RestController
@Validated
@RequestMapping("\${api.base-path:/v2}")
class PetApiController(@Autowired(required = true) val service: PetApiService) {

View File

@@ -25,7 +25,6 @@ import kotlin.collections.Map
@RestController
@Validated
@RequestMapping("\${api.base-path:/v2}")
class StoreApiController(@Autowired(required = true) val service: StoreApiService) {

View File

@@ -25,7 +25,6 @@ import kotlin.collections.Map
@RestController
@Validated
@RequestMapping("\${api.base-path:/v2}")
class UserApiController(@Autowired(required = true) val service: UserApiService) {