Skip to content

fix: support payload-shaped response types - #5

Merged
Kentakoong merged 2 commits into
mainfrom
fix/unwrap-mixed-envelopes
Aug 21, 2026
Merged

Kentakoong merged 2 commits into
mainfrom
fix/unwrap-mixed-envelopes

Conversation

@Kentakoong

Copy link
Copy Markdown
Member

Summary

  • add an opt-in unwrapResponseData source option for HTTP clients that already unwrap success envelopes
  • keep data-only and raw response objects unchanged
  • recognize response envelopes composed through nested references and allOf
  • bump the package to 0.1.6

Verification

  • Node 24.18.0
  • pnpm verify
  • 56 test files, 305 tests passed
  • coverage: 96.61% statements, 89.89% branches, 99.57% functions, 96.57% lines
  • git diff --check

@Kentakoong
Kentakoong merged commit 92e1b63 into main Aug 21, 2026
4 checks passed
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