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
About file bytes field #241
Comments
Sorry that I don't have an answer but another question. Since you seem to be working with the File field I wanted to ask something as I am unable to figure it out:
If I use |
Never mind, I had to do
|
To keep it clear, I restrict the
File
field to be a binary file and validate its type when deserializing the request data.For base64-encoded files, I'm thinking of creating a
FileByte
field:but I'm not sure if it is the correct way to do this.
And to handle this field, the location should be
json
orform
instead offiles
, the field name may not intuitive enough.Improve the
File
field serialization:The text was updated successfully, but these errors were encountered: