在spring Boot中使用swagger-bootstrap-ui

转载: 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

转载: https://blog.csdn.net/luxiangzhou/article/details/83616574

在线markdown转word:

http://coolaf.com/tool/md

ps: 参数最好是自己定义的封装类型,在属性上加swagger的注解即可. 这样文档即可完美查看参数表格. 应避免使用参数为Map类型,map是key-value形式,不能注明key的含义.这方面需要手动编写文档