goclient

package
v9.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateModFile

func CreateModFile(path string, basePath string, codeTemplate clientCodeTemplate) error

CreateModFile creates a go.mod file for the client module.

func Generate

func Generate(packageName, basePath, outputPath string, s spec.Swagger) error

Generate generates a client

func IsBinaryBody

func IsBinaryBody(op *spec.Operation, definitions map[string]spec.Schema) bool

IsBinaryBody returns true if the format of the body of the operation is binary

func IsBinaryParam

func IsBinaryParam(param spec.Parameter, definitions map[string]spec.Schema) bool

IsBinaryParam returns true of the format of the parameter is binary

Types

This section is empty.

Jump to

Keyboard shortcuts

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