@Target(value=METHOD) @Retention(value=RUNTIME) @Inherited public @interface ApiOperation
| Modifier and Type | Required Element and Description | 
|---|---|
| String | valueCorresponds to the `summary` field of the operation. | 
| Modifier and Type | Optional Element and Description | 
|---|---|
| Authorization[] | authorizationsCorresponds to the `authorizations` field of the operation. | 
| String | consumesCorresponds to the `consumes` field of the operation. | 
| boolean | hiddenHides the operation from the list of operations. | 
| String | httpMethodCorresponds to the `method` field as the HTTP method used. | 
| String | nicknameCorresponds to the `nickname` field. | 
| String | notesCorresponds to the 'notes' field of the operation. | 
| int | positionOptional explicit ordering of this API resource in the Resource Listing. | 
| String | producesCorresponds to the `produces` field of the operation. | 
| String | protocolsThis property is currently not in use. | 
| Class<?> | responseThe response type of the operation. | 
| String | responseContainerNotes whether the response type is a list of values. | 
| String | tagsCurrently not implemented in readers, reserved for future use. | 
public abstract String value
public abstract String notes
public abstract Class<?> response
javax.ws.rs.core.Response. In that case, the operation return type would default to `void`
 as the actual response type cannot be known.
 
 Setting this property would override any automatically-derived data type.
 
 If the value used is a class representing a primitive (Integer, Long, ...)
 the corresponding primitive type will be used.public abstract String responseContainer
public abstract String tags
public abstract String httpMethod
@GET, @HEAD, @POST, @PUT, @DELETE and @OPTIONS.
 Note that even though not part of the JAX-RS specification, if you create and use the @PATCH annotation,
 it will also be parsed and used. If the httpMethod property is set, it will override the JAX-RS annotation.
 
 For Servlets, you must specify the HTTP method manually.
 
 Acceptable values are "GET", "HEAD", "POST", "PUT", "DELETE", "OPTIONS" and "PATCH".public abstract int position
public abstract String nickname
public abstract String produces
@Produces
 annotation if such exists. It can also be used to override the @Produces values
 for the Swagger documentation.public abstract String consumes
@Consumes
 annotation if such exists. It can also be used to override the @Consumes values
 for the Swagger documentation.public abstract String protocols
public abstract Authorization[] authorizations
Authorizationpublic abstract boolean hidden
Copyright © 2014. All Rights Reserved.