Skip to content

feat: add nuxt-endpoints module - #1585

Open
yoshinoriishii wants to merge 2 commits into
nuxt:mainfrom
nuxt-endpoints:agent/add-nuxt-endpoints-module
Open

feat: add nuxt-endpoints module#1585
yoshinoriishii wants to merge 2 commits into
nuxt:mainfrom
nuxt-endpoints:agent/add-nuxt-endpoints-module

Conversation

@yoshinoriishii

@yoshinoriishii yoshinoriishii commented Aug 17, 2026

Copy link
Copy Markdown

🔗 Linked issue

📚 Description

This PR adds nuxt-endpoints to the Nuxt modules registry.

nuxt-endpoints brings RPC-like end-to-end type safety to native Nuxt server routes without replacing Nuxt’s file-based routing. Users define a contract alongside each handler with Zod, Valibot, or Effect Schema, and the module derives:

  • Runtime-validated params, query, headers, and body
  • A status-aware typed client
  • An OpenAPI 3.1 document from the same contract
  • Optional Effect APIs
  • Typed TanStack Vue Query options, including queries, mutations, infinite queries, and stable query keys

This preserves HTTP methods, status codes, and OpenAPI interoperability while avoiding duplicated request and response types or manually maintained Query keys. Idempotency support is also available for mutation endpoints.

Nuxt Endpoints is designed to adopt Nuxt 5 typed-fetch and stable H3/Nitro metadata primitives as they become available, while keeping executable contracts, status-aware results, runtime validation, and optional client adapters at the module layer.

The metadata was synced against the published nuxt-endpoints@0.2.0 package, and the registry build completed successfully.

@coderabbitai

coderabbitai Bot commented Aug 17, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 42c6b946-c196-4bb7-a9e5-4a03a0a5275e

📥 Commits

Reviewing files that changed from the base of the PR and between 2d1ffbc and 61e4b4f.

📒 Files selected for processing (3)
  • modules/nuxt-charts.yml
  • modules/nuxt-endpoints.yml
  • modules/pinia.yml
🚧 Files skipped from review as they are similar to previous changes (1)
  • modules/nuxt-endpoints.yml

Included review availability: Your plan includes up to 4 reviews per rolling hour; 3 remain after this review.


📝 Walkthrough

Walkthrough

The change adds the nuxt-endpoints module manifest with registry metadata and Nuxt ^4.5.0 compatibility. It updates the nuxt-charts npm package identifier and extends Pinia compatibility to include Nuxt 5.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 61e4b

This PR adds the module’s registry metadata and icon without any identified merge-blocking risk; it is merge-ready after normal checks and review.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Out of Scope Changes check ⚠️ Warning The PR also changes nuxt-charts package metadata and pinia compatibility, which are unrelated to issue #1584. Remove the nuxt-charts and pinia changes, or move them to separate pull requests.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed The PR adds nuxt-endpoints metadata with the requested repository, npm, documentation, and Nuxt 4 compatibility details [#1584].
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The title clearly and concisely identifies the primary change: adding the nuxt-endpoints module.
Description check ✅ Passed The description directly explains the nuxt-endpoints registry addition and its supported capabilities.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@yoshinoriishii
yoshinoriishii force-pushed the agent/add-nuxt-endpoints-module branch from 61e4b4f to 3a017bf Compare August 17, 2026 03:19
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.

[Module Listing Request]: nuxt-endpoints

1 participant