0

Endpoint which accepts multipart form data look valid in Swagger, and accepts form data from a client. However the typescript client generated by NSwag is not usable. The generated method only accept Blob.

uploadDoc(content:Blob): Observable<void>

I couldn't find any option related to this in NSwag

I tried search for special decorators. But I assume the client generation cause this problem, because the endpoint works from Swagger perfectly fine.

0 Answers0