Table of Contents

Apply Method

Definition

Namespace
Codebelt.Extensions.Swashbuckle.AspNetCore
Assemblies
Codebelt.Extensions.Swashbuckle.AspNetCore.dll
Source
src/Codebelt.Extensions.Swashbuckle.AspNetCore/OperationFilter.cs

Apply(OpenApiOperation, OperationFilterContext)

Applies post-processing to the operation.

public abstract void Apply(OpenApiOperation operation, OperationFilterContext context)

Parameters

operation OpenApiOperation

The OpenApiOperation to modify.

context OperationFilterContext

The OperationFilterContext that provides additional context.

Remarks

Swashbuckle retrieves an ApiDescription for every action and uses it to generate a corresponding OpenApiOperation.