I need to create a Rest endpoint dynamically in my Spring Boot application. Instead of statically creating the class with @RestController, is there a way to instantiate and activate a Rest service at runtime? It should be possible to specify the endpoint, input parameters etc at runtime.
Are there some Groovy options too?
Thanks, Sandeep Joseph