smart-doc相关配置调整,可由项目访问
This commit is contained in:
parent
e8373fc6e6
commit
48ae6734ff
|
@ -3,6 +3,7 @@ target/
|
|||
!.mvn/wrapper/maven-wrapper.jar
|
||||
!**/src/main/**/target/
|
||||
!**/src/test/**/target/
|
||||
src/main/resources/static/
|
||||
|
||||
### STS ###
|
||||
.apt_generated
|
||||
|
|
|
@ -28,9 +28,7 @@ public class WebConfig implements WebMvcConfigurer {
|
|||
licenseWhiteList.add("/api/licensing/**");
|
||||
registry.addInterceptor(licenseInterceptor).excludePathPatterns(licenseWhiteList);
|
||||
List<String> whiteList = new ArrayList<>();
|
||||
whiteList.add("/swagger-ui.html");
|
||||
whiteList.add("/swagger-resources/**");
|
||||
whiteList.add("/webjars/springfox-swagger-ui/**");
|
||||
whiteList.add("/doc/**");
|
||||
whiteList.add("/api/login/**");
|
||||
whiteList.add("/api/wxpat/**");
|
||||
whiteList.add("/api/sms/**");
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"outPath": "/joylink/rtss/doc",
|
||||
"outPath": "src/main/resources/static/doc",
|
||||
"projectName": "轨道交通",
|
||||
"ignoreRequestParams":[
|
||||
"club.joylink.rtss.vo.AccountVO","club.joylink.rtss.vo.LoginUserInfoVO"
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue