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
Is this possible to allow more general interface for swagger file type? I have a case when the file content I want to post is in-memory buffer. Storing it to disk just to be able to submit looks like an overhead. Attached a patch, not tested yet, it's just to describe my idea a little bit better.
The text was updated successfully, but these errors were encountered:
vovanec
changed the title
Make file parameter accept arbitrary io.Reader, not os.File
Make file parameter accepting arbitrary io.Reader, not just os.File
May 24, 2016
Hey guys,
Is this possible to allow more general interface for swagger
file
type? I have a case when the file content I want to post is in-memory buffer. Storing it to disk just to be able to submit looks like an overhead. Attached a patch, not tested yet, it's just to describe my idea a little bit better.Thanks,
--Vovan
fileParam.txt
The text was updated successfully, but these errors were encountered: