utils

package
v0.0.0-...-1a61887 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseFileParent

func ParseFileParent(filePath string, inJSON map[string]interface{}) (map[string]interface{}, error)

ParseFileParent Parses out parenting for a given file, with children overriding values in a parent, unless they are explicitly locked.

func ParseFileRefs

func ParseFileRefs(filePath string, inJSON map[string]interface{}) (interface{}, error)

ParseFileRefs Parses the $ref tags within a JSON file and resolves them to whatever the reference

func ParseFileSchema

func ParseFileSchema(filePath string, inJSON map[string]interface{}) (map[string]interface{}, error)

ParseFileSchema Handles schema validation to the JSON Schema Draft 6 specification, returns any validations errors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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