Modifier and Type | Method and Description |
---|---|
protected OasOperation |
ReplaceOperationCommand.readNode(Document doc,
Object node) |
Modifier and Type | Method and Description |
---|---|
protected void |
ReplaceOperationCommand.addNode(Document doc,
OasOperation node) |
static ICommand |
CommandFactory.createDeleteAllResponsesCommand(OasOperation operation) |
static ICommand |
CommandFactory.createNewRequestBodyCommand(DocumentType docType,
OasOperation operation) |
static ICommand |
CommandFactory.createNewResponseCommand(OasOperation operation,
String statusCode,
OasResponse sourceResponse) |
static ICommand |
CommandFactory.createReplaceOperationCommand(OasOperation old,
OasOperation replacement) |
protected void |
NewRequestBodyCommand_30.doCreateRequestBody(OasOperation operation) |
protected void |
NewRequestBodyCommand_20.doCreateRequestBody(OasOperation operation) |
protected abstract void |
NewRequestBodyCommand.doCreateRequestBody(OasOperation operation)
Creates an empty request body for the given operation.
|
protected void |
NewRequestBodyCommand_30.doRemoveRequestBody(OasOperation operation) |
protected void |
NewRequestBodyCommand_20.doRemoveRequestBody(OasOperation operation) |
protected abstract void |
NewRequestBodyCommand.doRemoveRequestBody(OasOperation operation)
Removes the request body.
|
OasParameter |
NewParamCommand.findOverridableParam(OasOperation operation)
Tries to find the parameter being overridden (if any).
|
protected boolean |
NewRequestBodyCommand_30.hasRequestBody(OasOperation operation) |
protected boolean |
NewRequestBodyCommand_20.hasRequestBody(OasOperation operation) |
protected abstract boolean |
NewRequestBodyCommand.hasRequestBody(OasOperation operation)
Returns true if the given operation already has a body parameter.
|
protected void |
ReplaceOperationCommand.removeNode(Document doc,
OasOperation node) |
Modifier and Type | Method and Description |
---|---|
protected List<OasParameter> |
OasInvalidPropertyValueRule.mergeParameters(OasOperation node)
Merges all parameters applicable for an operation - those defined within the operation and those defined at the pathItem level.
|
Modifier and Type | Field and Description |
---|---|
OasOperation |
OasPathItem.delete |
OasOperation |
OasPathItem.get |
OasOperation |
OasPathItem.head |
OasOperation |
OasPathItem.options |
OasOperation |
OasPathItem.patch |
OasOperation |
OasPathItem.post |
OasOperation |
OasPathItem.put |
Modifier and Type | Method and Description |
---|---|
abstract OasOperation |
OasPathItem.createOperation(String method)
Creates an OAS operation object.
|
Modifier and Type | Method and Description |
---|---|
void |
OasPathItem.setOperation(OasOperation operation)
Sets the given operation on this path item.
|
Modifier and Type | Class and Description |
---|---|
class |
Oas20Operation
Models an OpenAPI 2.0 operation.
|
Modifier and Type | Method and Description |
---|---|
OasOperation |
Oas20PathItem.createOperation(String method) |
Modifier and Type | Class and Description |
---|---|
class |
Oas30Operation
Models an OpenAPI 3.0.x operation.
|
Modifier and Type | Method and Description |
---|---|
OasOperation |
Oas30PathItem.createOperation(String method) |
Modifier and Type | Method and Description |
---|---|
void |
Oas30PathItem.setOperation(OasOperation operation) |
Copyright © 2020 Red Hat. All rights reserved.