refs

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseRef

func ParseRef(ref string) (def, name string, ok bool)

Types

type RefsCollector

type RefsCollector struct {
	// contains filtered or unexported fields
}

func NewRefsCollector

func NewRefsCollector() *RefsCollector

func (*RefsCollector) AddRef

func (rc *RefsCollector) AddRef(ref string)

func (*RefsCollector) CollectComponent

func (rc *RefsCollector) CollectComponent(
	comps *openapi3.Components,
	typ components.ComponentType,
	name string,
)

func (*RefsCollector) CollectOperation

func (rc *RefsCollector) CollectOperation(op *openapi3.Operation)

func (*RefsCollector) Refs

func (rc *RefsCollector) Refs() map[string]struct{}

Jump to

Keyboard shortcuts

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