Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我将 swagger2 集成到我的老鼠包应用程序时,它没有为老鼠包处理程序生成 REST API 文档。是否可以使用 swagger2 生成 REST API 文档是否有任何其他工具可以为老鼠包应用程序生成文档。
目前没有办法做到这一点,因为 Ratpack 处理程序在运行时是动态的。一直在谈论这个,但没有进一步的。我们将 Swagger2 与 Ratpack 一起使用,但手动生成。我们还嵌入swagger-ui到应用程序中。
swagger-ui