package cn.aagro.ag.module.pay.framework.web.config;

import cn.aagro.ag.framework.swagger.config.AagroSwaggerAutoConfiguration;
import org.springdoc.core.models.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * pay 模块的 web 组件的 Configuration
 *
 * @author AIOTAGRO
 */
@Configuration(proxyBeanMethods = false)
public class PayWebConfiguration {

    /**
     * pay 模块的 API 分组
     */
    @Bean
    public GroupedOpenApi payGroupedOpenApi() {
        return AagroSwaggerAutoConfiguration.buildGroupedOpenApi("pay");
    }

}