RestApiParameterFilter Delegate   
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.
Represents a delegate for filtering RestApiParameter instances.
public delegate Microsoft.SemanticKernel.Plugins.OpenApi.RestApiParameter? RestApiParameterFilter(RestApiParameterFilterContext context);type RestApiParameterFilter = delegate of RestApiParameterFilterContext -> RestApiParameterPublic Delegate Function RestApiParameterFilter(context As RestApiParameterFilterContext) As RestApiParameter Parameters
- context
- RestApiParameterFilterContext
Instance of RestApiParameterFilterContext containing details of the parameter to filter.
Return Value
Remarks
Implementations of this delegate can either return null which will cause the parameter to be removed from the REST API or return a new instance of RestApiParameter which will replace the original parameter.