Partager via


AIJsonSchemaCreateOptions Class

Definition

An options class 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.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to