Versions in this module Expand all Collapse all v0 v0.10.0 May 12, 2023 Changes in this version + var OperationSkipList = map[string]bool + var ResourceMaps = map[esign.APIVersion]map[string]string + var ServiceNameOverride = map[string]string + func CustomCode(apiname string) string + func GetFieldOverrides() map[string]map[string]string + func GetParameterOverrides() map[string]map[string]string + func GetServicePrefixes(service string) []string + func IsUploadFilesOperation(opID string) bool + func PackageScopes(ver esign.APIVersion) string + func ToGoName(name string) string + func ToGoNameLC(name string) string + type AdditionalProperty struct + Type string + type Contact struct + Name string + URL string + type DefSlice []Definition + func (ds *DefSlice) UnmarshalJSON(b []byte) error + func (ds DefSlice) Len() int + func (ds DefSlice) Less(i, j int) bool + func (ds DefSlice) Swap(i, j int) + type Definition struct + Category string + Description string + Fields FieldList + ID string + Name string + Order string + Summary string + Type string + func TabDefs(apiname string, defMap map[string]Definition, ...) []Definition + func TabDefsV2(defMap map[string]Definition, overrides map[string]map[string]string) []Definition + func TabDefsV21(defMap map[string]Definition, overrides map[string]map[string]string) []Definition + func (d Definition) CommentLines() []string + func (d Definition) StructFields(defMap map[string]Definition, overrides map[string]map[string]string) []StructField + func (d Definition) StructName() string + type Document struct + BasePath string + Consumes []string + DSTags []Tag + Definitions DefSlice + ExternalDocs ExternalDocs + Host string + Info Info + Operations OpList + Produces []string + Schemes []string + Tags []Tag + Version string + type DownloadAddition struct + Comments []string + MimeType string + Name string + func GetDownloadAdditions(opID string) []DownloadAddition + type Example struct + Description string + Direction string + Format string + Request map[string]interface{} + Response map[string]interface{} + Style string + Title string + type ExternalDocs struct + Description string + URL string + type Field struct + AdditionalProperties *AdditionalProperty + Description string + Format string + Items *SchemaRef + Name string + Ref string + Type string + type FieldList []Field + func (f *FieldList) UnmarshalJSON(b []byte) error + type Info struct + Contact Contact + Description string + TermsOfService string + Title string + Version string + type OpList []Operation + func (ops *OpList) UnmarshalJSON(b []byte) error + func (ops OpList) Len() int + func (ops OpList) Less(i, j int) bool + func (ops OpList) Swap(i, j int) + type Operation struct + Consumes []string + Deprecated bool + Description string + Examples []Example + HTTPMethod string + InSDK bool + Method string + MethodName string + OperationID string + Parameters []Property + Path string + Produces []string + Responses map[string]Response + Service string + Status string + Summary string + Tags []string + func (o *Operation) ReturnsJSON() bool + func (o Operation) Accept() string + func (o Operation) CommentLines(funcName, docService, docPrefix string, hasFileUploads bool, ...) []string + func (o Operation) ContentType() string + func (o Operation) GoFuncName(useMethodName bool, prefixList []string) string + func (o Operation) OpPath(ver string) string + func (o Operation) OpPath2(ver string, p []PathParam) string + func (o Operation) PathParameters() []PathParam + func (o Operation) Payload(defMap map[string]Definition, modelPkgName string) *Payload + func (o Operation) QueryOpts(overrides map[string]map[string]string) []QueryOpt + func (o Operation) Result(structMap map[string]Definition, pkgName string) string + func (o Operation) SDK() string + type PathParam struct + GoName string + Name string + type Payload struct + GoName string + Type string + type Property struct + Description string + Format string + In string + Name string + Required bool + Schema *SchemaRef + Type string + type QueryOpt struct + Comments []string + GoName string + Name string + Type string + Value string + type Response struct + Description string + Schema *SchemaRef + type SchemaRef struct + Format string + Ref string + Type string + type StructField struct + Comments []string + JSON string + Name string + Type string + type Tag struct + Description string + Name string + Summary string