Compartir a través de


AIJsonSchemaCreateOptions Class

Definition

Provides options for configuring the behavior of AIJsonUtilities JSON schema creation functionality.

public ref class AIJsonSchemaCreateOptions sealed
public sealed class AIJsonSchemaCreateOptions
type AIJsonSchemaCreateOptions = class
Public NotInheritable Class AIJsonSchemaCreateOptions
Inheritance
AIJsonSchemaCreateOptions

Constructors

AIJsonSchemaCreateOptions()

Properties

Default

Gets the default options instance.

DisallowAdditionalProperties

Gets a value indicating whether to generate schemas with the additionalProperties set to false for .NET objects.

IncludeSchemaKeyword

Gets a value indicating whether to include the $schema keyword in inferred schemas.

IncludeTypeInEnumSchemas

Gets a value indicating whether to include the type keyword in inferred schemas for .NET enums.

RequireAllProperties

Gets a value indicating whether to mark all properties as required in the schema.

TransformSchemaNode

Gets a callback that is invoked for every schema that is generated within the type graph.

Applies to