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 think that display fileupload widget and validate using by sharedSchemaId in @fastify/multipart. Or I want to know best practice for file upload and swagger.
Environment
Package
Version
@fastify/multipart
^7.1.2
@fastify/swagger
^7.5.1
fastify
^4.5.3
fastify-plugin
^4.2.1
ajv
^8.11.0
ajv-formats
^2.1.1
node
16.17.0
npm
8.15.0
os
win32, macOSX
Motivation
Better develop experience provide to co-worker or consumer.
Prerequisites
🚀 Feature Proposal
As a first, Great thank you for good tools. I suggest to enhance swagger ui for fileupload. Recently OpenAPI 3.0 support filpupload widget below,
But I cannot found documentation that display fileupload widget on @fastify/multipart and @fastify/swagger.
So I test 4 way of usage.
Expectation
I think that display fileupload widget and validate using by sharedSchemaId in @fastify/multipart. Or I want to know best practice for file upload and swagger.
Environment
Motivation
Better develop experience provide to co-worker or consumer.
Example
I upload sample project my repo.
feature/fileupload
npm install
npm run dev
http://localhost:17878
Finally you can see like that:
The text was updated successfully, but these errors were encountered: