# spring-boot-swagger **Repository Path**: gaopengsui/spring-boot-swagger ## Basic Information - **Project Name**: spring-boot-swagger - **Description**: spring boot集成Swagger2 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-08-24 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # spring-boot-swagger ### 项目介绍 本项目为spring boot集成Swagger2案例。
使用Swagger2可以将接口文档和测试同时集成到项目,便于项目测试和维护。 ### 架构 框架 | 版本 -------- | --- spring boot | 2.0.4.RELEASE Swagger | 2.4.0 Swagger-ui-layer | 0.0.6 ### 使用说明 1.启动项目。
2.打开浏览器,输入`http://localhost/docs.html`,显示如下界面: ![SpringBoot-Swagger2](https://images.gitee.com/uploads/images/2018/0825/001824_bf072b8e_627081.png "SpringBoot-Swagger2.png") ![SpringBoot-Swagger2](https://images.gitee.com/uploads/images/2018/0825/002919_c45b300f_627081.png "SpringBoot-Swagger2-002.png")![SpringBoot-Swagger2](https://images.gitee.com/uploads/images/2018/0825/002939_934b3cef_627081.png "SpringBoot-Swagger2-003.png")