Share via


AIJsonSchemaTransformOptions Class

Definition

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

public ref class AIJsonSchemaTransformOptions sealed : IEquatable<Microsoft::Extensions::AI::AIJsonSchemaTransformOptions ^>
public sealed class AIJsonSchemaTransformOptions : IEquatable<Microsoft.Extensions.AI.AIJsonSchemaTransformOptions>
type AIJsonSchemaTransformOptions = class
    interface IEquatable<AIJsonSchemaTransformOptions>
Public NotInheritable Class AIJsonSchemaTransformOptions
Implements IEquatable(Of AIJsonSchemaTransformOptions)
Inheritance
AIJsonSchemaTransformOptions
Implements

Constructors

AIJsonSchemaTransformOptions()

Properties

ConvertBooleanSchemas

Gets a value indicating whether to convert boolean schemas to equivalent object-based representations.

DisallowAdditionalProperties

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

MoveDefaultKeywordToDescription

Gets a value indicating whether to move the default keyword to the description field in the schema.

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.

UseNullableKeyword

Gets a value indicating whether to substitute nullable "type" keywords with OpenAPI 3.0 style "nullable" keywords in the schema.

Methods

<Clone>$()
Equals(AIJsonSchemaTransformOptions)
Equals(Object)
GetHashCode()
ToString()

Operators

Equality(AIJsonSchemaTransformOptions, AIJsonSchemaTransformOptions)
Inequality(AIJsonSchemaTransformOptions, AIJsonSchemaTransformOptions)

Applies to