Skip to content

Document x-default extension for API playground#4781

Merged
ethanpalm merged 2 commits intomainfrom
mintlify/doc-x-default-1774052974
Mar 25, 2026
Merged

Document x-default extension for API playground#4781
ethanpalm merged 2 commits intomainfrom
mintlify/doc-x-default-1774052974

Conversation

@mintlify
Copy link
Contributor

@mintlify mintlify bot commented Mar 21, 2026

Summary

  • Added documentation for the x-default OpenAPI extension on security schemes, which pre-fills authentication fields in the API playground with default values
  • Noted that x-default also works on any schema property as an alternative to the standard default field for playground input pre-filling

Note

Low Risk
Documentation-only change that adds guidance for using the nonstandard x-default extension; no runtime or data-handling code is modified.

Overview
Documents the x-default OpenAPI extension for the API playground, showing how to pre-fill authentication inputs for apiKey and http bearer security schemes.

Also notes that x-default can be applied to schema properties to seed playground inputs without using the standard schema default value.

Written by Cursor Bugbot for commit 5c66f71. This will update automatically on new commits. Configure here.

@mintlify
Copy link
Contributor Author

mintlify bot commented Mar 21, 2026

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

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Mar 21, 2026, 12:35 AM

@ethanpalm ethanpalm merged commit b96ab99 into main Mar 25, 2026
5 checks passed
@ethanpalm ethanpalm deleted the mintlify/doc-x-default-1774052974 branch March 25, 2026 01:52
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.

1 participant