We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
[]any
1 parent 660f30c commit 0813049Copy full SHA for 0813049
src/SDK/Language/Go.php
@@ -138,6 +138,9 @@ public function getFiles(): array
138
*/
139
public function getTypeName(array $parameter, array $spec = []): string
140
{
141
+ if (str_contains($parameter['description'], 'Collection attributes') || str_contains($parameter['description'], 'List of attributes')) {
142
+ return '[]any';
143
+ }
144
return match ($parameter['type']) {
145
self::TYPE_INTEGER => 'int',
146
self::TYPE_NUMBER => 'float64',
0 commit comments