@Target(value=METHOD)
@Retention(value=RUNTIME)
@Inherited
public @interface Operation
Modifier and Type | Optional Element and Description |
---|---|
boolean |
deprecated
Allows an operation to be marked as deprecated.
|
java.lang.String |
description
A verbose description of the operation behaviour.
|
Extension[] |
extensions
List of extensions to be added to the
Operation model
corresponding to the containing annotation. |
boolean |
hidden
Allows this operation to be marked as hidden
|
java.lang.String |
operationId
Unique string used to identify the operation.
|
java.lang.String |
summary
Provides a brief description of what this operation does.
|
public abstract java.lang.String summary
public abstract java.lang.String description
public abstract java.lang.String operationId
Tools and libraries MAY use the operationId to uniquely identify an operation, therefore, it is RECOMMENDED to follow common programming naming conventions.
public abstract boolean deprecated
Consumers SHOULD refrain from usage of a deprecated operation.