吴贵宾
2019-06-18 13:48:39
原证
SpringBoot整合Swagger基本实现
项目描述
Springboot整合swagger的实现,不包含数据库,代码结构清晰,小白也能看懂,附加dto结构,规范接口参数,可随意拓展。
运行环境
jdk8+IntelliJ IDEA+maven
项目技术(必填)
Springboot+swagger+maven
数据库文件
无
jar包文件
maven搭建
链接:https://pan.baidu.com/s/1niBGjFKYdolWbX7QrQtoHQ
提取码:4qu3
是否原创(转载必填原文地址)
原创
项目截图(必填)
运行截图(必填)
swagger页面
http://localhost:8088/swagger-ui.html
swagger测试截图
注意事项
因为配置文件的原因,注意导入项目后修改项目的maven地址
访问swagger路径:http://localhost:8088/swagger-ui.html
swagger版本最好使用2.7.0版本,最新版本界面不太好用
猜你喜欢
- spring boot集成swagger knife4j极简入门实例
- spring boot+vue+quartz2.2.3整合定时调度系统
- Spring Boot学习(九)之Spring Boot整合MyBatis 及注解配置 源码
- SpringBoot集成HIVE小例子,采用Druid管理连接池
- springboot整合jedis项目实例
- spring boot+mybatis+mysql项目搭建入门实例
- spring boot+mybatis+ehcache(缓存)整合的简单实例
- springBoot+shardingJdbc+mybaits+mapper3框架整合demo实例
- spring boot集成ehcache极简入门实例
- Spring Boot学习(四)之web开发渲染页面 -- Velocity
- Spring Boot学习(四)之web开发渲染页面 -- Freemarker博客源码分享
- spring boot1.3.1+mybatis+velocity学习整合demo分享
请下载代码后再发表评论
文件名:swagger-first.zip,文件大小:108.281K
下载
- /
- /swagger-first
- /swagger-first/.gitignore
- /swagger-first/.idea
- /swagger-first/.idea/compiler.xml
- /swagger-first/.idea/encodings.xml
- /swagger-first/.idea/libraries
- /swagger-first/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml
- /swagger-first/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml
- /swagger-first/.idea/libraries/Maven__com_fasterxml_classmate_1_4_0.xml
- /swagger-first/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml
- /swagger-first/.mvn
- /swagger-first/.mvn/wrapper
- /swagger-first/src
- /swagger-first/src/main
- /swagger-first/src/main/java
- /swagger-first/src/main/java/com
- /swagger-first/src/main/java/com/vip
- /swagger-first/src/main/java/com/vip/swaggerfirst
/swagger-first/src/main/java/com/vip/swaggerfirst/SwaggerFirstApplication.java
- /swagger-first/src/main/java/com/vip/swaggerfirst/common
- /swagger-first/src/main/java/com/vip/swaggerfirst/common/dto
- /swagger-first/src/main/java/com/vip/swaggerfirst/config
- /swagger-first/src/main/java/com/vip/swaggerfirst/controller
- /swagger-first/src/main/java/com/vip/swaggerfirst
- /swagger-first/src/main/java/com/vip
- /swagger-first/src/main/java/com
- /swagger-first/src/main/java
- /swagger-first/src/main
- /swagger-first

- 证 Spring Boot创建自定义Banner.txt实例
- 证 Spring Boot配置@Profile注解加载不同环境的配置文件实例
- 证 Spring Boot Actuator 2.3.4.RELEASE新版本实现自定义端点信息的配置实例
- 原证 spring AOP 过滤器 拦截器 执行顺序示例
- 证 spring boot使用不指定Maven parent pom来创建可执行的spring boot项目
- 证 Spring Boot整合thymeleaf做为显示层的hello world实例
- 证 Spring Boot整合SpringFox Swagger2实现REST API增删改查项目实例
- 证 Spring Boot演示@ConfigurationProperties标注实现自定义配置属性的实例
- 证 Spring Boot整合Ehcache的简单入门实例
- 原 SpringBoot入门整合开发java Web项目实例
- 证 Spring Boot整合Freemarker实现文件上传项目实例
- 原证 Springboot+Mybatis+maven+layui开发简单的学习实例

15719908287 LV9
2024年6月19日
2410068425 LV23
2024年1月11日
空心菜4 LV9
2023年7月16日
xiaoyuer2 LV8
2022年11月20日
MMENGDI LV14
2022年8月29日
gaotieyou LV5
2022年7月5日
1234mama LV19
2022年6月7日
壹级天灾 LV14
2022年4月27日
fangen0005 LV25
2022年4月13日
denliv_hui LV13
2022年2月9日

xianyu091012 LV5
2024年11月18日
dapeioo
2024年10月8日
暂无贡献等级
15719908287 LV9
2024年6月19日
小旭123 LV1
2024年4月28日
xiaokang1 LV10
2024年4月25日
38735466 LV11
2024年3月7日
Gin19960217 LV4
2024年1月19日
2410068425 LV23
2024年1月11日
0592lyj LV9
2024年1月5日
edpwyg LV14
2023年10月21日