@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 |
ExternalDocumentation |
externalDocs |
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
|
RequestBody |
requestBody |
ApiResponse[] |
responses |
Server[] |
servers |
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 RequestBody requestBody
public abstract ApiResponse[] responses
public abstract boolean deprecated
public abstract Server[] servers
public abstract Extension[] extensions
Copyright © 2017. All rights reserved.