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 05dba63 commit e409146Copy full SHA for e409146
src/SDK/Language/GraphQL.php
@@ -156,10 +156,10 @@ public function getParamExample(array $param): string
156
$output .= 'false';
157
break;
158
case self::TYPE_STRING:
159
- $output .= "";
+ $output .= '""';
160
161
case self::TYPE_OBJECT:
162
- $output .= '{}';
+ $output .= '"{}"';
163
164
case self::TYPE_ARRAY:
165
$output .= '[]';
@@ -197,6 +197,10 @@ public function getFiles(): array
197
'scope' => 'method',
198
'destination' => 'docs/examples/{{service.name | caseLower}}/{{method.name | caseDash}}.md',
199
'template' => '/graphql/docs/example.md.twig',
200
+ 'exclude' => [
201
+ 'services' => [['name' => 'graphql']],
202
+ 'methods' => [['type' => 'webAuth']],
203
+ ],
204
],
205
];
206
}
0 commit comments