package com.yc.ship.module.marketing.framework.web.config;

import com.yc.ship.framework.swagger.config.YudaoSwaggerAutoConfiguration;
import org.springdoc.core.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration(proxyBeanMethods = false)
public class MarketingWebConfiguration {

    /**
     * marketing 模块的 API 分组
     */
    @Bean
    public GroupedOpenApi marketingGroupedOpenApi() {
        return YudaoSwaggerAutoConfiguration.buildGroupedOpenApi("营销模块");
    }
}
