Package io.swagger.annotations
Annotation Type Contact
-
@Target(ANNOTATION_TYPE) @Retention(RUNTIME) public @interface Contact
Contact metadata available within the info section of a Swagger definition - see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#contactObject- Since:
- 1.5.0
-
-
Element Detail
-
name
String name
The name of the contact.- Returns:
- the name of the contact
-
-
-
url
String url
Optional URL associated with this contact.- Returns:
- an optional URL associated with this contact
- Default:
- ""
-
-
-
email
String email
Optional email for this contact.- Returns:
- an optional email for this contact
- Default:
- ""
-
-