builder

package
v0.0.0-...-00d9010 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CueExpectationBuilder

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

func NewCueExpectationBuilder

func NewCueExpectationBuilder(
	cueExpectationFiles []string,
	fieldGenerator generator.Generator,
) *CueExpectationBuilder

func (*CueExpectationBuilder) BuildExpectations

func (ceb *CueExpectationBuilder) BuildExpectations() (*Output, error)

BuildExpectations implements ExpectationBuilder.

type ExpectationBuilder

type ExpectationBuilder interface {
	BuildExpectations() (*Output, error)
}

type OpenApiExpectationBuilder

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

func NewOpenApiExpectationBuilder

func NewOpenApiExpectationBuilder(
	file string,
	fieldGenerator generator.Generator,
) *OpenApiExpectationBuilder

func (*OpenApiExpectationBuilder) BuildExpectations

func (oeb *OpenApiExpectationBuilder) BuildExpectations() (*Output, error)

type Output

type Output struct {
	Expectations    []expectation.Expectation
	RouteProperties schema.RouteProperties
}

Jump to

Keyboard shortcuts

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