Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CustomGenerators = &customSchema{ mapSchema: make(map[string]generator), }
Functions ¶
func ExtractConfig ¶
func GetNameAndRequiredFlag ¶
func GetNameAndRequiredFlag(field reflect.StructField) (string, bool)
func SetProperties ¶
func SetProperties(field reflect.StructField, t *jsonschema.Type)
Types ¶
type ConfigSchema ¶
type Schema ¶
type Schema *jsonschema.Schema
func DereferenceSchema ¶
func GenerateConfigSchema ¶
func GenerateConfigSchema(cfgPtr interface{}) Schema
Click to show internal directories.
Click to hide internal directories.