Skip to content

Conversation

@idbenami
Copy link
Contributor

This PR is still WORK-IN-PROGRESS

Create new client-nestjs plugin for @hey-api/openapi-ts package that generates a nestjs module filled with all endpoints as functions in services:

  • Generate a NestJS module that encapsulates the OpenAPI client.
  • Create services for each OpenAPI tag (controller), allowing developers to interact with the API endpoints.
  • Keep the actual request generation logic close to the existing Axios client generator.

closes: #1481

TODO:

  • add tests to openapi-ts-tests
  • add docs
  • handle non-plain-text names (file name, function name...)

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@changeset-bot
Copy link

changeset-bot bot commented Nov 12, 2025

⚠️ No Changeset found

Latest commit: b0c6d62

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.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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

@vercel
Copy link

vercel bot commented Nov 12, 2025

@idbenami is attempting to deploy a commit to the Hey API Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. client Client package related feature 🚀 New feature or request labels Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

client Client package related feature 🚀 New feature or request size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nest plugin

1 participant