package cn.iocoder.foodnexus.module.erp.framework.web.config;

import cn.iocoder.foodnexus.framework.swagger.config.FoodnexusSwaggerAutoConfiguration;
import org.springdoc.core.models.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * erp 模块的 web 组件的 Configuration
 *
 * @author 芋道源码
 */
@Configuration(proxyBeanMethods = false)
public class ErpWebConfiguration {

    /**
     * erp 模块的 API 分组
     */
    @Bean
    public GroupedOpenApi erpGroupedOpenApi() {
        return FoodnexusSwaggerAutoConfiguration.buildGroupedOpenApi("erp");
    }

}
