Class SlardarSwaggerProp
-
- All Implemented Interfaces:
@ConfigurationProperties(value = SlardarSwaggerProp.Key) public class SlardarSwaggerProp
- Since:
2021-02-14
trydofor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSlardarSwaggerProp.EnabledParameter
-
Field Summary
Fields Modifier and Type Field Description public final static StringKeypublic Stringtitlepublic final static StringKey$titlepublic Stringdescriptionpublic final static StringKey$descriptionpublic Stringversionpublic final static StringKey$versionpublic Map<String, SlardarSwaggerProp.EnabledParameter>parampublic final static StringKey$parampublic Map<String, String>acceptpublic final static StringKey$acceptpublic final static StringKey$flatPagequery
-
Constructor Summary
Constructors Constructor Description SlardarSwaggerProp()
-
Method Summary
Modifier and Type Method Description StringgetTitle()voidsetTitle(String title)StringgetDescription()voidsetDescription(String description)StringgetVersion()need enable build info voidsetVersion(String version)need enable build info Map<String, SlardarSwaggerProp.EnabledParameter>getParam()key in java naming rule, used as `$ref`, `in` support `cookie`|`header`|`query`|`path`. voidsetParam(Map<String, SlardarSwaggerProp.EnabledParameter> param)key in java naming rule, used as `$ref`, `in` support `cookie`|`header`|`query`|`path`. Map<String, String>getAccept()copy Accept/MediaType to make multiple requests. voidsetAccept(Map<String, String> accept)copy Accept/MediaType to make multiple requests. List<Parameter>toRefPara()Map<String, Parameter>toComPara()booleanisFlatPagequery()whether to flatten the PageQuery, as querystring parameter. booleanequals(@Nullable() Object o)inthashCode()StringtoString()voidsetFlatPagequery(boolean flatPagequery)whether to flatten the PageQuery, as querystring parameter. -
-
Method Detail
-
getDescription
String getDescription()
-
setDescription
void setDescription(String description)
-
getVersion
String getVersion()
need enable build info
-
setVersion
void setVersion(String version)
need enable build info
-
getParam
Map<String, SlardarSwaggerProp.EnabledParameter> getParam()
key in java naming rule, used as `$ref`, `in` support `cookie`|`header`|`query`|`path`.
-
setParam
void setParam(Map<String, SlardarSwaggerProp.EnabledParameter> param)
key in java naming rule, used as `$ref`, `in` support `cookie`|`header`|`query`|`path`.
-
setAccept
void setAccept(Map<String, String> accept)
copy Accept/MediaType to make multiple requests.
-
isFlatPagequery
boolean isFlatPagequery()
whether to flatten the PageQuery, as querystring parameter.
-
hashCode
int hashCode()
-
setFlatPagequery
void setFlatPagequery(boolean flatPagequery)
whether to flatten the PageQuery, as querystring parameter.
-
-
-
-