Skip to content

Update from code changes: document x-mint playground expand setting - #7202

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/95379ef3
Open

Update from code changes: document x-mint playground expand setting#7202
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/95379ef3

Conversation

@mintlify

@mintlify mintlify Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents the new operation-level x-mint.playground.expand OpenAPI extension for collapsing nested object fields in the API playground by default.

Spec authors can now add x-mint: playground with expand: false to an operation so nested object field dropdowns start collapsed in the API playground. Top-level request sections (Authorization, Path, Query, Body) always stay expanded, and users can still expand collapsed fields manually. When the setting is omitted, behavior is unchanged and everything starts expanded. Shipped in https://github.com/mintlify/mint/pull/10537

Changes

  • Added a "Collapse nested playground fields" section to the x-mint customization docs on the OpenAPI setup page, with a JSON example
  • Mirrored the new section in the Spanish, French, and Chinese translations

Note

Low Risk
Documentation-only changes to MDX; no runtime or API behavior in this repo.

Overview
Documents the operation-level x-mint.playground.expand OpenAPI extension so authors can start nested object fields collapsed in the API playground.

A new Collapse nested playground fields section on the OpenAPI setup page explains setting expand: false under x-mint.playground, includes a JSON example, and clarifies that top-level sections (Authorization, Path, Query, Body) stay expanded while only nested object fields collapse; omitting expand keeps today’s all-expanded default. The same section is added to the Spanish, French, and Chinese openapi-setup pages (localized locales use a collapse-nested-playground-fields anchor for deep links).

Reviewed by Cursor Bugbot for commit c400a77. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify

mintlify Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Aug 31, 2026, 8:53 PM

@mintlify

mintlify Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
tomee 🟡 Building Aug 31, 2026, 8:52 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants