You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a simple index.ts file with an Elysia instance with a handler containing detailed documentation for the request body and the responses:
What is the expected behavior?
SwaggerUI renders the example request body and responses with the example values in the details.
What do you see instead?
SwaggerUI only renders example values for the response, but not the request body, it just says "string" for the values (both providers, "scalar" and "swaggerUI")
Additional information
Latest version of @elysiajs/swagger - 1.1.1 also
Have you try removing the node_modules and bun.lockb and try again yet?
No response
The text was updated successfully, but these errors were encountered:
What version of Elysia is running?
1.1.7
What platform is your computer?
Darwin 23.6.0 arm64 arm
What steps can reproduce the bug?
Create a simple index.ts file with an Elysia instance with a handler containing detailed documentation for the request body and the responses:
What is the expected behavior?
SwaggerUI renders the example request body and responses with the example values in the details.
What do you see instead?
SwaggerUI only renders example values for the response, but not the request body, it just says "string" for the values (both providers, "scalar" and "swaggerUI")
Additional information
Latest version of @elysiajs/swagger - 1.1.1 also
Have you try removing the
node_modules
andbun.lockb
and try again yet?No response
The text was updated successfully, but these errors were encountered: