Annotation Type Contact
Swagger contact annotation.
The contact information for the exposed API.
Used to populate the auto-generated Swagger documentation and UI for server-side
Example:
See Also:
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionemail field of the Swagger Contact Object.name field of the Swagger Contact Object.url field of the Swagger Contact Object.
-
Element Details
-
email
email field of the Swagger Contact Object.The email address of the contact person/organization. MUST be in the format of an email address.
Notes:
- The format is an email string.
-
Supports SVL Variables (e.g.
"$L{my.localized.variable}" ) for the swagger generator.
- Returns:
- The annotation value.
- Default:
- ""
-
name
name field of the Swagger Contact Object.The identifying name of the contact person/organization.
Notes:
- The format is a plain-text string.
-
Supports SVL Variables (e.g.
"$L{my.localized.variable}" ) for the swagger generator.
- Returns:
- The annotation value.
- Default:
- ""
-
url
url field of the Swagger Contact Object.The URL pointing to the contact information. MUST be in the format of a URL.
Notes:
- The format is a URL string.
-
Supports SVL Variables
(e.g.
"$L{my.localized.variable}" ).
- Returns:
- The annotation value.
- Default:
- ""
-