Closed ddcruver closed 5 years ago
You can add URLs to the info.*
attributes which will be rendered as hyperlinks. The only problem here is that you currently can't make them relative to your application and must be absolute.
Yeah that may work with standalone apps because you possibly have the protocol, host and port defined in other properties in which you can build this url but if you deploy this to an application server in a war you might have some more trouble building this URL.
... you might have some more trouble building this URL.
so does the admin server (which requires manual config). And it event gets worse if you're running behind a loadbalancer/reverse-proxy. So imho the best is that you configure the public url for the swagger ui yourself...
Spring Boot Admin is a good way to get a list of all your running applications but for testing and development purposes but there are times when you may want to hit the endpoints of your application. Swagger UI provides a good way to do this and would like a fast way to go from an instance of an application in Spring Boot Admin to the Swagger UI of that corresponding application.
Under an application's in Spring Boot Admin there are links for the following:
I would like to see this added:
To make swagger available on the application you just need to add this to the pom.xml