@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.
|
String |
description
A verbose description of the operation.
|
Extension[] |
extensions
The list of optional extensions
|
ExternalDocumentation |
externalDocs
Additional external documentation for this operation.
|
String |
method
The HTTP method for this operation.
|
String |
operationId
The operationId is used by third-party tools to uniquely identify this operation.
|
Parameter[] |
parameters
An optional array of parameters which will be added to any automatically detected parameters in the method itself.
|
ApiResponse[] |
responses
The list of possible responses as they are returned from executing this operation.
|
SecurityRequirement[] |
security
A declaration of which security mechanisms can be used for this operation.
|
Server[] |
servers
An alternative server array to service this operation.
|
String |
summary
Provides a brief description of this operation.
|
String[] |
tags
Tags can be used for logical grouping of operations by resources or any other qualifier.
|
public abstract String method
public abstract String[] tags
public abstract String summary
public abstract String description
public abstract ExternalDocumentation externalDocs
public abstract String operationId
public abstract Parameter[] parameters
public abstract ApiResponse[] responses
public abstract boolean deprecated
public abstract SecurityRequirement[] security
public abstract Server[] servers
public abstract Extension[] extensions
Copyright © 2017. All Rights Reserved.