我已经尝试过使用spring boot在springfox swagger上做一些poc . 它确实在我的应用程序运行时在同一主机和端口上生成swagger ui .

http://localhost:8080/swagger-ui.html

我的应用程序由部署在 Cloud 基础架构上的多个微服务组成 . 这样我最终可能会有多个swagger hub ui as

http://microservice1:8080/swagger-ui.html
http://microservice2:8081/swagger-ui.html
http://microservice3:8082/swagger-ui.html

我如何在同一主机上托管我的所有springfox swagger hub应用程序 . 这样我就可以拥有一个整合网页,将我所有的api文档放在一个地方 .

对于spring rest doc,我可以使用asciidoctor为我的微服务生成一个单独的html文档 . 我再次为不同的微服务提供了不同的html文档 .

Spring rest doc是否提供此功能?或者在spring cloud中将所有文档合并到一个Web应用程序中 .