How to generate offline Swagger API docs?

前端 未结 6 1112
难免孤独
难免孤独 2020-12-30 02:42

I have a spring boot MVC java Web app. I\'ve been able to integrate Springfox for API documentation. I can visually see all of the APIs when server is up and running.

6条回答
  •  一向
    一向 (楼主)
    2020-12-30 03:14

    Swagger has tool for generating offline docs.

    The tool is "Swagger2Markup" which is located @ Github.

    The output of "Swagger2Markup" can be used as an alternative to swagger-ui and can be served as static content.

    Here is an Example

    Good luck! :)

提交回复
热议问题