I know that I can get the hostname and port from the application.yml, and get properties from Swagger UI config to construct a URL. But this seems like too much work.