package com.qianwen.core.swagger;
|
|
import java.util.ArrayList;
|
import java.util.Collections;
|
import java.util.List;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
@ConfigurationProperties("swagger")
|
/* loaded from: blade-starter-swagger-9.3.0.0-SNAPSHOT.jar:org/springblade/core/swagger/SwaggerProperties.class */
|
public class SwaggerProperties {
|
private List<String> basePackages = new ArrayList(Collections.singletonList("org.springblade"));
|
private List<String> basePath = new ArrayList();
|
private List<String> excludePath = new ArrayList();
|
private String title = "BladeX 接口文档系统";
|
private String description = "BladeX 接口文档系统";
|
private String version = "9.3.0.0-SNAPSHOT";
|
private String license = "Powered By BladeX";
|
private String licenseUrl = "https://bladex.vip";
|
private String termsOfServiceUrl = "https://bladex.vip";
|
private String host = "";
|
private Contact contact = new Contact();
|
private Authorization authorization = new Authorization();
|
|
public void setBasePackages(final List<String> basePackages) {
|
this.basePackages = basePackages;
|
}
|
|
public void setBasePath(final List<String> basePath) {
|
this.basePath = basePath;
|
}
|
|
public void setExcludePath(final List<String> excludePath) {
|
this.excludePath = excludePath;
|
}
|
|
public void setTitle(final String title) {
|
this.title = title;
|
}
|
|
public void setDescription(final String description) {
|
this.description = description;
|
}
|
|
public void setVersion(final String version) {
|
this.version = version;
|
}
|
|
public void setLicense(final String license) {
|
this.license = license;
|
}
|
|
public void setLicenseUrl(final String licenseUrl) {
|
this.licenseUrl = licenseUrl;
|
}
|
|
public void setTermsOfServiceUrl(final String termsOfServiceUrl) {
|
this.termsOfServiceUrl = termsOfServiceUrl;
|
}
|
|
public void setHost(final String host) {
|
this.host = host;
|
}
|
|
public void setContact(final Contact contact) {
|
this.contact = contact;
|
}
|
|
public void setAuthorization(final Authorization authorization) {
|
this.authorization = authorization;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof SwaggerProperties) {
|
SwaggerProperties other = (SwaggerProperties) o;
|
if (other.canEqual(this)) {
|
Object this$basePackages = getBasePackages();
|
Object other$basePackages = other.getBasePackages();
|
if (this$basePackages == null) {
|
if (other$basePackages != null) {
|
return false;
|
}
|
} else if (!this$basePackages.equals(other$basePackages)) {
|
return false;
|
}
|
Object this$basePath = getBasePath();
|
Object other$basePath = other.getBasePath();
|
if (this$basePath == null) {
|
if (other$basePath != null) {
|
return false;
|
}
|
} else if (!this$basePath.equals(other$basePath)) {
|
return false;
|
}
|
Object this$excludePath = getExcludePath();
|
Object other$excludePath = other.getExcludePath();
|
if (this$excludePath == null) {
|
if (other$excludePath != null) {
|
return false;
|
}
|
} else if (!this$excludePath.equals(other$excludePath)) {
|
return false;
|
}
|
Object this$title = getTitle();
|
Object other$title = other.getTitle();
|
if (this$title == null) {
|
if (other$title != null) {
|
return false;
|
}
|
} else if (!this$title.equals(other$title)) {
|
return false;
|
}
|
Object this$description = getDescription();
|
Object other$description = other.getDescription();
|
if (this$description == null) {
|
if (other$description != null) {
|
return false;
|
}
|
} else if (!this$description.equals(other$description)) {
|
return false;
|
}
|
Object this$version = getVersion();
|
Object other$version = other.getVersion();
|
if (this$version == null) {
|
if (other$version != null) {
|
return false;
|
}
|
} else if (!this$version.equals(other$version)) {
|
return false;
|
}
|
Object this$license = getLicense();
|
Object other$license = other.getLicense();
|
if (this$license == null) {
|
if (other$license != null) {
|
return false;
|
}
|
} else if (!this$license.equals(other$license)) {
|
return false;
|
}
|
Object this$licenseUrl = getLicenseUrl();
|
Object other$licenseUrl = other.getLicenseUrl();
|
if (this$licenseUrl == null) {
|
if (other$licenseUrl != null) {
|
return false;
|
}
|
} else if (!this$licenseUrl.equals(other$licenseUrl)) {
|
return false;
|
}
|
Object this$termsOfServiceUrl = getTermsOfServiceUrl();
|
Object other$termsOfServiceUrl = other.getTermsOfServiceUrl();
|
if (this$termsOfServiceUrl == null) {
|
if (other$termsOfServiceUrl != null) {
|
return false;
|
}
|
} else if (!this$termsOfServiceUrl.equals(other$termsOfServiceUrl)) {
|
return false;
|
}
|
Object this$host = getHost();
|
Object other$host = other.getHost();
|
if (this$host == null) {
|
if (other$host != null) {
|
return false;
|
}
|
} else if (!this$host.equals(other$host)) {
|
return false;
|
}
|
Object this$contact = getContact();
|
Object other$contact = other.getContact();
|
if (this$contact == null) {
|
if (other$contact != null) {
|
return false;
|
}
|
} else if (!this$contact.equals(other$contact)) {
|
return false;
|
}
|
Object this$authorization = getAuthorization();
|
Object other$authorization = other.getAuthorization();
|
return this$authorization == null ? other$authorization == null : this$authorization.equals(other$authorization);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof SwaggerProperties;
|
}
|
|
public int hashCode() {
|
Object $basePackages = getBasePackages();
|
int result = (1 * 59) + ($basePackages == null ? 43 : $basePackages.hashCode());
|
Object $basePath = getBasePath();
|
int result2 = (result * 59) + ($basePath == null ? 43 : $basePath.hashCode());
|
Object $excludePath = getExcludePath();
|
int result3 = (result2 * 59) + ($excludePath == null ? 43 : $excludePath.hashCode());
|
Object $title = getTitle();
|
int result4 = (result3 * 59) + ($title == null ? 43 : $title.hashCode());
|
Object $description = getDescription();
|
int result5 = (result4 * 59) + ($description == null ? 43 : $description.hashCode());
|
Object $version = getVersion();
|
int result6 = (result5 * 59) + ($version == null ? 43 : $version.hashCode());
|
Object $license = getLicense();
|
int result7 = (result6 * 59) + ($license == null ? 43 : $license.hashCode());
|
Object $licenseUrl = getLicenseUrl();
|
int result8 = (result7 * 59) + ($licenseUrl == null ? 43 : $licenseUrl.hashCode());
|
Object $termsOfServiceUrl = getTermsOfServiceUrl();
|
int result9 = (result8 * 59) + ($termsOfServiceUrl == null ? 43 : $termsOfServiceUrl.hashCode());
|
Object $host = getHost();
|
int result10 = (result9 * 59) + ($host == null ? 43 : $host.hashCode());
|
Object $contact = getContact();
|
int result11 = (result10 * 59) + ($contact == null ? 43 : $contact.hashCode());
|
Object $authorization = getAuthorization();
|
return (result11 * 59) + ($authorization == null ? 43 : $authorization.hashCode());
|
}
|
|
public String toString() {
|
return "SwaggerProperties(basePackages=" + getBasePackages() + ", basePath=" + getBasePath() + ", excludePath=" + getExcludePath() + ", title=" + getTitle() + ", description=" + getDescription() + ", version=" + getVersion() + ", license=" + getLicense() + ", licenseUrl=" + getLicenseUrl() + ", termsOfServiceUrl=" + getTermsOfServiceUrl() + ", host=" + getHost() + ", contact=" + getContact() + ", authorization=" + getAuthorization() + ")";
|
}
|
|
public List<String> getBasePackages() {
|
return this.basePackages;
|
}
|
|
public List<String> getBasePath() {
|
return this.basePath;
|
}
|
|
public List<String> getExcludePath() {
|
return this.excludePath;
|
}
|
|
public String getTitle() {
|
return this.title;
|
}
|
|
public String getDescription() {
|
return this.description;
|
}
|
|
public String getVersion() {
|
return this.version;
|
}
|
|
public String getLicense() {
|
return this.license;
|
}
|
|
public String getLicenseUrl() {
|
return this.licenseUrl;
|
}
|
|
public String getTermsOfServiceUrl() {
|
return this.termsOfServiceUrl;
|
}
|
|
public String getHost() {
|
return this.host;
|
}
|
|
public Contact getContact() {
|
return this.contact;
|
}
|
|
public Authorization getAuthorization() {
|
return this.authorization;
|
}
|
|
/* loaded from: blade-starter-swagger-9.3.0.0-SNAPSHOT.jar:org/springblade/core/swagger/SwaggerProperties$Contact.class */
|
public static class Contact {
|
private String name = "chillzhuang";
|
private String url = "https://gitee.com/smallc";
|
private String email = "smallchill@163.com";
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setUrl(final String url) {
|
this.url = url;
|
}
|
|
public void setEmail(final String email) {
|
this.email = email;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof Contact) {
|
Contact other = (Contact) o;
|
if (other.canEqual(this)) {
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$url = getUrl();
|
Object other$url = other.getUrl();
|
if (this$url == null) {
|
if (other$url != null) {
|
return false;
|
}
|
} else if (!this$url.equals(other$url)) {
|
return false;
|
}
|
Object this$email = getEmail();
|
Object other$email = other.getEmail();
|
return this$email == null ? other$email == null : this$email.equals(other$email);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof Contact;
|
}
|
|
public int hashCode() {
|
Object $name = getName();
|
int result = (1 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $url = getUrl();
|
int result2 = (result * 59) + ($url == null ? 43 : $url.hashCode());
|
Object $email = getEmail();
|
return (result2 * 59) + ($email == null ? 43 : $email.hashCode());
|
}
|
|
public String toString() {
|
return "SwaggerProperties.Contact(name=" + getName() + ", url=" + getUrl() + ", email=" + getEmail() + ")";
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getUrl() {
|
return this.url;
|
}
|
|
public String getEmail() {
|
return this.email;
|
}
|
}
|
|
/* loaded from: blade-starter-swagger-9.3.0.0-SNAPSHOT.jar:org/springblade/core/swagger/SwaggerProperties$Authorization.class */
|
public static class Authorization {
|
private String name = "";
|
private String authRegex = "^.*$";
|
private List<AuthorizationScope> authorizationScopeList = new ArrayList();
|
private List<AuthorizationApiKey> authorizationApiKeyList = new ArrayList();
|
private List<String> tokenUrlList = new ArrayList();
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setAuthRegex(final String authRegex) {
|
this.authRegex = authRegex;
|
}
|
|
public void setAuthorizationScopeList(final List<AuthorizationScope> authorizationScopeList) {
|
this.authorizationScopeList = authorizationScopeList;
|
}
|
|
public void setAuthorizationApiKeyList(final List<AuthorizationApiKey> authorizationApiKeyList) {
|
this.authorizationApiKeyList = authorizationApiKeyList;
|
}
|
|
public void setTokenUrlList(final List<String> tokenUrlList) {
|
this.tokenUrlList = tokenUrlList;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof Authorization) {
|
Authorization other = (Authorization) o;
|
if (other.canEqual(this)) {
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$authRegex = getAuthRegex();
|
Object other$authRegex = other.getAuthRegex();
|
if (this$authRegex == null) {
|
if (other$authRegex != null) {
|
return false;
|
}
|
} else if (!this$authRegex.equals(other$authRegex)) {
|
return false;
|
}
|
Object this$authorizationScopeList = getAuthorizationScopeList();
|
Object other$authorizationScopeList = other.getAuthorizationScopeList();
|
if (this$authorizationScopeList == null) {
|
if (other$authorizationScopeList != null) {
|
return false;
|
}
|
} else if (!this$authorizationScopeList.equals(other$authorizationScopeList)) {
|
return false;
|
}
|
Object this$authorizationApiKeyList = getAuthorizationApiKeyList();
|
Object other$authorizationApiKeyList = other.getAuthorizationApiKeyList();
|
if (this$authorizationApiKeyList == null) {
|
if (other$authorizationApiKeyList != null) {
|
return false;
|
}
|
} else if (!this$authorizationApiKeyList.equals(other$authorizationApiKeyList)) {
|
return false;
|
}
|
Object this$tokenUrlList = getTokenUrlList();
|
Object other$tokenUrlList = other.getTokenUrlList();
|
return this$tokenUrlList == null ? other$tokenUrlList == null : this$tokenUrlList.equals(other$tokenUrlList);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof Authorization;
|
}
|
|
public int hashCode() {
|
Object $name = getName();
|
int result = (1 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $authRegex = getAuthRegex();
|
int result2 = (result * 59) + ($authRegex == null ? 43 : $authRegex.hashCode());
|
Object $authorizationScopeList = getAuthorizationScopeList();
|
int result3 = (result2 * 59) + ($authorizationScopeList == null ? 43 : $authorizationScopeList.hashCode());
|
Object $authorizationApiKeyList = getAuthorizationApiKeyList();
|
int result4 = (result3 * 59) + ($authorizationApiKeyList == null ? 43 : $authorizationApiKeyList.hashCode());
|
Object $tokenUrlList = getTokenUrlList();
|
return (result4 * 59) + ($tokenUrlList == null ? 43 : $tokenUrlList.hashCode());
|
}
|
|
public String toString() {
|
return "SwaggerProperties.Authorization(name=" + getName() + ", authRegex=" + getAuthRegex() + ", authorizationScopeList=" + getAuthorizationScopeList() + ", authorizationApiKeyList=" + getAuthorizationApiKeyList() + ", tokenUrlList=" + getTokenUrlList() + ")";
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getAuthRegex() {
|
return this.authRegex;
|
}
|
|
public List<AuthorizationScope> getAuthorizationScopeList() {
|
return this.authorizationScopeList;
|
}
|
|
public List<AuthorizationApiKey> getAuthorizationApiKeyList() {
|
return this.authorizationApiKeyList;
|
}
|
|
public List<String> getTokenUrlList() {
|
return this.tokenUrlList;
|
}
|
}
|
|
/* loaded from: blade-starter-swagger-9.3.0.0-SNAPSHOT.jar:org/springblade/core/swagger/SwaggerProperties$AuthorizationScope.class */
|
public static class AuthorizationScope {
|
private String name = "";
|
private String scope = "";
|
private String description = "";
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setScope(final String scope) {
|
this.scope = scope;
|
}
|
|
public void setDescription(final String description) {
|
this.description = description;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof AuthorizationScope) {
|
AuthorizationScope other = (AuthorizationScope) o;
|
if (other.canEqual(this)) {
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$scope = getScope();
|
Object other$scope = other.getScope();
|
if (this$scope == null) {
|
if (other$scope != null) {
|
return false;
|
}
|
} else if (!this$scope.equals(other$scope)) {
|
return false;
|
}
|
Object this$description = getDescription();
|
Object other$description = other.getDescription();
|
return this$description == null ? other$description == null : this$description.equals(other$description);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof AuthorizationScope;
|
}
|
|
public int hashCode() {
|
Object $name = getName();
|
int result = (1 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $scope = getScope();
|
int result2 = (result * 59) + ($scope == null ? 43 : $scope.hashCode());
|
Object $description = getDescription();
|
return (result2 * 59) + ($description == null ? 43 : $description.hashCode());
|
}
|
|
public String toString() {
|
return "SwaggerProperties.AuthorizationScope(name=" + getName() + ", scope=" + getScope() + ", description=" + getDescription() + ")";
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getScope() {
|
return this.scope;
|
}
|
|
public String getDescription() {
|
return this.description;
|
}
|
}
|
|
/* loaded from: blade-starter-swagger-9.3.0.0-SNAPSHOT.jar:org/springblade/core/swagger/SwaggerProperties$AuthorizationApiKey.class */
|
public static class AuthorizationApiKey {
|
private String name = "";
|
private String keyName = "";
|
private String passAs = "";
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setKeyName(final String keyName) {
|
this.keyName = keyName;
|
}
|
|
public void setPassAs(final String passAs) {
|
this.passAs = passAs;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof AuthorizationApiKey) {
|
AuthorizationApiKey other = (AuthorizationApiKey) o;
|
if (other.canEqual(this)) {
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$keyName = getKeyName();
|
Object other$keyName = other.getKeyName();
|
if (this$keyName == null) {
|
if (other$keyName != null) {
|
return false;
|
}
|
} else if (!this$keyName.equals(other$keyName)) {
|
return false;
|
}
|
Object this$passAs = getPassAs();
|
Object other$passAs = other.getPassAs();
|
return this$passAs == null ? other$passAs == null : this$passAs.equals(other$passAs);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof AuthorizationApiKey;
|
}
|
|
public int hashCode() {
|
Object $name = getName();
|
int result = (1 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $keyName = getKeyName();
|
int result2 = (result * 59) + ($keyName == null ? 43 : $keyName.hashCode());
|
Object $passAs = getPassAs();
|
return (result2 * 59) + ($passAs == null ? 43 : $passAs.hashCode());
|
}
|
|
public String toString() {
|
return "SwaggerProperties.AuthorizationApiKey(name=" + getName() + ", keyName=" + getKeyName() + ", passAs=" + getPassAs() + ")";
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getKeyName() {
|
return this.keyName;
|
}
|
|
public String getPassAs() {
|
return this.passAs;
|
}
|
}
|
}
|