轉載: https://www.cnblogs.com/fby698/p/11581845.html
把swagger-ui換成swagger-bootstrap-ui (換成swagger-bootstrap-ui更加方便調試和導出文檔)
GitHub地址: https://github.com/xiaoymin/swagger-bootstrap-ui
使用文檔:
https://www.w3cschool.cn/swaggerbootstrapui/swaggerbootstrapui-s2ox32i5.html
markdown與word相互轉換工具:Writage
轉載: https://blog.csdn.net/luxiangzhou/article/details/83616574
在線markdown轉word:
ps: 參數最好是自己定義的封裝類型,在屬性上加swagger的注解即可. 這樣文檔即可完美查看參數表格. 應避免使用參數為Map類型,map是key-value形式,不能注明key的含義.這方面需要手動編寫文檔