Class SwaggerDefaultHeaderFilter
Filter responsible for set headers on swagger.
Inheritance
System.Object
SwaggerDefaultHeaderFilter
Namespace: StoneCo.Framework.Host.Api.Filters
Assembly: cs.temp.dll.dll
Syntax
public class SwaggerDefaultHeaderFilter : IOperationFilter
Methods
Apply(OpenApiOperation, OperationFilterContext)
Apply operation on filter.
Declaration
public void Apply(OpenApiOperation operation, OperationFilterContext context)
Parameters
Type | Name | Description |
---|---|---|
OpenApiOperation | operation | Operation that including filters. |
OperationFilterContext | context | Context of operation filter. |