Class JsonSchemaGenerator
Generates JSON Schema objects from CLR types, respecting System.ComponentModel.DataAnnotations attributes.
public class JsonSchemaGenerator
- Inheritance
-
JsonSchemaGenerator
- Inherited Members
Methods
- GenerateAndRegister(Type, Dictionary<string, JsonSchema>)
Generates schemas for the given types, adding them to the provided components dictionary. Returns a $ref schema for the given root type.