C# Class Basic.Swagger.ExamplesSchemaFilter

Inheritance: ISchemaFilter
Show file Open project: luoyunchong/IGeekFan.AspNetCore.RapiDoc

Public Methods

Method Description
Apply ( OpenApiSchema schema, SchemaFilterContext context ) : void

Private Methods

Method Description
GetExampleOrNullFor ( Type type ) : IOpenApiAny

Method Details

Apply() public method

public Apply ( OpenApiSchema schema, SchemaFilterContext context ) : void
schema OpenApiSchema
context SchemaFilterContext
return void