package com.cico.nest.lcdp.boot.core.infra.framework.web.config;

import com.cico.nest.lcdp.boot.web.swagger.config.LcdpSwaggerAutoConfiguration;
import org.springdoc.core.models.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * infra 模块的 web 组件的 Configuration
 *
 * @author zws
 */
@Configuration(proxyBeanMethods = false)
public class InfraWebConfiguration {

    /**
     * infra 模块的 API 分组
     */
    @Bean
    public GroupedOpenApi infraGroupedOpenApi() {
        return LcdpSwaggerAutoConfiguration.buildGroupedOpenApi("infra");
    }

}
