@Target(value={})
@Retention(value=RUNTIME)
@Inherited
public @interface CallbackOperation
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
description
A verbose description of the callback operation behavior.
|
Extension[] |
extensions
List of extensions to be added to the
Operation model
corresponding to the containing annotation. |
ExternalDocumentation |
externalDocs
Additional external documentation for this callback operation.
|
java.lang.String |
method
The HTTP method for this callback operation.
|
Parameter[] |
parameters
An array of parameters applicable for this callback operation, which will be added to any automatically detected
parameters in the method itself.
|
RequestBody |
requestBody
The request body applicable for this callback operation.
|
APIResponse[] |
responses
This is a REQUIRED property of an callback operation instance.
|
SecurityRequirement[] |
security
A declaration of which security mechanisms can be used for this callback operation.
|
SecurityRequirementsSet[] |
securitySets
A declaration of which security mechanisms can be used for this callback operation.
|
java.lang.String |
summary
Provides a brief description of what this callback operation does.
|
public abstract java.lang.String method
public abstract java.lang.String summary
public abstract java.lang.String description
public abstract ExternalDocumentation externalDocs
public abstract Parameter[] parameters
The list MUST NOT include duplicated parameters. A unique parameter is defined by a combination of a name and location.
public abstract RequestBody requestBody
public abstract APIResponse[] responses
The list of possible responses as they are returned from executing this callback operation.
public abstract SecurityRequirement[] security
Adding a SecurityRequirement
to this array is equivalent to adding a SecurityRequirementsSet
containing a single SecurityRequirement
to securitySets()
.
This definition overrides any declared top-level security. To remove a top-level security declaration, an empty array can be used.
public abstract SecurityRequirementsSet[] securitySets
This definition overrides any declared top-level security. To remove a top-level security declaration, an empty array can be used.
Including an empty set within this list indicates that the other requirements are optional.