Package io.swagger.annotations
Annotation Type Info
- 
 @Target(ANNOTATION_TYPE) @Retention(RUNTIME) public @interface Info High-level metadata for a Swagger definition - see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#infoObject- Since:
- 1.5.0
 
- 
- 
Optional Element SummaryOptional Elements Modifier and Type Optional Element Description ContactcontactOptional contact information for this API.StringdescriptionAn optional description of the API.Extension[]extensionsOptional list of extensions for this API.LicenselicenseOptional license information for this API.StringtermsOfServiceAn optional terms of service for this API.
 
- 
- 
- 
Element Detail- 
titleString title The title of the API.- Returns:
- the title of the API
 
 
- 
 - 
- 
versionString version The version of your API.- Returns:
- the version of your API
 
 
- 
 - 
- 
descriptionString description An optional description of the API.- Returns:
- an optional description of the API
 - Default:
- ""
 
 
- 
 - 
- 
termsOfServiceString termsOfService An optional terms of service for this API.- Returns:
- an optional terms of service for this API
 - Default:
- ""
 
 
- 
 - 
- 
contactContact contact Optional contact information for this API.- Returns:
- optional contact information for this API
 - Default:
- @io.swagger.annotations.Contact(name="")
 
 
- 
 - 
- 
licenseLicense license Optional license information for this API.- Returns:
- optional license information for this API
 - Default:
- @io.swagger.annotations.License(name="")
 
 
- 
 
-