Documentation ¶
Index ¶
- func CollectDefinitions(s []byte, confDefs map[string]*ajson.Node) error
- func CreateSchema(m interface{}) (jsonschema.Schema, error)
- func CreateSchemaAndData(m interface{}) ([]byte, []byte, error)
- func GetDefinitionName(t reflect.Type) string
- func UpdateWithDefinitions(realSchema []byte, configurableDefinitionNodes map[string]*ajson.Node) ([]byte, error)
- type Processor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectDefinitions ¶ added in v0.1.83
func CreateSchema ¶
func CreateSchema(m interface{}) (jsonschema.Schema, error)
func CreateSchemaAndData ¶ added in v0.1.35
func GetDefinitionName ¶ added in v0.1.78
func UpdateWithDefinitions ¶ added in v0.1.83
func UpdateWithDefinitions(realSchema []byte, configurableDefinitionNodes map[string]*ajson.Node) ([]byte, error)
UpdateWithDefinitions parses schema and update all definitions in it by using map of ajson.nodes definitions replacing preserves path and configurable properties
Types ¶
Click to show internal directories.
Click to hide internal directories.