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

IReflectionService

public interface IReflectionService
Provides methods to reflect on types.
string ConvertEnumValue(object value, JsonSchemaGeneratorSettings settings)

Converts an enum value to a JSON string.

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.

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.