codegen

package
v0.0.0-...-b50e879 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2016 License: BSD-2-Clause Imports: 15 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// Oauth2 string
	Oauth2 = "OAuth 2.0"
)

Variables

This section is empty.

Functions

func GenerateClient

func GenerateClient(apiDef *raml.APIDefinition, dir, lang string) error

GenerateClient generates client library

func GenerateServer

func GenerateServer(ramlFile, dir, packageName, lang, apiDocsDir string, generateMain bool) error

GenerateServer generates API server files

Types

type Command

type Command interface {
	//Execute the command
	Execute() error
}

Command is a toplevel command to be executed by the cli's main routine

Directories

Path Synopsis
Package date provides implementation of various RAML Date type.
Package date provides implementation of various RAML Date type.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL