openapi

package
v2.1.1750 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateOpenapi

func GenerateOpenapi(spec *spec.Spec, outFile string) *sources.CodeFile

func OpenApiType

func OpenApiType(types ...*spec.TypeDef) *yamlx.YamlMap

func PlainOpenApiType

func PlainOpenApiType(typeInfo *spec.TypeInfo, typ string) *yamlx.YamlMap

Types

type UrlOperations

type UrlOperations struct {
	Url        string
	Operations []*spec.NamedOperation
}

func OperationsByUrl

func OperationsByUrl(specification *spec.Spec) []*UrlOperations

Jump to

Keyboard shortcuts

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