<PackageReference Include="NJsonSchema" Version="10.1.22" />
API Differences between 10.1.22 and 10.0.11
28 Additions
13 Removals
NJsonSchema
NJsonSchema.Annotations
NJsonSchema.Generation
-
public class JsonSchemaGenerator
- public virtual void ApplyDataAnnotations(JsonSchema schema, ContextualType contextualType, JsonTypeDescription typeDescription)
- public virtual void ApplyDataAnnotations(JsonSchema schema, JsonTypeDescription typeDescription)
- protected virtual void GenerateArray<TSchemaType>(TSchemaType schema, ContextualType contextualType, JsonTypeDescription typeDescription, JsonSchemaResolver schemaResolver) where TSchemaType : JsonSchema
- protected virtual void GenerateDictionary<TSchemaType>(TSchemaType schema, ContextualType contextualType, JsonTypeDescription typeDescription, JsonSchemaResolver schemaResolver) where TSchemaType : JsonSchema
- protected virtual void GenerateEnum(JsonSchema schema, CachedType type, JsonTypeDescription typeDescription)
- protected virtual void GenerateObject(JsonSchema schema, Type type, JsonTypeDescription typeDescription, JsonSchemaResolver schemaResolver)
- 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 class JsonSchemaGeneratorSettings
-
public class JsonTypeDescription
- public ContextualType ContextualType { get; }
- 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 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 enum ReferenceTypeNullHandling
-
public class SampleJsonDataGenerator
-
public static class SystemTextJsonUtilities
NJsonSchema.Validation