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

IReflectionService

public interface IReflectionService
Provides methods to reflect on types.
using Namotion.Reflection; using Newtonsoft.Json; namespace NJsonSchema.Generation { public interface IReflectionService { JsonTypeDescription GetDescription(ContextualType contextualType, ReferenceTypeNullHandling defaultReferenceTypeNullHandling, JsonSchemaGeneratorSettings settings); JsonTypeDescription GetDescription(ContextualType contextualType, JsonSchemaGeneratorSettings settings); bool IsNullable(ContextualType contextualType, ReferenceTypeNullHandling defaultReferenceTypeNullHandling); bool IsStringEnum(ContextualType contextualType, JsonSerializerSettings serializerSettings); } }