typedfetch

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateTypedFetch

func GenerateTypedFetch(reflector *openapi31.Reflector) (string, error)

Types

type OperationMethodTuple

type OperationMethodTuple struct {
	Operation *openapi31.Operation
	Method    string
}

type ParamInfo

type ParamInfo struct {
	TsType         string
	Required       bool
	Included       bool
	ResolvedParams []*openapi31.Parameter
}

type RequestBodyInfo

type RequestBodyInfo struct {
	TsType       string
	Required     bool
	Included     bool
	ResolvedBody *openapi31.RequestBody
}

Jump to

Keyboard shortcuts

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