info

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	SchemaInfo  map[*openapi3.Schema]*SchemaInfo
	SchemaValue map[*openapi3.SchemaRef]*openapi3.Schema
}

Info is the go/types.Info like object that handling metadata.

func New

func New() *Info

func (*Info) LookupSchema

func (i *Info) LookupSchema(ref *openapi3.SchemaRef) *openapi3.Schema
type Link struct {
	Title string
	URL   string
}

type SchemaInfo

type SchemaInfo struct {
	ID int // reflectshape.Schema.Number

	OrderedProperties []string
	Links             []Link
	Name              string // not zero value if the schema is existed in components/schemas
}

func (*SchemaInfo) IsExported

func (i *SchemaInfo) IsExported() bool

Jump to

Keyboard shortcuts

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