首页 技术 正文
技术 2022年11月16日
0 收藏 460 点赞 2,797 浏览 655 个字

最近安装了API文档工具swagger,因为Github上已有详细安装教程,且安装过程中没有碰到大的阻碍,所以此文仅对这次安装做一份大致记录

相关网站

Swagger 官方地址:
http://swagger.wordnik.com

Github安装详解【springmvc集成swagger】:
https://github.com/rlogiacco/swagger-springmvc

网上安装教程【可配合Github安装教程使用】:
http://www.jianshu.com/p/5cfbe62a1569
http://blog.csdn.net/fengspg/article/details/43705537

Swagger注解详解:
https://github.com/swagger-api/swagger-core/wiki/Annotations
http://www.cnblogs.com/java-zhao/p/5348113.html 【springboot + swagger】

API文档工具 RAML、Swagger和Blueprint三者的比较:
http://www.cnblogs.com/softidea/p/5728952.html


错误记录

配置完并成功启动项目后,报如下错误:

API文档工具-Swagger的集成

原因:在修改配置文件index.html时,ip和端口中间多了一个斜杠,去掉斜杠即可。

API文档工具-Swagger的集成

PS:果不是以上原因造成,请移步 https://github.com/swagger-api/swagger-ui 查看此错误详细介绍:

API文档工具-Swagger的集成


相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,492
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,907
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,740
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,495
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:8,132
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:5,297