Repository navigation
Conversation
Generated from api-sdk-definitions 26bbcdc (globalcommerce/api-sdk-definitions#65). Co-Authored-By: Claude <noreply@anthropic.com>
Source: globalcommerce/api-sdk-definitions@56b404d Co-Authored-By: Claude <noreply@anthropic.com>
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.
FulfillmentClient.uploadEvidenceFileAsyncnever sent the file. The request went out without a body, so every upload failed. It now sends the file as amultipart/form-datapart.Changelog (0.2.4):
uploadEvidenceFileAsyncsends the file.Why the low-level client changed: the portal spec names
multipart/form-datafor this operation only in theContent-Typeheader text and declares no request body, so Kiota generated apost()method that takes no body. Distribution now writes a repaired copy of the spec tospecs/kiota/fulfillment.jsonwith thefilepart declared, as the operation's documentation specifies, andgenerate.shpoints Kiota at it.specs/openapi/fulfillment.jsonis still the unmodified portal spec. Kiota's builder now takes aMultipartBody; the wrapper builds it and calls Kiota's ownpost(), so request options and typed errors work as for every other operation. Public wrapper signatures and constructors are unchanged.Scope: only the upload fix from
globalcommerce/api-sdk-definitions#65(source commit56b404d). Unrelated spec changes are left for the next regular distribution.Verification:
./gradlew compileJavapasses.uploadEvidenceFileAsyncsends the file bytes exactly, as an RFC 7578 part with a matching boundary, and returnsUploadEvidenceFilePaymentDisputeResponse.Created with Claude Opus 5.5 in Claude Code; design agreed and reviewed with GPT-6.2 Astra in Codex.
Generated with Claude Code