Skip to content
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

RND-2311: enums for server url in openapi block #2452

Open
wants to merge 66 commits into
base: main
Choose a base branch
from

Conversation

BrettJephson
Copy link
Contributor

@BrettJephson BrettJephson commented Sep 5, 2024

With this PR, open api schemas with an array of servers and variables for server urls will allow selection of the variables and choice of server.

Updating code samples and scalar modal's server url when updated. Which fixes Issue #2432

CleanShot.2024-09-12.at.17.11.32.mp4

Copy link

linear bot commented Sep 5, 2024

@BrettJephson BrettJephson self-assigned this Sep 5, 2024
Copy link

changeset-bot bot commented Sep 5, 2024

🦋 Changeset detected

Latest commit: d9ee1a7

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 Minor
gitbook Minor

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

Copy link

argos-ci bot commented Sep 5, 2024

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

Build Status Details Updated (UTC)
default (Inspect) ⚠️ Changes detected (Review) 38 changed Oct 21, 2024, 6:40 PM

Copy link
Member

@SamyPesse SamyPesse left a comment

Choose a reason for hiding this comment

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

Quick first pass, I think we should abstract the concept of enum you are introducing here (enum is also a confusing name btw), to also be used for other client states that the block needs.

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.

"Test it" tool URL not prepopulated with gitbook API and must be manually edited
2 participants