diff --git a/src/NJsonSchema.NewtonsoftJson/Generation/NewtonsoftJsonReflectionService.cs b/src/NJsonSchema.NewtonsoftJson/Generation/NewtonsoftJsonReflectionService.cs
index 7f2f3259c..fb18337bb 100644
--- a/src/NJsonSchema.NewtonsoftJson/Generation/NewtonsoftJsonReflectionService.cs
+++ b/src/NJsonSchema.NewtonsoftJson/Generation/NewtonsoftJsonReflectionService.cs
@@ -15,16 +15,14 @@
using NJsonSchema.Infrastructure;
using System.Runtime.Serialization;
using System.Reflection;
-using NJsonSchema;
using NJsonSchema.Generation;
-using System.Collections.Generic;
namespace NJsonSchema.NewtonsoftJson.Generation
{
- ///
+ ///
public class NewtonsoftJsonReflectionService : ReflectionServiceBase
{
- ///
+ ///
protected override JsonTypeDescription GetDescription(ContextualType contextualType, NewtonsoftJsonSchemaGeneratorSettings settings,
Type originalType, bool isNullable, ReferenceTypeNullHandling defaultReferenceTypeNullHandling)
{
@@ -38,7 +36,7 @@ protected override JsonTypeDescription GetDescription(ContextualType contextualT
return base.GetDescription(contextualType, settings, originalType, isNullable, defaultReferenceTypeNullHandling);
}
- ///
+ ///
public override bool IsNullable(ContextualType contextualType, ReferenceTypeNullHandling defaultReferenceTypeNullHandling)
{
var jsonPropertyAttribute = contextualType.GetContextAttribute();
@@ -50,28 +48,27 @@ public override bool IsNullable(ContextualType contextualType, ReferenceTypeNull
return base.IsNullable(contextualType, defaultReferenceTypeNullHandling);
}
- ///
+ ///
public override bool IsStringEnum(ContextualType contextualType, NewtonsoftJsonSchemaGeneratorSettings settings)
{
var hasGlobalStringEnumConverter = settings.SerializerSettings?.Converters.OfType().Any() == true;
return hasGlobalStringEnumConverter || base.IsStringEnum(contextualType, settings);
}
- ///
- public override string ConvertEnumValue(object value, NewtonsoftJsonSchemaGeneratorSettings settings)
+
+ ///
+ public override Func