client

package
v2.1.1429 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 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 added in v2.1.1326

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

func NewClientGenerator added in v2.1.1326

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