JsonSchemaGenerator
public sealed class JsonSchemaGenerator
Namespace: RhoMicro.BindSight.Generators
Inheritance:
Summary
Section titled “Summary”Generates json schemata for option models.
Constructors
Section titled “Constructors”JsonSchemaGenerator(IJsonSchemaGeneratorOptions, ILogger<JsonSchemaGenerator>)
Section titled “JsonSchemaGenerator(IJsonSchemaGeneratorOptions, ILogger<JsonSchemaGenerator>)”public JsonSchemaGenerator(IJsonSchemaGeneratorOptions jsonSchemaOptions, ILogger<JsonSchemaGenerator> logger)
Summary
Section titled “Summary”Generates json schemata for option models.
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
jsonSchemaOptions | IJsonSchemaGeneratorOptions | The options to use. |
logger | ILogger<JsonSchemaGenerator> | The logger to use. |
Methods
Section titled “Methods”Run(IBindSightGeneratorOptions, CancellationToken)
Section titled “Run(IBindSightGeneratorOptions, CancellationToken)”public ValueTask Run(IBindSightGeneratorOptions optionsDocsGeneratorOptions, [CancellationToken cancellationToken = default(CancellationToken)])
Summary
Section titled “Summary”Runs the generator.
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
cancellationToken | CancellationToken | The cancellation token used to request generating to be cancelled. |
optionsDocsGeneratorOptions | IBindSightGeneratorOptions | The options to use. |
Returns
Section titled “Returns”A task representing the generating of documentation.