How to access Rest APIs mentioned in Cotroller class of a Jar file in my Spring Boot Application : I am new to Spring / Spring Boot.

In my Spring Boot Application, I have a **JAR** file which has a Controller class and corresponding Service Interface (not class). I have implemented the Service interface and created a Service class with some logic. Now I want to access the APIs (/v1/getDetails) present in Controller class of JAR file.

Can we access the REST APIs present in Controller class of JAR file? If so then please guide me.

PS: I have tried to search on internet but didn't get a clear answer.