client

package
v2.1.2119-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 11, 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) *generator.Sources

Types

type ClientGenerator

type ClientGenerator interface {
	ApiClient(api spec.Api, validationModule, modelsModule, paramsModule, module modules.Module) *generator.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