1

How can I print all my routes out in a Spring Boot application with the command line? I know this question has been asked before, but the answers either assume one is using Intellij or wants to see the printed routes in the local server logs.

For some background information, I use vim and build my application locally with the command line Gradle commands. I am not using an IDE such as Intellij.

robskrob
  • 2,720
  • 4
  • 31
  • 58
  • what about the accepted answer on the linked question? – Janar Sep 11 '21 at 18:53
  • [This](https://www.baeldung.com/spring-boot-get-all-endpoints) may be helpful for you – ray Sep 11 '21 at 19:03
  • @Janar the [accepted answer](https://stackoverflow.com/a/3686304/10871900) is not about IntelliJ. – dan1st Sep 11 '21 at 19:09
  • Ok yeah the accepted answer is about logging out the routes in the server logs when the app starts up. I could look into that -- but what I would like is some command-line command that prints out the routes in my terminal shell. – robskrob Sep 11 '21 at 19:14

0 Answers0