C# Class Basic.Swagger.ExamplesSchemaFilter

Inheritance: ISchemaFilter
显示文件 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