We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
path
[email protected] @elysiajs/[email protected]
import { Elysia } from 'elysia' import { swagger } from "@elysiajs/swagger"; new Elysia() .use( swagger({ path: '/v1/swagger' }) ) .get('/', () => '') .listen(8080)
The path passed to the frontend is wrong: Instead of v1/swagger/json it has to be /v1/swagger/json for both scalar and swagger-ui
v1/swagger/json
/v1/swagger/json
scalar
swagger-ui
elysia-swagger/src/index.ts
Line 69 in ca5bdfa
Line 86 in ca5bdfa
reported on discord
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Versions
Code
Problem
The path passed to the frontend is wrong: Instead of
v1/swagger/json
it has to be/v1/swagger/json
for bothscalar
andswagger-ui
elysia-swagger/src/index.ts
Line 69 in ca5bdfa
elysia-swagger/src/index.ts
Line 86 in ca5bdfa
reported on discord
The text was updated successfully, but these errors were encountered: