openapi_gen

package
v0.9.16 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2022 License: Apache-2.0 Imports: 11 Imported by: 21

Documentation

Index

Constants

View Source
const (
	AdditionalPropertyTarget    = "AdditionalPropertyTarget"
	AdditionalPropertyUnchanged = "AdditionalPropertyUnchanged"
)
View Source
const (
	Undefined pathType = iota
)

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
	Description  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