mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 10:18:42 +08:00 
			
		
		
		
	spring doc:增加模块分组
This commit is contained in:
		| @@ -0,0 +1,24 @@ | ||||
| package cn.iocoder.yudao.module.pay.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; | ||||
|  | ||||
| /** | ||||
|  * pay 模块的 web 组件的 Configuration | ||||
|  * | ||||
|  * @author 芋道源码 | ||||
|  */ | ||||
| @Configuration(proxyBeanMethods = false) | ||||
| public class PayWebConfiguration { | ||||
|  | ||||
|     /** | ||||
|      * pay 模块的 API 分组 | ||||
|      */ | ||||
|     @Bean | ||||
|     public GroupedOpenApi payGroupedOpenApi() { | ||||
|         return YudaoSwaggerAutoConfiguration.buildGroupedOpenApi("pay"); | ||||
|     } | ||||
|  | ||||
| } | ||||
| @@ -0,0 +1,4 @@ | ||||
| /** | ||||
|  * pay 模块的 web 配置 | ||||
|  */ | ||||
| package cn.iocoder.yudao.module.pay.framework.web; | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV