Skip to content

docs(plugin-axios,plugin-fetch): document the returnType option - #195

Open
stijnvanhulle wants to merge 1 commit into
mainfrom
claude/unwrap-alternative-research-ga21xw
Open

docs(plugin-axios,plugin-fetch): document the returnType option#195
stijnvanhulle wants to merge 1 commit into
mainfrom
claude/unwrap-alternative-research-ga21xw

Conversation

@stijnvanhulle

Copy link
Copy Markdown
Contributor

🎯 Changes

Documents the new returnType: 'full' | 'data' option added to @kubb/plugin-axios and @kubb/plugin-fetch in kubb-labs/plugins#818, which was requested in kubb-labs/discussions#3952.

Adds a row and a ### returnType section to both plugins' reference/options.md, explaining the 'data' unwrap, its throwOnError fallback behavior, and that it does not apply to the query-hook plugins.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I am using USA English (serialize, color, center, canceled, analyze, license).
  • I ran the humanizer check on any new documentation I wrote.

🤖 Generated with Claude Code

https://claude.ai/code/session_012DSVW79h2FdFDkoWWr6PwN


Generated by Claude Code

kubb-labs/plugins adds returnType: 'full' | 'data' to plugin-axios and
plugin-fetch (kubb-labs/discussions#3952), letting a generated call
resolve to the bare success body instead of the full result. Document
the option on both plugins' reference pages.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012DSVW79h2FdFDkoWWr6PwN
@changeset-bot

changeset-bot Bot commented Sep 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: ef417e2

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

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.

2 participants