Documentation
¶
Index ¶
- Constants
- Variables
- func CreateFuncMap() template.FuncMap
- func ExtractPath(s string) string
- func FirstAlphabet(s string) string
- func FirstAlphabetToUpperCase(s string) string
- func Generate(v3Doc *libopenapi.DocumentModel[v3high.Document])
- func GenerateFile(op *v3high.Operation, method, key string) error
- func JoinStrings(sep string, items []string) string
- func MustAbs(path string) string
- func PathToFilename(s string) (filename string)
- func PathToPascal(s string) string
- func ToCamelCase(s string) string
- func ToLowerCase(s string) string
- func ToPascalCase(s string) string
- func WriteClient() []byte
- type Template
Constants ¶
View Source
const (
VERSION = "v0.0.1-beta"
)
Variables ¶
View Source
var ClientTemplate string
View Source
var MethodTemplate string
Functions ¶
func CreateFuncMap ¶
func ExtractPath ¶
func FirstAlphabet ¶
func Generate ¶
func Generate(v3Doc *libopenapi.DocumentModel[v3high.Document])
func JoinStrings ¶
func PathToFilename ¶
func PathToPascal ¶
func ToCamelCase ¶
func ToLowerCase ¶
func ToPascalCase ¶
func WriteClient ¶
func WriteClient() []byte
Types ¶
Click to show internal directories.
Click to hide internal directories.