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
I have searched existing issues to ensure the bug has not already been reported
Fastify version
4.23.2
Plugin version
8.14.0
Node.js version
20.13.1
Operating system
Linux
Operating system version (i.e. 20.04, 11.3, 10)
Ubuntu 22.04.3 LTS
Description
Fastify-swagger & fastify-multipart setup with request.file() logic in validation
Doesn't see on UI select file option, on swagger 2.0.0 version it suggests to send binary, which is not ux oriented
When I set body instead of requestBody in schema, UI is present but generates bad request response
Prerequisites
Fastify version
4.23.2
Plugin version
8.14.0
Node.js version
20.13.1
Operating system
Linux
Operating system version (i.e. 20.04, 11.3, 10)
Ubuntu 22.04.3 LTS
Description
Fastify-swagger & fastify-multipart setup with request.file() logic in validation
Doesn't see on UI select file option, on swagger 2.0.0 version it suggests to send binary, which is not ux oriented
When I set
body
instead ofrequestBody
in schema, UI is present but generates bad request responseLink to code that reproduces the bug
https://github.com/11laflame/swagger-ui-bug
Expected Behavior
UI should be presented and works good with fastify-multipart
The text was updated successfully, but these errors were encountered: