Skip to content

fix: Enable Bearer auth input in Stoplight API docs#149

Merged
texture-fleet-agent[bot] merged 1 commit intomainfrom
meridian/fix-openapi-auth
Apr 23, 2026
Merged

fix: Enable Bearer auth input in Stoplight API docs#149
texture-fleet-agent[bot] merged 1 commit intomainfrom
meridian/fix-openapi-auth

Conversation

@texture-fleet-agent
Copy link
Copy Markdown
Contributor

One-liner: the OpenAPI spec had "security": [] which tells Stoplight Elements no auth is needed. Changed to "security": [{"bearerAuth": []}] so the Try It panel shows an API key input field and sends it as a Bearer token header.

Victor noticed there was no way to enter an API key in the interactive docs.

The security field was set to an empty array, which tells Stoplight
Elements that no auth is needed. Changed to reference the bearerAuth
scheme so the Try It panel shows an API key input field and includes
it as an Authorization header in requests.
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
commongrid Ready Ready Preview, Comment Apr 23, 2026 3:16pm

Request Review

@texture-fleet-agent texture-fleet-agent Bot merged commit baac007 into main Apr 23, 2026
6 checks passed
@texture-fleet-agent texture-fleet-agent Bot deleted the meridian/fix-openapi-auth branch April 23, 2026 15:20
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