Versions in this module Expand all Collapse all v0 v0.1.0 Sep 5, 2017 Changes in this version + func HandleResponse(response *Response, outputLocation string) error + type Environment struct + Invocation string + Request *Request + Response *Response + RunningAsPlugin bool + func NewEnvironment() (env *Environment, err error) + func (env *Environment) RespondAndExit() + func (env *Environment) RespondAndExitIfError(err error) + type File struct + Data []byte + Name string + func (*File) Descriptor() ([]byte, []int) + func (*File) ProtoMessage() + func (m *File) GetData() []byte + func (m *File) GetName() string + func (m *File) Reset() + func (m *File) String() string + type Parameter struct + Name string + Value string + func (*Parameter) Descriptor() ([]byte, []int) + func (*Parameter) ProtoMessage() + func (m *Parameter) GetName() string + func (m *Parameter) GetValue() string + func (m *Parameter) Reset() + func (m *Parameter) String() string + type Request struct + CompilerVersion *Version + Discovery *discovery_v1.Document + Openapi2 *openapi_v2.Document + Openapi3 *openapi_v3.Document + OutputPath string + Parameters []*Parameter + SourceName string + Surface *surface_v1.Model + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (m *Request) GetCompilerVersion() *Version + func (m *Request) GetDiscovery() *discovery_v1.Document + func (m *Request) GetOpenapi2() *openapi_v2.Document + func (m *Request) GetOpenapi3() *openapi_v3.Document + func (m *Request) GetOutputPath() string + func (m *Request) GetParameters() []*Parameter + func (m *Request) GetSourceName() string + func (m *Request) GetSurface() *surface_v1.Model + func (m *Request) Reset() + func (m *Request) String() string + type Response struct + Errors []string + Files []*File + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (m *Response) GetErrors() []string + func (m *Response) GetFiles() []*File + func (m *Response) Reset() + func (m *Response) String() string + type Version struct + Major int32 + Minor int32 + Patch int32 + Suffix string + func (*Version) Descriptor() ([]byte, []int) + func (*Version) ProtoMessage() + func (m *Version) GetMajor() int32 + func (m *Version) GetMinor() int32 + func (m *Version) GetPatch() int32 + func (m *Version) GetSuffix() string + func (m *Version) Reset() + func (m *Version) String() string