swagger文档管理改为API接口文档管理
This commit is contained in:
@@ -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 {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user