testing

package
v0.0.0-...-dc4e619 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 5 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Empty

type Empty struct{}

func (Empty) OpenAPISchema

func (Empty) OpenAPISchema() (*openapi_v2.Document, error)

type Fake

type Fake struct {
	Path string
	// contains filtered or unexported fields
}

Fake opens and returns a openapi swagger from a file Path. It will parse only once and then return the same copy everytime.

func (*Fake) OpenAPISchema

func (f *Fake) OpenAPISchema() (*openapi_v2.Document, error)

OpenAPISchema returns the openapi document and a potential error.

type FakeV3

type FakeV3 struct {
	Path string
	// contains filtered or unexported fields
}

func (*FakeV3) OpenAPIV3Schema

func (f *FakeV3) OpenAPIV3Schema(groupVersion string) (*openapi_v3.Document, error)

Jump to

Keyboard shortcuts

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