loader

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUnnamedTypes

func AddUnnamedTypes(rootSchema *ischema.ISchema)

func CompileAllOf

func CompileAllOf(rootSchema *ischema.ISchema)

CompileAllOf compile "allOf" rules in root schema, and in all types. Adds the necessary properties to objects, removes "allOf" rule.

func CompileBasic

func CompileBasic(rootSchema *ischema.ISchema, areKeysOptionalByDefault bool)

func LoadSchema

func LoadSchema(scan *scanner.Scanner, rootSchema *ischema.ISchema) *ischema.ISchema

func LoadSchemaWithoutCompile

func LoadSchemaWithoutCompile(
	scan *scanner.Scanner,
	rootSchema *ischema.ISchema,
	rules map[string]schema.Rule,
) ischema.ISchema

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL