Affects Version/s: 4.2.3, 5.0.1
Fix Version/s: None
I had opened a ticket in Spring-Boot on this topic and it was suggested I create one on the Spring JIRA I have added the original ticket as the Reference URL.
There doesn't seem to be anyway, short of explicitly prefixing each individual
with a default URI like
at the top of the @RestController class, where /api is the default. I'm trying to have a clear separation in URL paths between normal application requests and web service requests, allowing me to provide additional security specific to web services.
I have an ongoing StackOverflow post, with no meaningful solution to-date and would like to suggest an enhancement to allow a default URI prefix to be supported somewhere in the Spring Boot application.properties configuration.
The result would be, using the example above, that my request mapping would be defined as:
The resulting URL would resolve to:
I was hoping for more of a 'building block' approach, like: