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

NJsonSchema.Generation.IReflectionService

public interface IReflectionService
Provides methods to reflect on types.
namespace NJsonSchema.Generation { public interface IReflectionService { Func<object, string> GetEnumValueConverter(JsonSchemaGeneratorSettings settings); string GetPropertyName(ContextualAccessorInfo accessorInfo, JsonSchemaGeneratorSettings settings); void GenerateProperties(JsonSchema schema, ContextualType contextualType, JsonSchemaGeneratorSettings settings, JsonSchemaGenerator schemaGenerator, JsonSchemaResolver schemaResolver); JsonTypeDescription GetDescription(ContextualType contextualType, ReferenceTypeNullHandling defaultReferenceTypeNullHandling, JsonSchemaGeneratorSettings settings); JsonTypeDescription GetDescription(ContextualType contextualType, JsonSchemaGeneratorSettings settings); bool IsNullable(ContextualType contextualType, ReferenceTypeNullHandling defaultReferenceTypeNullHandling); bool IsStringEnum(ContextualType contextualType, JsonSchemaGeneratorSettings settings); } }