Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Text.​Json.​Schema.​JsonSchemaExporterOptions
Assembly: System.Text.Json
Inheritance: object → JsonSchemaExporterOptions
Controls the behavior of the <see cref="T:System.Text.Json.Schema.JsonSchemaExporter" /> class.
Properties
public static
JsonSchemaExporterOptions
Default
Gets the default configuration object used by <see cref="T:System.Text.Json.Schema.JsonSchemaExporter" /> .
public
Func<​JsonSchemaExporterContext, Nodes.​JsonNode, Nodes.​JsonNode>
TransformSchemaNode
Gets a callback that is invoked for every schema that is generated within the type graph.
public
bool
TreatNullObliviousAsNonNullable
Gets a value indicating whether non-nullable schemas should be generated for null oblivious reference types.
Methods
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object