responses

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrResponses = errors.New("codescan:builders:responses")

ErrResponses is the sentinel error for all errors originating from the responses package.

Functions

This section is empty.

Types

type ResponseBuilder

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

func NewBuilder

func NewBuilder(ctx *scanner.ScanCtx, decl *scanner.EntityDecl) *ResponseBuilder

func (*ResponseBuilder) Build

func (r *ResponseBuilder) Build(responses map[string]oaispec.Response) error

func (*ResponseBuilder) PostDeclarations

func (r *ResponseBuilder) PostDeclarations() []*scanner.EntityDecl

Jump to

Keyboard shortcuts

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