Skip to content

Commit 057a7e3

Browse files
Add api.paramFields.expanded to docs (mintlify#251)
* Add section from to docs * Update settings/global.mdx Co-authored-by: Hahnbee Lee <[email protected]> * Update settings/global.mdx Co-authored-by: Hahnbee Lee <[email protected]> --------- Co-authored-by: Hahnbee Lee <[email protected]>
1 parent 4fee035 commit 057a7e3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

settings/global.mdx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,24 @@ Example:
351351
<Warning>This behavior will soon be enabled by default, at which point this field will be deprecated.</Warning>
352352
</ResponseField>
353353

354+
<ResponseField name="paramFields" type="ApiParamFields">
355+
Configurations for the param fields in the API Playground
356+
357+
<Expandable title="ApiParamFields">
358+
<ResponseField name="expanded" default="none" type='"all" | "topLevel" | "topLevelOneOfs" | "none"'>
359+
The default expanded state of expandable options in the API playground.
360+
361+
`"all"` - every expandable component is expanded
362+
363+
`"topLevel"` - every top-level expandable component is expanded
364+
365+
`"topLevelOneOfs"` - every top-level `oneOf` type is expanded
366+
367+
`"none"` - every expandable component is closed (default behavior)
368+
</ResponseField>
369+
</Expandable>
370+
</ResponseField>
371+
354372
</Expandable>
355373
</ResponseField>
356374

0 commit comments

Comments
 (0)