README
Goruda
Goruda is Golang CLI App to convert OpenAPI 3 Specifications into simple boilerplate code.
This app is created because the process of creating boilerplate HTTP server in Go is repetitive, so in order to reduce that kind of work, Goruda will read all your OpenAPI 3 specifications and convert it into simple running HTTP Server.
Requirements
- Go at least ver. 1.11
- Working OpenAPI 3 File
How to Run
~ make build
~ ./goruda generate [path_to_openapi_file]
Documentation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadSwaggerFile ¶
Types ¶
type AbstractionData ¶
type Attributes ¶
type Attributes []Attribute
func (Attributes) GetLastIndex ¶
func (a Attributes) GetLastIndex() int
type DomainData ¶
type HTTPMethods ¶
type HTTPMethods struct { Path string MethodsName string Data ListOfAttributes }
type ListOfAttributes ¶
type ListOfAttributes struct { Attributes Attributes ReturnValue Attributes }