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

Swagger Unable to render this definition #1670

Closed
2 of 4 tasks
bippan1407 opened this issue Aug 30, 2024 · 2 comments
Closed
2 of 4 tasks

Swagger Unable to render this definition #1670

bippan1407 opened this issue Aug 30, 2024 · 2 comments

Comments

@bippan1407
Copy link

  • I'm submitting issue related to swagger

    • 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 Behaviour

Followed example from docs but instead of ts-node I am using esbuild.
Swagger docs should open at http://localhost:3000/docs/ as specified in the docs

Current Behaviour

Cannot see swagger documentation

http://localhost:3000/docs/

Screenshot 2024-08-30 at 5 38 10 PM

Steps to Reproduce

  1. Clone the repo https://github.com/bippan1407/tsoa
  2. yarn install
  3. yarn dev-swagger
  4. open http://localhost:3000/docs/

Context (Environment)

Version of the library: 6.4.0
Version of NodeJS: 20.11.1

  • Confirm you were using yarn not npm: [x]
Copy link

Hello there bippan1407 👋

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

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

@bippan1407
Copy link
Author

Issue was caused because of esbuild configuration it is now fixed. I have updated code on repo

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

1 participant