I want to put a value from my application.properties in my @RequestMapping path outside my class.
I know that inside a class you can do something like this:
@Value("${property.value}")
private String propertyValue;
I need something like this, but cant figure out how to accomplish it:
@RestController
@RequestMapping("{propertyValue}/my/path/")
class MyController(){}