package cn.newfeifan.mall.module.product.framework.web.config;

import cn.newfeifan.mall.framework.swagger.config.FeifanSwaggerAutoConfiguration;
import org.springdoc.core.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * product 模块的 web 组件的 Configuration
 *
 * @author 非繁源码
 */
@Configuration(proxyBeanMethods = false)
public class ProductWebConfiguration {

    /**
     * product 模块的 API 分组
     */
    @Bean
    public GroupedOpenApi productGroupedOpenApi() {
        return FeifanSwaggerAutoConfiguration.buildGroupedOpenApi("product");
    }

}
