Skip to content

docs: document overriding auto-generated Authorization description#6683

Open
mintlify[bot] wants to merge 3 commits into
mainfrom
mintlify/71a9774b
Open

docs: document overriding auto-generated Authorization description#6683
mintlify[bot] wants to merge 3 commits into
mainfrom
mintlify/71a9774b

Conversation

@mintlify

@mintlify mintlify Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Documentation changes

Adds a subsection to the OpenAPI setup page explaining that users can override the auto-generated Authorization field description in the API playground by setting a description on the security scheme in their OpenAPI spec. Customers frequently miss that this is customizable.

Closes


For Reviewers

When reviewing documentation PRs, please consider:

✅ Technical accuracy

  • Code examples work as written
  • Commands and configurations are correct
  • Links resolve to the right destinations
  • Prerequisites and requirements are accurate

✅ Clarity and completeness

  • Instructions are clear and easy to follow
  • Steps are in logical order
  • Nothing important is missing
  • Examples help illustrate the concepts

✅ User experience

  • A new user could follow these docs successfully
  • Common gotchas or edge cases are addressed
  • Error messages or troubleshooting guidance is helpful

Generated by Mintlify Agent.

Requested by: hahnbee@mintlify.com via Slack
Mintlify session: slack_1784605763.271809_C0A6A37P2AK


Note

Low Risk
Documentation-only edits with no runtime or security impact.

Overview
Adds troubleshooting guidance for when the API playground shows a generic Authorization field description: set a description on the relevant securitySchemes entry in the OpenAPI spec (with a bearer example), note that Markdown is supported, and that the text applies on every endpoint using that scheme.

The only change in openapi-setup.mdx is removing an extra blank line before the download-spec section; the override behavior is not added there in this diff.

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

@mintlify

mintlify Bot commented Jul 21, 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 Jul 21, 2026, 3:52 AM

@mintlify

mintlify Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

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

Project Status Preview Updated (UTC)
tomee 🟢 Ready View Preview Jul 21, 2026, 3:52 AM

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

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 8575b18. Configure here.

<Accordion title="The Authorization field description is generic or unhelpful">
Mintlify auto-generates a description for the `Authorization` field in the API playground based on the security scheme type. Override it by adding a `description` to the security scheme in your OpenAPI specification.

```json {7} theme={null}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accidental code fence theme attribute

Low Severity

The new code fence includes theme={null}, which does not appear elsewhere in the docs and is not a documented Mintlify code-block meta option. It looks like leftover agent scaffolding rather than intentional docs markup.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 8575b18. Configure here.

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