openapi_gen

package
v0.6.38 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: Apache-2.0 Imports: 9 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildOpenapi

func BuildOpenapi(yangSchema *ytypes.Schema, settings ApiGenSettings) (*openapi3.Swagger, error)

Types

type ApiGenSettings added in v0.6.26

type ApiGenSettings struct {
	ModelType    string
	ModelVersion string
	Title        string
}

func (ApiGenSettings) ApplyDefaults added in v0.6.26

func (settings ApiGenSettings) ApplyDefaults()

Jump to

Keyboard shortcuts

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