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

Update OpenAPI code examples to support multiple content-type #2843

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

Conversation

nolannbiron
Copy link
Member

@nolannbiron nolannbiron commented Feb 17, 2025

Support for :

  • application/json
  • multipart/form-data
  • application/x-www-form-urlencoded
  • application/xml
  • application/graphql
  • text/csv
  • application/pdf
  • text/plain

Spec with multiple content types for demo : https://pr2843.gitbook-open.pages.dev/gitbook-nolann-test.gitbook.io/gitbook-nolann-test-api/content-types

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

linear bot commented Feb 17, 2025

Copy link

changeset-bot bot commented Feb 17, 2025

🦋 Changeset detected

Latest commit: afb75de

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

Copy link
Contributor

github-actions bot commented Feb 17, 2025

Copy link

argos-ci bot commented Feb 17, 2025

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

Build Status Details Updated (UTC)
customers (Inspect) ⚠️ Changes detected (Review) 9 changed Feb 21, 2025, 6:18 PM
default (Inspect) ⚠️ Changes detected (Review) 2 changed Feb 21, 2025, 6:19 PM

@nolannbiron nolannbiron force-pushed the nolann/rnd-4182-openapi-code-examples-not-using-multipartform-data-requests branch from 1412198 to 2a5a954 Compare February 21, 2025 17:08
@nolannbiron nolannbiron changed the title Switch to @scalar/snippetz for code sample Update OpenAPI code examples to support multiple content-type Feb 21, 2025
@nolannbiron nolannbiron marked this pull request as ready for review February 21, 2025 17:10
@gregberge
Copy link
Contributor

@nolannbiron add changeset please

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