luoyb
2021-05-12 49a2f509d6a114c062b966a5bab83f45980e808f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package cc.mrbird.febs.common.doc.gateway.properties;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
 
/**
 * @author MrBird
 */
@ConfigurationProperties(prefix = "febs.doc.gateway")
public class FebsDocGatewayProperties {
 
    /**
     * 是否开启网关文档聚合功能
     */
    private Boolean enable;
 
    /**
     * 需要暴露doc的服务列表,多个值时用逗号分隔
     * 如 FEBS-Auth,FEBS-Server-System
     */
    private String resources;
 
    public String getResources() {
        return resources;
    }
 
    public void setResources(String resources) {
        this.resources = resources;
    }
 
    public Boolean getEnable() {
        return enable;
    }
 
    public void setEnable(Boolean enable) {
        this.enable = enable;
    }
 
    @Override
    public String toString() {
        return "FebsDocGatewayProperties{" +
                "enable=" + enable +
                ", resources='" + resources + '\'' +
                '}';
    }
}