Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make file parameter accepting arbitrary io.Reader, not just os.File #7

Closed
vovanec opened this issue May 17, 2016 · 1 comment
Closed

Comments

@vovanec
Copy link

vovanec commented May 17, 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

@vovanec 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
@casualjim
Copy link
Member

closed by #22

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

No branches or pull requests

2 participants