-
Notifications
You must be signed in to change notification settings - Fork 507
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 Version not defined and unable to render #2361
Comments
Came across the same issue, stable channel of nitro is currently using Switching to nightly channel should fix your problem. |
Ah, I thought I also ran into this on nightly. Is there a way to manually specify the OpenAPI version in the nuxt config? |
Sadly it isn't possible since the value is hardcoded. What I did as a temporary workaround: I copied the generated routes from |
Hi, I expect this issue will be resolved when the version containing this Pull Request is released. |
You can try with https://nitro.unjs.io/guide/nightly |
Environment
latest everything (node latest LTS)
Reproduction
https://stackblitz.com/edit/github-ujxcqv?file=nitro.config.ts
Describe the bug
Swagger docs aren't visible when going to /_nitro/swagger and pops up the following error:
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: