Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Axios = "axios"
View Source
var BrowserFetch = "browser-fetch"
View Source
var Clients = []string{Axios, NodeFetch, BrowserFetch}
View Source
var NodeFetch = "node-fetch"
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.