All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.guerlab.spring.swagger2.cloud.SwaggerProperties Maven / Gradle / Ivy

There is a newer version: 2.1.5
Show newest version
package net.guerlab.spring.swagger2.cloud;

import java.util.Map;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * swagger配置
 *
 * @author guer
 *
 */
@RefreshScope
@ConfigurationProperties("swagger")
public class SwaggerProperties {

    /**
     * 资源列表
     */
    private Map resources;

    /**
     * 返回资源列表
     *
     * @return 资源列表
     */
    public Map getResources() {
        return resources;
    }

    /**
     * 设置资源列表
     *
     * @param resources
     *            资源列表
     */
    public void setResources(Map resources) {
        this.resources = resources;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy