kwhw.net
当前位置:首页 >> springFox swAggEr >>

springFox swAggEr

groupId>io.springfox springfox-swagger2 2.5.0 com.fasterxml.jackson.core jackson-annotations org.slf4j slf4j-api

1. 引入pom依赖(springMVC配置可用) io.springfox springfox-swagger2 2.5.0 io.springfox springfox-swagger-ui 2.5.0 2.配置bean @EnableSwagger2 public class SwaggerConfig { @Bean public Docket createRestApi() { return new Docket(D...

SpringBoot嵌入SwaggerUI 步骤 1.jar包引入 io.springfox springfox-swagger-ui 2.2.2 compile io.springfox springfox-swagger2 2.2.2 compile 2.基于SpringBoot配置SwaggerConfig @Configuration @EnableSwagger2 public class SwaggerConfig ...

网站首页 | 网站地图
All rights reserved Powered by www.kwhw.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com