Share via


OpenApiPathItem.AddOperation(OperationType, OpenApiOperation) Method

Definition

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.

Applies to