OpenApiPathItem.AddOperation(OperationType, OpenApiOperation) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add one operation into this path item.
public void AddOperation (Microsoft.OpenApi.Models.OperationType operationType, Microsoft.OpenApi.Models.OpenApiOperation operation);
member this.AddOperation : Microsoft.OpenApi.Models.OperationType * Microsoft.OpenApi.Models.OpenApiOperation -> unit
Public Sub AddOperation (operationType As OperationType, operation As OpenApiOperation)
Parameters
- operationType
- OperationType
The operation type kind.
- operation
- OpenApiOperation
The operation item.