deref

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package deref provides utilities for dereferencing JSON Schema files. It resolves external $ref references and hoists nested definitions to the root.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Schema

func Schema(schema *jsonschema.Schema, baseDir string) error

Schema dereferences all external $ref references in a schema in-place. baseDir is used to resolve relative file paths in $ref values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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