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

"$" char percent encoding causes reference and pointer resolving issue #1530

Closed
2 of 4 tasks
ashe0047 opened this issue Jan 2, 2024 · 2 comments
Closed
2 of 4 tasks

Comments

@ashe0047
Copy link

ashe0047 commented Jan 2, 2024

I am using Prisma generated types to generate the swagger document but Prisma generates Enum types using $Enum namespace resulting in the schema name being percent encoded causing reference and pointer resolving error as percent encoding is not decoded by swagger-ui

Sorting

  • I'm submitting a ...

    • bug report
    • feature request
    • support request
  • I confirm that I

    • used the search to make sure that a similar issue hasn't already been submit

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce

Using a type var name with $ character should reproduce the same error

image
image

Context (Environment)

Version of the library: 5.1.1
Version of NodeJS: 20.9.0

  • Confirm you were using yarn not npm: [ ]

Detailed Description

Breaking change?

Copy link

github-actions bot commented Jan 2, 2024

Hello there ashe0047 👋

Thank you for opening your very first issue in this project.

We will try to get back to you as soon as we can.👀

@WoH
Copy link
Collaborator

WoH commented Jan 12, 2024

Should be gone in v6.

@WoH WoH closed this as completed Jan 12, 2024
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

No branches or pull requests

2 participants