Skip to content

fix(widget): permit null in validator provider revshare decoding - #570

Open
petar-omni wants to merge 1 commit into
refactor/shared-skeleton-layoutsfrom
fix/validator-provider-revshare-decode
Open

petar-omni wants to merge 1 commit into
refactor/shared-skeleton-layoutsfrom
fix/validator-provider-revshare-decode

Conversation

@petar-omni

Copy link
Copy Markdown
Contributor

Summary

  • Permit null in ValidatorProviderDto.revshare decoding via an OpenAPI spec patch, regenerated schemas, and regression tests.
  • Update default LegacyApi URL to staging (https://api.stg.stakek.it/docs.yaml) to fix the ALB 404 on production https://api.stakek.it/docs.yaml.
  • Strip _v1 operation ID suffixes emitted by NestJS URI versioning so generated client methods and DTOs retain stable names without V1 suffixes.
  • Explicitly close unannotated OpenAPI object schemas in prepareSpecContents so Effect rc.115 openapigen emits Schema.Struct, preserving .fields access.

Why

Fixes decode failures when validator providers return revshare: null in validator and yield provider responses.

Dependency

Stacked on #568; merge the layout refactor first.

@changeset-bot

changeset-bot Bot commented Sep 16, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 025fcb2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@petar-omni
petar-omni force-pushed the fix/validator-provider-revshare-decode branch from 4f9311c to 113d3e3 Compare September 16, 2026 09:51
@petar-omni
petar-omni added this pull request to stack #569 September 16, 2026 09:59
@petar-omni
petar-omni force-pushed the fix/validator-provider-revshare-decode branch from 113d3e3 to f8e9e2a Compare September 16, 2026 10:56
@petar-omni
petar-omni force-pushed the fix/validator-provider-revshare-decode branch 2 times, most recently from b8a64ca to 02874d7 Compare September 16, 2026 12:58
…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.
@petar-omni
petar-omni force-pushed the fix/validator-provider-revshare-decode branch from 02874d7 to 025fcb2 Compare September 17, 2026 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant