package cn.aagro.pp.module.mp.framework.web.config;

import cn.aagro.pp.framework.swagger.config.AagroSwaggerAutoConfiguration;
import org.springdoc.core.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

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

    /**
     * mp 模块的 API 分组
     */
    @Bean
    public GroupedOpenApi mpGroupedOpenApi() {
        return AagroSwaggerAutoConfiguration.buildGroupedOpenApi("mp");
    }

}
