public class taOpenApi.Operation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected JSONObject |
oOp |
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
getContentTypes()
Return the available content types of the Operation
|
java.lang.String |
getDescription()
Get the description of the Operation
|
java.util.Vector |
getHeaderParameters()
Get the list of header parameters
|
java.lang.String |
getHttpVerb()
Get the http verb of the Operation
|
java.lang.String |
getOperationId()
Returns the unique ID of the Operation, if available
|
java.lang.String |
getOperationName()
Returns the unique name of the Operation
The name is the path and verb as returned by taOpenApi.getOperationList() e.g. |
java.lang.String |
getPath()
Return the path of the operation.
|
java.util.Vector |
getPathParameters()
Get the list of path parameters
|
java.util.Vector |
getQueryParameters()
Get the list of query parameters
|
taOpenApi.RequestBody |
getRequestBody(java.lang.String contentType)
Get the request body for the specified contentType
If you don't know the content type or if you do not care, pass null as contentType. |
java.lang.String |
getUniqueId()
Returns a unique Id, generated from the operation name
|
protected JSONObject oOp
public java.lang.String getDescription()
public java.lang.String getOperationId()
public java.lang.String getOperationName()
public java.lang.String getPath()
public java.util.Vector getContentTypes()
public java.util.Vector getHeaderParameters()
public java.util.Vector getPathParameters()
public java.util.Vector getQueryParameters()
public taOpenApi.RequestBody getRequestBody(java.lang.String contentType)
contentType
- The contentType you want the request body for, e.g.
"application/json" or "text/xml"public java.lang.String getUniqueId()
public java.lang.String getHttpVerb()