[documentcollector] Code generation: update services and models - #2045
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces the auto-generated Java SDK client and models for the Cross-border Invoices API (documentcollector service). While the addition of these models and API endpoints is correct in scope, several critical issues were identified in the generated code. Specifically, the uploadCrossBorderInvoice method in DocumentsApi discards all of its parameters and forwards a null request, making document uploads impossible. Additionally, the static mapper in the JSON class is unsafely initialized inside a non-static constructor, which poses thread-safety risks and should be moved to a static block. Finally, a minor improvement is needed in AbstractOpenApiSchema to add a missing @Override annotation to the equals method.
96851e0 to
0c2e21b
Compare
|



This PR contains the automated changes for the
documentcollectorservice.The commit history of this PR reflects the
adyen-openapicommits that have been applied.New Features 💎
Cross-border Invoices API
Other Changes 🖇️