gen/data_types.go
func (p *ActionParam) Signature() (sig string) {
	switch t := p.Type.(type) {
	case *BasicDataType:
		sig = string(*t)
	case *ArrayDataType:
		cs := t.ElemType.Signature()
		sig = fmt.Sprintf("[]%s", cs)
	case *ObjectDataType:
		sig = fmt.Sprintf("*%s", t.TypeName)
	case *EnumerableDataType:
		sig = "map[string]interface{}"
	case *UploadDataType:
		sig = "*rsapi.FileUpload"
	case *SourceUploadDataType:
		sig = "*rsapi.SourceUpload"
	}
	return
}
func (p *ActionParam) Signature() (sig string) {
	switch t := p.Type.(type) {
	case *BasicDataType:
		sig = string(*t)
	case *ArrayDataType:
		cs := t.ElemType.Signature()
		sig = fmt.Sprintf("[]%s", cs)
	case *ObjectDataType:
		sig = fmt.Sprintf("*%s", t.TypeName)
	case *EnumerableDataType:
		sig = "map[string]interface{}"
	case *UploadDataType:
		sig = "*rsapi.FileUpload"
	case *SourceUploadDataType:
		sig = "*rsapi.SourceUpload"
	}
	return
}
// Signature generates the signature used e.g. when specifying param in function signatures.