Method GenerateAndRegister
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.
public JsonSchema GenerateAndRegister(Type type, Dictionary<string, JsonSchema> components)
Parameters
typeTypecomponentsDictionary<string, JsonSchema>