Annotation Type Contact
-
@Target({}) @Retention(RUNTIME) @Inherited public @interface Contact
Contact information for the exposed API.- See Also:
- OpenAPI Specification Contact Object
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
email
The email address of the contact person/organization.Extension[]
extensions
List of extensions to be added to theContact
model corresponding to the containing annotation.String
name
The identifying name of the contact person/organization.String
url
The URL pointing to the contact information.
-
-
-
Element Detail
-
name
String name
The identifying name of the contact person/organization.- Returns:
- the name of the contact
- Default:
- ""
-
-
-
url
String url
The URL pointing to the contact information. Must be in the format of a URL.- Returns:
- the URL of the contact
- Default:
- ""
-
-
-
email
String email
The email address of the contact person/organization. Must be in the format of an email address.- Returns:
- the email address of the contact
- Default:
- ""
-
-