-
-
Notifications
You must be signed in to change notification settings - Fork 473
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
Fix empty request / response bodies #1280
Fix empty request / response bodies #1280
Conversation
🦋 Changeset detectedLatest commit: 32ac1e5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
@drwpow The tests that are failing are because we cannot simply return |
This is a good change to make! No I think you’re right—I can’t see this actually being a “breaking” change for most people; this feels like a bugfix. I’m OK with updating the test snapshots to reflect the changes made here. There’s not really an automated script to handle it because I kinda like making updating snapshots annoying :P (i.e. it shouldn’t happen frequently and in bulk) |
Also, so sorry to do this to you, but I realized Prettier was out of date and bumped it 😓. The diff shouldn’t be too bad, but let me know if you encounter any annoying conflicts. |
8cc293a
to
4fe895d
Compare
Not sure why the CI is failing, tests are passing locally:
|
@pvanagtmaal you’ll need to update the snapshots in |
4fe895d
to
32ac1e5
Compare
@@ -16033,7 +16041,14 @@ export interface external { | |||
page?: number; | |||
region?: external["shared/attributes/region_slug.yml"]; | |||
}; | |||
"shared/responses/accepted.yml": never | |||
"shared/responses/accepted.yml": { | |||
headers: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 🎉 🎉
These were the type of test failures we like to see 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! This is a huge fix 🙏
Changes
Fixes #1109 and #1174
How to Review
Nothing special
Checklist
docs/
updated (if necessary)pnpm run update:examples
run (only applicable for openapi-typescript)