Skip to content

Improve OpenAPI Securities sample and headers #2816

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

nolannbiron
Copy link
Member

This PR aims to improve the handling of the OpenAPI securities scheme (support for v2/v3) and align with the OpenAPI v3 specification.

  • Remove scheme in apiKey
  • Basic Auth example Authorization: Basic usename:password
  • support for bearer, bearerAuth, etc

@nolannbiron nolannbiron self-assigned this Feb 7, 2025
Copy link

linear bot commented Feb 7, 2025

Copy link

changeset-bot bot commented Feb 7, 2025

🦋 Changeset detected

Latest commit: a9f5beb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@gitbook/react-openapi Patch
gitbook Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@nolannbiron nolannbiron requested a review from gregberge February 7, 2025 09:20
Copy link
Contributor

github-actions bot commented Feb 7, 2025

Copy link

argos-ci bot commented Feb 7, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) 👍 Changes approved 124 changed Feb 7, 2025, 10:56 AM

@nolannbiron nolannbiron force-pushed the nolann/rnd-4753-code-sample-does-not-show-header-auth-with-openapi-20-spec branch from 132848a to 44ae4a2 Compare February 7, 2025 10:24
@nolannbiron nolannbiron force-pushed the nolann/rnd-4753-code-sample-does-not-show-header-auth-with-openapi-20-spec branch from 44ae4a2 to a9f5beb Compare February 7, 2025 10:47
@nolannbiron nolannbiron merged commit 0c03676 into main Feb 7, 2025
12 checks passed
@nolannbiron nolannbiron deleted the nolann/rnd-4753-code-sample-does-not-show-header-auth-with-openapi-20-spec branch February 7, 2025 11:35
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.

2 participants