schutils

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package schutils provides tools to save or clone a schema when flattening a spec.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clone

func Clone(schema *spec.Schema) *spec.Schema

Clone deep-clones a schema

func Save

func Save(sp *spec.Swagger, name string, schema *spec.Schema)

Save registers a schema as an entry in spec #/definitions

Types

This section is empty.

Jump to

Keyboard shortcuts

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