package com.xindazhou.gateway.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Gateway 配置类
 *
 * @author xindazhou
 */
@Configuration
public class GatewayConfig {

    @Bean
    @ConfigurationProperties(prefix = "gateway")
    public GatewayPublicEndpointsProperties gatewayPublicEndpointsProperties() {
        return new GatewayPublicEndpointsProperties();
    }
}

