| Modifier and Type | Method and Description |
|---|---|
| public default Info | |
| public default Info | Returns: this Info instancea short description for the application description)Sets this Info instance's description for the application to the given description and returns this instance of Info. |
| public Contact | Returns: the contact information for the exposed APIReturns the contact information for the exposed API from this Info instance. |
| public String | Returns: a short description of the applicationReturns a short description for the application for this Info instance. |
| public License | Returns: the license information for the exposed APIReturns the license information for the exposed API from this Info instance. |
| public String | Returns: the summary of the exposed APIReturns the summary of the exposed API from this Info instance. |
| public String | Returns: a URL to the Terms of Service for the APIReturns the URL to the Terms of Service for the API for this instance of Info. |
| public String | Returns: the title of the applicationReturns the title for the application for this instance of Info |
| public String | Returns: the version of the OpenAPI documentReturns the version of the OpenAPI document for this Info instance. |
| public default Info | |
| public void | setContact(Contact
the contact information for the exposed API contact)Sets this Info instance's contact information for the exposed API. |
| public void | setDescription(String
a short description for the application description)Sets this Info instance's description for the application to the given description. |
| public void | setLicense(License
the license information for the exposed API license)Sets this Info's license information for the exposed API. |
| public void | setSummary(String
the summary of the exposed API summary)Sets this Info instance's summary information for the exposed API. |
| public void | setTermsOfService(String
the URL to the Terms of Service for the API termsOfService)Sets this Info instance's URL to the Terms of Service for the API to the given String. |
| public void | |
| public void | setVersion(String
the version of the OpenAPI document version)Sets the version of the OpenAPI document for this instance of Info to the given version. |
| public default Info | |
| public default Info | Returns: this Info instancethe URL to the Terms of Service for the API 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. |
| public default Info | |
| public default Info |
| contact | back to summary |
|---|---|
| public default Info contact(Contact contact) Sets this Info instance's contact information for the exposed API and returns this instance of Info. | |
| description | back to summary |
|---|---|
| public default Info description(String description) Sets this Info instance's description for the application to the given description and returns this instance of Info. | |
| getContact | back to summary |
|---|---|
| public Contact getContact() Returns the contact information for the exposed API from this Info instance.
| |
| getDescription | back to summary |
|---|---|
| public String getDescription() Returns a short description for the application for this Info instance.
| |
| getLicense | back to summary |
|---|---|
| public License getLicense() Returns the license information for the exposed API from this Info instance.
| |
| getSummary | back to summary |
|---|---|
| public String getSummary() Returns the summary of the exposed API from this Info instance.
| |
| getTermsOfService | back to summary |
|---|---|
| public String getTermsOfService() Returns the URL to the Terms of Service for the API for this instance of Info.
| |
| getTitle | back to summary |
|---|---|
| public String getTitle() Returns the title for the application for this instance of Info
| |
| getVersion | back to summary |
|---|---|
| public String getVersion() Returns the version of the OpenAPI document for this Info instance.
| |
| license | back to summary |
|---|---|
| public default Info license(License license) Sets this Info's license information for the exposed API and returns this instance of Info. | |
| setContact | back to summary |
|---|---|
| public void setContact(Contact contact) Sets this Info instance's contact information for the exposed API.
| |
| setDescription | back to summary |
|---|---|
| public void setDescription(String description) Sets this Info instance's description for the application to the given description.
| |
| setLicense | back to summary |
|---|---|
| public void setLicense(License license) Sets this Info's license information for the exposed API.
| |
| setSummary | back to summary |
|---|---|
| public void setSummary(String summary) Sets this Info instance's summary information for the exposed API.
| |
| setTermsOfService | back to summary |
|---|---|
| public void setTermsOfService(String termsOfService) Sets this Info instance's URL to the Terms of Service for the API to the given String. The URL must be in the format of a URL.
| |
| setTitle | back to summary |
|---|---|
| public void setTitle(String title) Sets this Info instance's title for the application to the given title.
| |
| setVersion | back to summary |
|---|---|
| public void setVersion(String version) Sets the version of the OpenAPI document for this instance of Info to the given version.
| |
| summary | back to summary |
|---|---|
| public default Info summary(String summary) Sets this Info instance's summary of the API to the given summary and returns this instance of Info. | |
| termsOfService | back to summary |
|---|---|
| public default Info termsOfService(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. The URL must be in the format of a URL. | |
| title | back to summary |
|---|---|
| public default Info title(String title) Sets this Info instance's title for the application to the given title and returns this instance of Info | |
| version | back to summary |
|---|---|
| public default Info version(String version) Sets the version of the OpenAPI document for this instance of Info to the given version and returns this instance of Info | |