metadata

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApiComponentSchemas added in v0.0.3

func ApiComponentSchemas(pkg *metadata.Package) []string

func ApiParameters

func ApiParameters(s *metadata.Service) []string

func ApiResponse

func ApiResponse(s *metadata.Service) []string

func BindStringToSerializable

func BindStringToSerializable(src, dst, attrName, attrType string) []string

func BindToSerializable

func BindToSerializable(src, dst, attrName, attrType string) []string

func GroupByPath

func GroupByPath(pkg *metadata.Package) map[string][]*metadata.Service

func HandlerTypes

func HandlerTypes(s *metadata.Service) []string

func HttpMethod

func HttpMethod(s *metadata.Service) string

func HttpPath

func HttpPath(s *metadata.Service) string

func InputHttp

func InputHttp(s *metadata.Service) []string

func OutputHttp

func OutputHttp(s *metadata.Service) []string

func RequestTypeAttributes added in v0.1.3

func RequestTypeAttributes(s *metadata.Service) []string

func ResponseTypeAttributes added in v0.1.3

func ResponseTypeAttributes(s *metadata.Service) []string

Types

type EditableOpenApi added in v0.0.3

type EditableOpenApi struct {
	*metadata.Definition
	Info                  []string
	Tags                  []string
	UserDefinedPaths      []string
	UserDefinedSchemas    []string
	UserDefinedComponents []string
	ExtraDefinitions      []string
}

func LoadOpenApi added in v0.0.3

func LoadOpenApi(path string, append bool, def *metadata.Definition) (*EditableOpenApi, error)

Jump to

Keyboard shortcuts

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