Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: malformed d.ts with multiple APIs with schema #46

Conversation

mattmess1221
Copy link
Contributor

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation, readme or JSDoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

When multiple endpoints with schemas are declared, nuxt-api-party.d.ts becomes invalid. This fixes it.

Broken (current):

import type { paths as SnowPaths } from '#nuxt-api-party/snow'import type { paths as AuthPaths } from '#nuxt-api-party/auth'

Fixed (PR):

import type { paths as SnowPaths } from '#nuxt-api-party/snow'
import type { paths as AuthPaths } from '#nuxt-api-party/auth'

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@netlify
Copy link

netlify bot commented Sep 5, 2023

βœ… Deploy Preview for nuxt-api-party ready!

Name Link
πŸ”¨ Latest commit 1e2caa3
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt-api-party/deploys/64f7843869c1d600083a15e3
😎 Deploy Preview https://deploy-preview-46--nuxt-api-party.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@johannschopplich johannschopplich merged commit 9a47f6a into johannschopplich:main Sep 5, 2023
@mattmess1221 mattmess1221 deleted the bugfix/multiple-schema-apis branch March 18, 2024 16:35
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