Home ISchemaRefiner Interface
ISchemaRefiner Interface
Cancel

ISchemaRefiner Interface

Namespace: Json.Schema.Generation

Inheritance: ISchemaRefiner

Describes a schema generation refiner.

Remarks

Refiners run after attributes have been processed, before the schema itself is created. This is used to add customization logic.

Methods

Run(SchemaGenerationContextBase context)

Runs the refiner.

Declaration

1
public abstract void Run(SchemaGenerationContextBase context)
ParameterTypeDescription
contextSchemaGenerationContextBase 

ShouldRun(SchemaGenerationContextBase context)

Determines if the refiner should run.

Declaration

1
public abstract bool ShouldRun(SchemaGenerationContextBase context)
ParameterTypeDescription
contextSchemaGenerationContextBase 

Returns

Contents