test

package
v0.0.0-...-6cfc1b2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Operation

type Operation struct {
	Op *oapi_spec.Operation
}

func NewTestOperation

func NewTestOperation() *Operation

func (*Operation) WithTags

func (o *Operation) WithTags(tags []string) *Operation

type PathItem

type PathItem struct {
	PathItem *oapi_spec.PathItem
}

func NewTestPathItem

func NewTestPathItem() *PathItem

func (*PathItem) WithOperation

func (t *PathItem) WithOperation(method string, op *oapi_spec.Operation) *PathItem

type Spec

type Spec struct {
	Spec *oapi_spec.T
}

func NewTestSpec

func NewTestSpec() *Spec

func (*Spec) String

func (ts *Spec) String(t *testing.T) string

func (*Spec) WithPathItem

func (ts *Spec) WithPathItem(path string, pathItem *oapi_spec.PathItem) *Spec

Jump to

Keyboard shortcuts

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