Open
Conversation
Contributor
Author
|
🧪 Testing To try out this version of the SDK: Expires at: Thu, 09 Apr 2026 18:15:56 GMT |
49aae81 to
ac8885e
Compare
ac8885e to
8ce2b91
Compare
* fix: correct "exactly one" check in JSON schema validator The validation that ensures exactly one of `type`, `anyOf`, or `$ref` is present in a schema node used chained XOR operations: `a.xor(b).xor(c)`. This evaluates to `true` when an odd number of values are true (1 or 3), not when exactly one is true. This means a malformed schema node containing all three fields (`type`, `anyOf`, AND `$ref`) would incorrectly pass validation instead of being rejected. Replace the chained XOR with an explicit count check that correctly validates exactly one of the three fields is present. * chore: format --------- Co-authored-by: Tomer Aberbach <tomer@stainless.com>
743eaa2 to
1c303f3
Compare
1c303f3 to
6c7cd93
Compare
Four new test methods added in the latest codegen update reference
`baseUrl` as a class-level variable, but it was only available inside
the `TestBackend` inner class. Store `wmRuntimeInfo.httpBaseUrl` in a
`lateinit var baseUrl` field during `beforeEach` so the tests compile.
Co-authored-by: Claude Code (${CLAUDE_PROJECT_DIR}) <noreply@anthropic.com>
6c7cd93 to
ea88a4f
Compare
ea88a4f to
c9f48e4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated Release PR
2.16.1 (2026-03-11)
Full Changelog: v2.16.0...v2.16.1
Bug Fixes
Chores
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions