How to show all available routes in Spring?

后端 未结 2 688
心在旅途
心在旅途 2021-02-07 09:45

How to show all the routes mapped in a spring based application? In Rails this is done using rake routes.

I use two mapping methods of spring to create the URL-mappings:

2条回答
  •  别那么骄傲
    2021-02-07 10:18

    If you are using Intellij (ultimate edition), then after you build/run the project, you can view the routes in the bottom toolbar Run -> Endpoints -> Mappings.

提交回复
热议问题