resolver

package
v0.30.3 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input added in v0.24.0

type Input struct {
	Files      []string
	Inline     []string
	CustomerID string
	ChannelID  string
	Endpoint   string
}

type Resolver

type Resolver struct {
	Logger log.Logger
	Fs     afero.Fs
}

func New

func New(logger log.Logger, fs afero.Fs) *Resolver

func (*Resolver) ResolveDefaultSpec added in v0.25.0

func (r *Resolver) ResolveDefaultSpec(ctx context.Context) (resolved api.Doc, err error)

func (*Resolver) ResolveSpec

func (r *Resolver) ResolveSpec(ctx context.Context, input Input, skipDefault bool) (resolved api.Doc, err error)

Jump to

Keyboard shortcuts

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