public class SwaggerOperation extends Object
This includes the path, method and operation components from the OAI spec object. Used as a convenience to hold related information in one place.
| Constructor and Description |
|---|
SwaggerOperation(NormalisedPath pathString,
io.swagger.models.Path pathObject,
io.swagger.models.HttpMethod method,
io.swagger.models.Operation operation) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClientId() |
String |
getEndpoint() |
io.swagger.models.HttpMethod |
getMethod() |
io.swagger.models.Operation |
getOperation() |
io.swagger.models.Path |
getPathObject() |
NormalisedPath |
getPathString() |
void |
setClientId(String clientId) |
void |
setEndpoint(String endpoint) |
public SwaggerOperation(NormalisedPath pathString, io.swagger.models.Path pathObject, io.swagger.models.HttpMethod method, io.swagger.models.Operation operation)
public NormalisedPath getPathString()
public io.swagger.models.Path getPathObject()
public io.swagger.models.HttpMethod getMethod()
public io.swagger.models.Operation getOperation()
public String getEndpoint()
public void setEndpoint(String endpoint)
public String getClientId()
public void setClientId(String clientId)
Copyright © 2017. All rights reserved.