Share via


OpenApiDocumentParserOptions.OperationSelectionPredicate Property

Definition

Operation selection predicate to apply to all OpenAPI document operations. If set, the predicate will be applied to each operation in the document. If the predicate returns true, the operation will be parsed; otherwise, it will be skipped. This can be used to filter out operations that should not be imported for various reasons.

public Func<Microsoft.SemanticKernel.Plugins.OpenApi.OperationSelectionPredicateContext,bool>? OperationSelectionPredicate { get; set; }
member this.OperationSelectionPredicate : Func<Microsoft.SemanticKernel.Plugins.OpenApi.OperationSelectionPredicateContext, bool> with get, set
Public Property OperationSelectionPredicate As Func(Of OperationSelectionPredicateContext, Boolean)

Property Value

Applies to