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

IReflectionService

public interface IReflectionService
Provides methods to reflect on types.
using System; using System.Collections.Generic; namespace NJsonSchema.Generation { public interface IReflectionService { JsonTypeDescription GetDescription(Type type, IEnumerable<Attribute> parentAttributes, ReferenceTypeNullHandling defaultReferenceTypeNullHandling, JsonSchemaGeneratorSettings settings); JsonTypeDescription GetDescription(Type type, IEnumerable<Attribute> parentAttributes, JsonSchemaGeneratorSettings settings); bool IsNullable(Type type, IEnumerable<Attribute> parentAttributes, ReferenceTypeNullHandling defaultReferenceTypeNullHandling); } }