openapi

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Catalog

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

func New

func New(path string, client *rest.Client) (*Catalog, error)

func (*Catalog) Tools

func (c *Catalog) Tools() []tool.Tool

type Operation

type Operation struct {
	Name        string
	Description string

	Method string
	Path   string

	Queries []string

	Type   string
	Schema map[string]any
}

func (*Operation) Execute

func (o *Operation) Execute(ctx context.Context, client *rest.Client, parameters map[string]any) (string, error)

Jump to

Keyboard shortcuts

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