mocks

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SchemaParser

type SchemaParser struct {
	mock.Mock
}

SchemaParser is an autogenerated mock type for the SchemaParser type

func (*SchemaParser) GetPkgAst

func (_m *SchemaParser) GetPkgAst(pkgPath string) (map[string]*ast.Package, error)

GetPkgAst provides a mock function with given fields: pkgPath

func (*SchemaParser) ParseSchemaObject

func (_m *SchemaParser) ParseSchemaObject(pkgPath string, pkgName string, typeName string) (*openApi3Schema.SchemaObject, error)

ParseSchemaObject provides a mock function with given fields: pkgPath, pkgName, typeName

func (*SchemaParser) RegisterType

func (_m *SchemaParser) RegisterType(pkgPath string, pkgName string, typeName string) (string, error)

RegisterType provides a mock function with given fields: pkgPath, pkgName, typeName

Jump to

Keyboard shortcuts

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