public interface Info extends Constructible, Extensible
| Modifier and Type | Method and Description | 
|---|---|
Info | 
contact(Contact contact)
Sets this Info instance's contact information for the exposed API and returns this instance of Info. 
 | 
Info | 
description(java.lang.String description)
Sets this Info instance's description for the application to the given description and returns this instance of Info. 
 | 
Contact | 
getContact()
Returns the contact information for the exposed API from this Info instance. 
 | 
java.lang.String | 
getDescription()
Returns a short description for the application for this Info instance. 
 | 
License | 
getLicense()
Returns the license information for the exposed API from this Info instance. 
 | 
java.lang.String | 
getTermsOfService()
Returns the URL to the Terms of Service for the API for this instance of Info. 
 | 
java.lang.String | 
getTitle()
Returns the title for the application for this instance of Info 
 | 
java.lang.String | 
getVersion()
Returns the version of the OpenAPI document for this Info instance. 
 | 
Info | 
license(License license)
Sets this Info's license information for the exposed API and returns this instance of Info. 
 | 
void | 
setContact(Contact contact)
Sets this Info instance's contact information for the exposed API. 
 | 
void | 
setDescription(java.lang.String description)
Sets this Info instance's description for the application to the given description. 
 | 
void | 
setLicense(License license)
Sets this Info's license information for the exposed API. 
 | 
void | 
setTermsOfService(java.lang.String termsOfService)
Sets this Info instance's URL to the Terms of Service for the API to the given String. 
 | 
void | 
setTitle(java.lang.String title)
Sets this Info instance's title for the application to the given title. 
 | 
void | 
setVersion(java.lang.String version)
Sets the version of the OpenAPI document for this instance of Info to the given version. 
 | 
Info | 
termsOfService(java.lang.String termsOfService)
Sets this Info instance's URL to the Terms of Service for the API to the given String and returns this instance of Info. 
 | 
Info | 
title(java.lang.String title)
Sets this Info instance's title for the application to the given title and returns this instance of Info 
 | 
Info | 
version(java.lang.String version)
Sets the version of the OpenAPI document for this instance of Info to the given version and returns this instance of Info 
 | 
addExtension, getExtensions, setExtensionsjava.lang.String getTitle()
void setTitle(java.lang.String title)
title - the title of the applicationInfo title(java.lang.String title)
title - the title of the applicationjava.lang.String getDescription()
void setDescription(java.lang.String description)
description - a short description for the applicationInfo description(java.lang.String description)
description - a short description for the applicationjava.lang.String getTermsOfService()
void setTermsOfService(java.lang.String termsOfService)
termsOfService - the URL to the Terms of Service for the APIInfo termsOfService(java.lang.String termsOfService)
termsOfService - the URL to the Terms of Service for the APIContact getContact()
void setContact(Contact contact)
contact - the contact information for the exposed APIInfo contact(Contact contact)
contact - the contact information for the exposed APILicense getLicense()
void setLicense(License license)
license - the license information for the exposed APIInfo license(License license)
license - the license information for the exposed APIjava.lang.String getVersion()
void setVersion(java.lang.String version)
version - the version of the OpenAPI documentInfo version(java.lang.String version)
version - the version of the OpenAPI document