Closed tomasjurasek closed 7 years ago
I think if you use the following overload for ConfigureJsonApi
it might work:
ConfigureJsonApi(
jsonApiConfiguration: new JsonApiConfiguration(),
overwriteOtherFormatters: false)
If not, that's a bug (in my opinion). Note that to my knowledge, the JSON API spec itself does not mention uploading files and/or multipart content.
Does not works with these options . The same errors.
Hi, I have classic method for upload files.
public async Task<IHttpActionResult> UploadFile(){......}
UploadFileBut when I use [ReturnsResource(typeof(GlobalFileModelResource))] doesnt works.
It is some specific settings for IsMimeMultipartContent?
Thanks Tomas