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