C# Class DotNetBestPractices.Host.SwaggerDefaultValues

Represents the Swagger/Swashbuckle operation filter used to document the implicit API version parameter.
This IOperationFilter is only required due to bugs in the SwaggerGenerator. Once they are fixed and published, this class can be removed.
Inheritance: IOperationFilter
Show file Open project: khellang/DotNetBestPractices

Public Methods

Method Description
Apply ( OpenApiOperation operation, OperationFilterContext context ) : void

Applies the filter to the specified operation using the given context.

Method Details

Apply() public method

Applies the filter to the specified operation using the given context.
public Apply ( OpenApiOperation operation, OperationFilterContext context ) : void
operation OpenApiOperation The operation to apply the filter to.
context OperationFilterContext The current operation filter context.
return void