package com.yanzhu.module.crm.framework.web.config;

import com.yanzhu.framework.swagger.config.YanzhuSwaggerAutoConfiguration;
import org.springdoc.core.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * crm 模块的 web 组件的 Configuration
 *
 * @author 研筑科技
 */
@Configuration(proxyBeanMethods = false)
public class CrmWebConfiguration {

    /**
     * crm 模块的 API 分组
     */
    @Bean
    public GroupedOpenApi crmGroupedOpenApi() {
        return YanzhuSwaggerAutoConfiguration.buildGroupedOpenApi("crm");
    }

}
