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.
1 parent 58878f7 commit a8fe9b1Copy full SHA for a8fe9b1
src/SDK/Language/DotNet.php
@@ -242,22 +242,24 @@ public function getParamExample(array $param)
242
$output .= '""';
243
break;
244
case self::TYPE_OBJECT:
245
- $output .= 'new Object()';
+ $output .= '[object]';
246
247
case self::TYPE_ARRAY:
248
- $output .= '{}';
+ $output .= '[List<object>]';
249
250
}
251
252
else {
253
switch ($type) {
254
- case self::TYPE_OBJECT:
255
case self::TYPE_FILE:
256
case self::TYPE_NUMBER:
257
case self::TYPE_INTEGER:
258
259
$output .= $example;
260
+ case self::TYPE_OBJECT:
261
262
+ break;
263
case self::TYPE_BOOLEAN:
264
$output .= ($example) ? 'true' : 'false';
265
0 commit comments