Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions settings/global.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -345,10 +345,18 @@ Example:
</Expandable>
</ResponseField>

<ResponseField name="maintainOrder" type="boolean" default={false}>
Enabling this flag ensures that key ordering in OpenAPI pages matches the key ordering defined in the OpenAPI file.

<Warning>This behavior will soon be enabled by default, at which point this field will be deprecated.</Warning>
<ResponseField name="request" type="object">
Configurations for API requests
<Expandable title="Request">
<ResponseField name="example" type="object">
Configurations for the auto-generated API request examples
<Expandable>
<ResponseField name="languages" type="string[]">
An array of strings that determine the order of the languages of the auto-generated request examples. You can either define custom languages utilizing [x-codeSamples](/api-playground/openapi/advanced-features#x-codesamples) or use our default languages which include `bash`, `python`, `javascript`, `php`, `go`, `java`
</ResponseField>
</Expandable>
</ResponseField>
</Expandable>
</ResponseField>

<ResponseField name="paramFields" type="ApiParamFields">
Expand Down Expand Up @@ -542,4 +550,5 @@ Click on the following dropdown to view a sample configuration file

## More Customization

Learn more about how to further customize your docs with custom CSS and JS in [Custom Scripts](https://mintlify.com/docs/integrations/custom/).
Learn more about how to further customize your docs with custom CSS and JS in
[Custom Scripts](https://mintlify.com/docs/integrations/custom/).