-
-
Notifications
You must be signed in to change notification settings - Fork 542
Fix anyOf transformation #895
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
Anything I can do to help move this along? |
Additional tests are added and previous tests were updated. So I guess we just need approval from one of the maintainers. 🤞🏼 |
Codecov Report
@@ Coverage Diff @@
## main #895 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 1 1
=========================================
Hits 1 1 Continue to review full report at Codecov.
|
Hm after revisiting the spec, I’m not so sure this is an improvement on the existing behavior. Copying a comment I made here: Hm, from the OpenAPI specification:
I don’t believe I think the current behavior is correct ( |
Replied in #894 (comment) @drwpow |
So as discussed in #894, I’m in favor of this change and I’ve been convinced this is proper behavior. Even though this is a fix, this may disrupt enough people I’m going to release this in a breaking change. There are some other minor bugfixes I’ll merge first, then I’ll ship a prerelease candidate for the next major version with this for testing. If that looks good, we’ll cut a new major for this 😎 |
Rebased on latest |
Just released a new version at If the behavior works as expected, I’ll cut a stable release of this. |
Fixes #894