public static final class OpenApiProtocol.Operation
extends java.lang.Object
OpenApi.Builder
.Modifier and Type | Method and Description |
---|---|
static OpenApiProtocol.Operation |
create(java.lang.String method,
java.lang.String uri,
OperationObject.Builder operation)
Creates a new operation entry.
|
java.lang.String |
getMethod() |
OperationObject.Builder |
getOperation() |
java.lang.String |
getUri() |
public static OpenApiProtocol.Operation create(java.lang.String method, java.lang.String uri, OperationObject.Builder operation)
method
- HTTP method used for the operation.uri
- HTTP URI of the operation.operation
- Operation builder to return.public java.lang.String getMethod()
public java.lang.String getUri()
public OperationObject.Builder getOperation()