@Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) public @interface Info
Modifier and Type | Required Element and Description |
---|---|
String |
title
The title of the API.
|
String |
version
The version of your API.
|
Modifier and Type | Optional Element and Description |
---|---|
Contact |
contact
Optional contact information for this API.
|
String |
description
An optional description of the API.
|
Extension[] |
extensions
Optional list of extensions for this API.
|
License |
license
Optional license information for this API.
|
String |
termsOfService
An optional terms of service for this API.
|
public abstract String title
public abstract String version
public abstract String description
public abstract String termsOfService
public abstract Contact contact
public abstract License license
Copyright © 2015. All Rights Reserved.