Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

how to overwrite multer storage engine used in SwaggerMetaData - HELP! #626

Open
walshe opened this issue Feb 3, 2021 · 0 comments
Open

Comments

@walshe
Copy link

walshe commented Feb 3, 2021

So multer has a nice option where you can plug in a different storage engine (as apposed to MemoryStorageEngine). One such engine is multer-s3 which allows uploaded files to go straight to s3 buckets.

However, swagger tools seems to have hardcoded the multer.memoryStorage() option.

Whats the easiest way to change this without upsetting the whole apple cart

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant