spec

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInternalPanic = errors.New("internal panic during build")

ErrInternalPanic is the base error for a builder panic recovered while processing a single declaration. Rather than surfacing a raw Go stack trace, the scan names the offending source declaration (file:line) and aborts with this error. See go-swagger/go-swagger#2886.

Functions

This section is empty.

Types

type Builder

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

func NewBuilder

func NewBuilder(input *oaispec.Swagger, sc *scanner.ScanCtx, scanModels bool) *Builder

func (*Builder) Build

func (s *Builder) Build() (*oaispec.Swagger, error)

Jump to

Keyboard shortcuts

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