package cn.iocoder.yudao.module.energy.framework.web.config;

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

/**
 * Energy 模块的 Web 配置
 */
@Configuration(proxyBeanMethods = false)
public class EnergyWebConfiguration {

    /**
     * energy-server 模块的 API 分组
     */
    @Bean
    public GroupedOpenApi energyGroupedOpenApi() {
        return YudaoSwaggerAutoConfiguration.buildGroupedOpenApi("energy");
    }

}
