Modifier and Type | Required Element and Description |
---|---|
String |
value
Brief description of the operation
|
Modifier and Type | Optional Element and Description |
---|---|
Authorization[] |
authorizations
authorizations required by this Api
|
String |
consumes
media type consumed by this Api
|
boolean |
hidden
Allows an operation to be marked as hidden
|
String |
httpMethod
the HTTP method, i.e GET, PUT, POST, DELETE, PATCH, OPTIONS
|
String |
nickname
the nickname for the operation, to override what is detected by the annotation scanner
|
String |
notes
long description of the operation
|
int |
position
allow explicit ordering of operations inside the Api Declaration
|
String |
produces
content type produced by this Api
|
String |
protocols
protocols that this Api requires (i.e.
|
Class<?> |
response
default response class from the operation
|
String |
responseContainer
if the response class is within a container, specify it here
|
ResponseHeader[] |
responseHeaders |
String[] |
tags
A list of tags for API documentation control.
|
public abstract String value
public abstract String notes
public abstract String[] tags
public abstract Class<?> response
public abstract String responseContainer
public abstract String httpMethod
public abstract int position
public abstract String nickname
public abstract String produces
public abstract String consumes
public abstract String protocols
public abstract Authorization[] authorizations
public abstract boolean hidden
public abstract ResponseHeader[] responseHeaders
Copyright © 2015. All Rights Reserved.