/
SwaggerProperties.java
115 lines (80 loc) · 2.26 KB
/
SwaggerProperties.java
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
package com.cxytiandi.swagger;
public class SwaggerProperties {
private boolean enable = true;
private String group = "api";
private String title = "猿天地 API 网关";
private String description = "更多技术相关文章请关注:http://cxytiandi.com/blogs/yinjihuan";
private String version = "1.0.0";
private String termsOfServiceUrl = "http://cxytiandi.com";
private String contact = "yinjihuan[QQ:1304489315]";
private String license = "cxytiandi";
private String licenseUrl = "http://cxytiandi.com";
private String paths = "/error*";
private boolean authHeader = false;
public boolean isAuthHeader() {
return authHeader;
}
public void setAuthHeader(boolean authHeader) {
this.authHeader = authHeader;
}
public boolean isEnable() {
return enable;
}
public void setEnable(boolean enable) {
this.enable = enable;
}
public String getGroup() {
return group;
}
public void setGroup(String group) {
this.group = group;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getVersion() {
return version;
}
public void setVersion(String version) {
this.version = version;
}
public String getTermsOfServiceUrl() {
return termsOfServiceUrl;
}
public void setTermsOfServiceUrl(String termsOfServiceUrl) {
this.termsOfServiceUrl = termsOfServiceUrl;
}
public String getContact() {
return contact;
}
public void setContact(String contact) {
this.contact = contact;
}
public String getLicense() {
return license;
}
public void setLicense(String license) {
this.license = license;
}
public String getLicenseUrl() {
return licenseUrl;
}
public void setLicenseUrl(String licenseUrl) {
this.licenseUrl = licenseUrl;
}
public String getPaths() {
return paths;
}
public void setPaths(String paths) {
this.paths = paths;
}
}