client

package
v2.1.1764 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Axios = "axios"
View Source
var BrowserFetch = "browser-fetch"
View Source
var NodeFetch = "node-fetch"

Functions

func GenerateClient

func GenerateClient(specification *spec.Spec, generatePath string, client string, validationName string) *sources.Sources

Types

type ClientGenerator

type ClientGenerator interface {
	ApiClient(api spec.Api, validationModule, modelsModule, paramsModule, module modules.Module) *sources.CodeFile
}

func NewClientGenerator

func NewClientGenerator(client string, validation validations.Validation) ClientGenerator

Jump to

Keyboard shortcuts

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