routes

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrRoutes = errors.New("codescan:builders:routes")

ErrRoutes is the sentinel error for all errors originating from the routes builder package.

Functions

This section is empty.

Types

type Builder

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

func NewBuilder

func NewBuilder(ctx *scanner.ScanCtx, route parsers.ParsedPathContent, inputs Inputs) *Builder

func (*Builder) Build

func (r *Builder) Build(tgt *oaispec.Paths) error

type Inputs

type Inputs struct {
	Responses   map[string]oaispec.Response
	Operations  map[string]*oaispec.Operation
	Definitions map[string]oaispec.Schema
}

Jump to

Keyboard shortcuts

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