Skip to content

Commit 58cb381

Browse files
committed
add defaults in api examples
1 parent 12b0742 commit 58cb381

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

settings/global.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -538,6 +538,9 @@ Every documentation site requires a `docs.json` file that contains the core conf
538538
<ResponseField name="languages" type="array of string">
539539
Example languages for the autogenerated API snippets
540540
</ResponseField>
541+
<ResponseField name="defaults" type="&quot;required&quot; | &quot;all&quot;">
542+
Whether to show optional parameters in api examples, defaults to `all`
543+
</ResponseField>
541544
</Expandable>
542545
</ResponseField>
543546
<ResponseField name="mdx" type="object">

0 commit comments

Comments
 (0)