Documentation
¶
Index ¶
- func AddUnnamedTypes(rootSchema *schema.Schema)
- func CompileAllOf(rootSchema *schema.Schema)
- func CompileBasic(rootSchema *schema.Schema, areKeysOptionalByDefault bool)
- func LoadSchema(scan *scanner.Scanner, rootSchema *schema.Schema, ...) *schema.Schema
- func LoadSchemaWithoutCompile(scan *scanner.Scanner, rootSchema *schema.Schema) schema.Schema
- func NewSchemaForSdk(file *fs.File, areKeysOptionalByDefault bool) *schema.Schema
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddUnnamedTypes ¶
func CompileAllOf ¶
CompileAllOf compile "allOf" rules in root schema, and in all types. Adds the necessary properties to objects, removes "allOf" rule.
func CompileBasic ¶
func LoadSchema ¶
Types ¶
This section is empty.
Source Files
¶
- compiler_all_of.go
- compiler_basic.go
- embedded_loader.go
- embedded_loader_for_node.go
- embedded_loader_for_rule.go
- embedded_loader_for_rule_allof_value.go
- embedded_loader_for_rule_enum_value.go
- embedded_loader_for_rule_or_value.go
- embedded_loader_for_rule_or_value_rule_set.go
- loader.go
- new_schema.go
- shortcut.go
- tools.go
- unnamed.go
Click to show internal directories.
Click to hide internal directories.