swagger文档管理改为API接口文档管理

This commit is contained in:
暮光:城中城
2021-11-26 23:51:14 +08:00
parent 4408525b45
commit 91aef6f9f4
165 changed files with 3892 additions and 5744 deletions

View File

@@ -2,7 +2,7 @@ package com.zyplayer.doc.manage.framework.config;
import com.zyplayer.doc.db.framework.configuration.EnableDocDb;
import com.zyplayer.doc.dubbo.framework.config.EnableDocDubbo;
import com.zyplayer.doc.swaggerplus.framework.config.EnableDocSwaggerPlus;
import com.zyplayer.doc.api.framework.config.EnableDocApi;
import com.zyplayer.doc.wiki.framework.config.EnableDocWiki;
import org.springframework.context.annotation.Configuration;
@@ -27,7 +27,7 @@ public class ZyplayerDocConfig {
public class enableDocDb {
}
@EnableDocSwaggerPlus
public class enableDocSwaggerPlus {
@EnableDocApi
public class enableDocApi {
}
}

View File

@@ -38,9 +38,9 @@ public class DocSystemController {
}
@AuthMan
@GetMapping("/doc-swagger-plus")
@GetMapping("/doc-api")
public ModelAndView swaggerPlus() {
ModelAndView modelAndView = new ModelAndView("/doc-swagger-plus.html");
ModelAndView modelAndView = new ModelAndView("/doc-api.html");
modelAndView.setStatus(HttpStatus.OK);
return modelAndView;
}