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.
2 parents 54bed3e + e240702 commit 2716c71Copy full SHA for 2716c71
src/SDK/Language/DotNet.php
@@ -236,7 +236,7 @@ public function getParamExample(array $param): string
236
if (empty($example) && $example !== 0 && $example !== false) {
237
switch ($type) {
238
case self::TYPE_FILE:
239
- $output .= 'new File("./path-to-files/image.jpg")';
+ $output .= 'InputFile.FromPath("./path-to-files/image.jpg")';
240
break;
241
case self::TYPE_NUMBER:
242
case self::TYPE_INTEGER:
0 commit comments