package
Version:
v0.0.0-...-0759755
Opens a new window with list of versions in this module.
Published: Aug 4, 2021
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
an opinionated code generator for generating boilerplate from yml
type Config struct {
Types yaml.MapSlice `yaml:"types"`
Objects yaml.MapSlice `yaml:"objects"`
Routes yaml.MapSlice `yaml:"routes"`
}
type Route struct {
Path string
Method string
Name string `yaml:"name"`
QueryParams string `yaml:"query_params"`
RequestBody string `yaml:"request_body"`
ResponseBody string `yaml:"response_body"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.