Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientCommand ¶
ClientCommand is executed to generate client from a RAML specification
func (*ClientCommand) Execute ¶
func (command *ClientCommand) Execute() error
Execute generates a client from a RAML specification
type ServerCommand ¶
type ServerCommand struct { Language string // target language Dir string //target dir RamlFile string //raml file PackageName string //package name in the generated go source files NoMainGeneration bool //do not generate a main.go file NoAPIDocs bool // do not generate API Docs in /apidocs/ endpoint }
ServerCommand is executed to generate a go server from a RAML specification
func (*ServerCommand) Execute ¶
func (command *ServerCommand) Execute() error
Execute generates a Go server from an RAML specification
type SpecCommand ¶
type SpecCommand struct{}
SpecCommand is executed to generate a RAML specification from a go server
func (*SpecCommand) Execute ¶
func (command *SpecCommand) Execute() error
Execute generates a RAML specification from a go server
Click to show internal directories.
Click to hide internal directories.