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

Improve YAML vs JSON parsing #1348

Merged
merged 2 commits into from
Sep 22, 2023
Merged

Improve YAML vs JSON parsing #1348

merged 2 commits into from
Sep 22, 2023

Conversation

drwpow
Copy link
Owner

@drwpow drwpow commented Sep 18, 2023

Changes

Fixes #1347. Simplifies YAML vs JSON parsing by simply checking if the file starts with {.

How to Review

  • All tests should pass

Checklist

  • Unit tests updated
  • docs/ updated (if necessary)
  • pnpm run update:examples run (only applicable for openapi-typescript)

@changeset-bot
Copy link

changeset-bot bot commented Sep 18, 2023

🦋 Changeset detected

Latest commit: 90c5a96

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

This PR includes changesets to release 1 package
Name Type
openapi-typescript 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

@cloudflare-pages
Copy link

cloudflare-pages bot commented Sep 18, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 90c5a96
Status: ✅  Deploy successful!
Preview URL: https://d29106dd.openapi-ts.pages.dev
Branch Preview URL: https://simplify-parsing.openapi-ts.pages.dev

View logs

@drwpow drwpow marked this pull request as ready for review September 22, 2023 20:47
@drwpow drwpow merged commit f6fdd2f into main Sep 22, 2023
9 checks passed
@drwpow drwpow deleted the simplify-parsing branch September 22, 2023 20:48
@github-actions github-actions bot mentioned this pull request Sep 22, 2023
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.

Support application/openapi content type
1 participant