mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 04:08:43 +08:00 
			
		
		
		
	spring doc:增加模块分组
This commit is contained in:
		@@ -0,0 +1,24 @@
 | 
			
		||||
package cn.iocoder.yudao.module.system.framework.web.config;
 | 
			
		||||
 | 
			
		||||
import cn.iocoder.yudao.framework.swagger.config.YudaoSwaggerAutoConfiguration;
 | 
			
		||||
import org.springdoc.core.GroupedOpenApi;
 | 
			
		||||
import org.springframework.context.annotation.Bean;
 | 
			
		||||
import org.springframework.context.annotation.Configuration;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * system 模块的 web 组件的 Configuration
 | 
			
		||||
 *
 | 
			
		||||
 * @author 芋道源码
 | 
			
		||||
 */
 | 
			
		||||
@Configuration(proxyBeanMethods = false)
 | 
			
		||||
public class SystemWebConfiguration {
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * system 模块的 API 分组
 | 
			
		||||
     */
 | 
			
		||||
    @Bean
 | 
			
		||||
    public GroupedOpenApi systemGroupedOpenApi() {
 | 
			
		||||
        return YudaoSwaggerAutoConfiguration.buildGroupedOpenApi("system");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,4 @@
 | 
			
		||||
/**
 | 
			
		||||
 * system 模块的 web 配置
 | 
			
		||||
 */
 | 
			
		||||
package cn.iocoder.yudao.module.system.framework.web;
 | 
			
		||||
		Reference in New Issue
	
	Block a user