jsonschema

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2019 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

Copyright 2018 Lee Boynton (lee@boynton.com, github.com/boynton) Licensed under the terms of the Apache version 2.0 license. See LICENSE file for terms.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TypeDefs

func TypeDefs(js JSONSchema) map[string]map[string]interface{}

Types

type JSONSchema

type JSONSchema map[string]interface{}

func Generate

func Generate(schema *rdl.Schema) (JSONSchema, error)

always generates schemas of the form {"definitions": { ... }}, unless no types are defined at all, then just {}

func (JSONSchema) String

func (js JSONSchema) String() string

Jump to

Keyboard shortcuts

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