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

IReflectionService

public interface IReflectionService
Provides methods to reflect on types.
JsonTypeDescription GetDescription(Type type, IEnumerable<Attribute> parentAttributes, ReferenceTypeNullHandling defaultReferenceTypeNullHandling, JsonSchemaGeneratorSettings settings)

Creates a JsonTypeDescription from a Type.

Creates a JsonTypeDescription from a Type.

bool IsNullable(Type type, IEnumerable<Attribute> parentAttributes, ReferenceTypeNullHandling defaultReferenceTypeNullHandling)

Checks whether a type is nullable.