<PackageReference Include="NJsonSchema" Version="10.1.24" />

JsonSchemaTypeAttribute

Specifies the type to use for JSON Schema generation.
public bool IsNullable { get; set; }

Gets or sets a value indicating whether the schema can be null (default: null = unchanged).

public bool? IsNullableRaw { get; }

Gets the raw nullable information.

public Type Type { get; }

Gets or sets the response type.

Initializes a new instance of the JsonSchemaTypeAttribute class.