jsonschema

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: May 18, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateAST

func GenerateAST(schemaReader io.Reader, c Config) (*ast.Schema, error)

Types

type Config

type Config struct {
	// Package name used to generate code into.
	Package string

	SchemaMetadata ast.SchemaMeta

	// Path to the schema file, if any.
	SchemaPath string
}

type HTTPURLLoader added in v0.1.0

type HTTPURLLoader struct{}

func (*HTTPURLLoader) Load added in v0.1.0

func (loader *HTTPURLLoader) Load(url string) (any, error)

Jump to

Keyboard shortcuts

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