API Differences between 10.0.6 and 10.1.1
17 Additions
27 Removals
NJsonSchema
NJsonSchema.Annotations
NJsonSchema.Converters
NJsonSchema.Generation
-
public class JsonSchemaGenerator
- public virtual void ApplyDataAnnotations(JsonSchema schema, JsonTypeDescription typeDescription)
- public virtual void ApplyDataAnnotations(JsonSchema schema, JsonTypeDescription typeDescription, IEnumerable<Attribute> parentAttributes)
- public void Generate<TSchemaType>(TSchemaType schema, Type type, JsonSchemaResolver schemaResolver) where TSchemaType : JsonSchema
- public virtual void Generate<TSchemaType>(TSchemaType schema, ContextualType contextualType, JsonSchemaResolver schemaResolver) where TSchemaType : JsonSchema
- protected virtual void GenerateArray<TSchemaType>(TSchemaType schema, JsonTypeDescription typeDescription, JsonSchemaResolver schemaResolver) where TSchemaType : JsonSchema
- protected virtual void GenerateDictionary<TSchemaType>(TSchemaType schema, JsonTypeDescription typeDescription, JsonSchemaResolver schemaResolver) where TSchemaType : JsonSchema
- protected virtual void GenerateEnum(JsonSchema schema, JsonTypeDescription typeDescription)
- public virtual object GenerateExample(ContextualType type)
- protected virtual void GenerateObject(JsonSchema schema, JsonTypeDescription typeDescription, JsonSchemaResolver schemaResolver)
- public void Generate<TSchemaType>(Type type, TSchemaType schema, JsonSchemaResolver schemaResolver) where TSchemaType : JsonSchema
- public virtual void Generate<TSchemaType>(ContextualType contextualType, TSchemaType schema, JsonSchemaResolver schemaResolver) where TSchemaType : JsonSchema
- protected virtual void GenerateObject(Type type, JsonTypeDescription typeDescription, JsonSchema schema, JsonSchemaResolver schemaResolver)
- public virtual string GetPropertyName(JsonProperty jsonProperty, ContextualMemberInfo contextualMember)
- public virtual string GetPropertyName(JsonProperty jsonProperty, MemberInfo memberInfo)
-
public class JsonSchemaGeneratorSettings
-
public class JsonTypeDescription
- public ContextualType ContextualType { get; }
- public static JsonTypeDescription Create(ContextualType type, JsonObjectType jsonType, bool isNullable, string format)
- public static JsonTypeDescription CreateForDictionary(ContextualType type, JsonObjectType jsonType, bool isNullable)
- public static JsonTypeDescription CreateForEnumeration(ContextualType type, JsonObjectType jsonType, bool isNullable)
- public static JsonTypeDescription Create(Type type, JsonObjectType jsonType, bool isNullable, string format)
- public static JsonTypeDescription CreateForDictionary(Type type, JsonObjectType jsonType, bool isNullable)
- public static JsonTypeDescription CreateForEnumeration(Type type, JsonObjectType jsonType, bool isNullable)
-
public enum ReferenceTypeNullHandling
NJsonSchema.Validation
NJsonSchema.Visitors
-
public abstract class AsyncJsonReferenceVisitorBase
-
public abstract class AsyncJsonSchemaVisitorBase : AsyncJsonReferenceVisitorBase
-
public abstract class JsonReferenceVisitorBase
- public virtual void Visit(object obj)
- protected virtual void Visit(object obj, string path, string typeNameHint, ISet<object> checkedObjects, Action<object> replacer)
- protected abstract IJsonReference VisitJsonReference(IJsonReference reference, string path, string typeNameHint)
- public virtual Task VisitAsync(object obj)
- protected virtual Task VisitAsync(object obj, string path, string typeNameHint, ISet<object> checkedObjects, Action<object> replacer)
- protected abstract Task<IJsonReference> VisitJsonReferenceAsync(IJsonReference reference, string path, string typeNameHint)
-
public abstract class JsonSchemaVisitorBase : JsonReferenceVisitorBase