<PackageReference Include="NJsonSchema" Version="11.0.0-preview008" />

IReflectionService

public interface IReflectionService
Provides methods to reflect on types.
void GenerateProperties(JsonSchema schema, ContextualType contextualType, JsonSchemaGeneratorSettings settings, JsonSchemaGenerator schemaGenerator, JsonSchemaResolver schemaResolver)

Generates the properties for the given type.

Creates a JsonTypeDescription from a Type.

Creates a JsonTypeDescription from a Type.

Get converter that converts an enum value to a JSON string.

Gets the property name for the given accessor info.

bool IsNullable(ContextualType contextualType, ReferenceTypeNullHandling defaultReferenceTypeNullHandling)

Checks whether a type is nullable.

Checks whether the give type is a string enum.