Skip to content

Conversation

idbenami
Copy link
Contributor

@idbenami idbenami commented Sep 5, 2025

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 docs
  • handle non-plain-text names (file name, function name...)

Copy link

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

Copy link

changeset-bot bot commented Sep 5, 2025

⚠️ No Changeset found

Latest commit: 5d192c6

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

Copy link

vercel bot commented Sep 5, 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.

Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

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.

Nest plugin
1 participant