Seperate Spring Web annotations from spring web [SPR-15882] #20437
Labels
status: declined
A suggestion or change that we don't feel we should currently apply
type: task
A general task
Itamar Benjamin opened SPR-15882 and commented
Hi,
In my company we have an API project for every service, and each service that uses another one is dependent on the latter's API project in gradle.
I know this is not the recommended way to work by spring but that's convenient for us for the time being.
In these API projects we have the controller's interface, which needs
@RequestMapping
and other spring-web annotations. Since these annotations come with the entire spring-web code, we get conflicts in some of our client applications, and the API jar, which should be very slim, brings with it many spring-web classes.it will be very useful for us, and i'm sure for other teams that work like us, to have a separate annotation package published (similar to swagger annotations package -
https://mvnrepository.com/artifact/io.swagger/swagger-annotations)
Thanks!
Affects: 4.3.10
1 votes, 4 watchers
The text was updated successfully, but these errors were encountered: