# swagger3-demo **Repository Path**: jamesche/swagger3-demo ## Basic Information - **Project Name**: swagger3-demo - **Description**: swagger3使用 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2020-11-27 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # swagger3-demo 添加依赖: maven: ```xml io.springfox springfox-boot-starter 3.0.0 ``` ``` gradle: compile group: 'io.springfox', name: 'springfox-boot-starter', version: '3.0.0' ``` ```只要执行了添加swagger3的上述依赖操作,可以无需再做任何配置可以直接启动项目。 项目启动完成之后,可以访问: http://host:port/context-path/swagger-ui/index.html 或是访问: http://host:port/context-path/swagger-ui/ 如果URI未做任何其他操作可以访问: http://host:port/swagger-ui/ ```