schema

package
v0.1.71 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2024 License: MIT Imports: 11 Imported by: 2

README

JSON schema generator

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSchema

func CreateSchema(m interface{}) (jsonschema.Schema, error)

func CreateSchemaAndData added in v0.1.35

func CreateSchemaAndData(m interface{}) ([]byte, []byte, error)

func ParseSchema added in v0.1.71

func ParseSchema(s []byte, confDefs map[string]*ajson.Node) error

func UpdateWithConfigurableDefinitions added in v0.1.71

func UpdateWithConfigurableDefinitions(realSchema []byte, configurableDefinitionNodes map[string]*ajson.Node) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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