springboot gets all the interface urls in the web application

Original link: https://nicksxs.me/2023/08/06/springboot-%E8%8E%B7%E5%8F%96-web-%E5%BA%94%E7%94%A8%E4%B8 %AD%E6%89%80%E6%9C%89%E7%9A%84%E6%8E%A5%E5%8F%A3-url/

Recently, there is a small demand to export the request mapping of one of our springboot applications. So it has been transformed. It should be to sort out all the interface paths of this application. For example, I have an api.baidu1.com

This article is transferred from: https://nicksxs.me/2023/08/06/springboot-%E8%8E%B7%E5%8F%96-web-%E5%BA%94%E7%94%A8%E4%B8 %AD%E6%89%80%E6%9C%89%E7%9A%84%E6%8E%A5%E5%8F%A3-url/
This site is only for collection, and the copyright belongs to the original author.