fix(widget): permit null in validator provider revshare decoding - #575
Conversation
|
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit cf34849. Configure here.
There was a problem hiding this comment.
Stale comment
Risk: medium. Left a non-blocking comment and did not approve: this is above the low-risk threshold, Cursor Bugbot did not complete successfully and has an unresolved finding, and human review is needed. Assigned reviewers.
Sent by Cursor Approval Agent: Pull Request Router and Approver
…enapi generation - Permit null in ValidatorProviderDto.revshare decoding (OpenAPI spec patch, regenerated schemas, and domain regression tests). - Target production API doc endpoints (api.stakek.it, api.yield.xyz, and borrow.yield.xyz) for OpenAPI generation. - Strip _v1 operation ID suffixes emitted by NestJS URI versioning so client methods and DTOs retain stable names. - Close unannotated OpenAPI object schemas in prepareSpecContents so Effect rc.115 generates Schema.Struct preserving .fields access. - Support "supplyAndBorrow" action and "BUNDLE" transaction types in SKBorrowTxMeta. - Add blueBundleOriginationFeeBps to borrow test mock fixtures.
cf34849 to
0ca7c1c
Compare
There was a problem hiding this comment.
Risk: medium. Left a non-blocking comment and did not approve: regenerated API clients/schemas and OpenAPI generation changes exceed the low-risk threshold, so human review is needed. Reviewers were already assigned, so none were added.
Sent by Cursor Approval Agent: Pull Request Router and Approver



Summary
nullforValidatorProviderDto.revsharein OpenAPI decoding, regenerate API schemas and clients, and add regression coverage.LegacyApiOpenAPI document URL at staging to avoid the production ALB 404._v1suffixes from generated operation names so client methods and DTOs keep stable names.prepareSpecContentsso Effect rc.115 generatesSchema.Structvalues with.fields.Why
Validator and yield-provider responses can return
revshare: null. The generated decoder previously rejected those responses.Supersedes #570.