The Swagger documentation shows that the endpoint accepts multipart form data and is able to receive form data from a client. However, the TypeScript client generated by NSwag appears to be unusable as it only accepts Blob.
uploadDoc(content:Blob): Observable<void>
I was unable to find any option in NSwag related to this issue.
I attempted to search for special decorators to solve this problem, but I believe the root cause lies in the client generation process, as the endpoint functions correctly in Swagger.