openapi icon indicating copy to clipboard operation
openapi copied to clipboard

Upload file via auto-generated OpenAPI specification with gRPC backend

Open huan opened this issue 5 years ago • 1 comments

It seems that the support for the file upload with gRPC & OpenAPI generator is not very well.

  1. The google.api.http has no annotation for file uploading...
  2. The gRPC client streaming for file uploading is complicated...

Need to find a way to make it work because we need to send FileBox to our server...

Related Links

  • https://github.com/grpc-ecosystem/grpc-gateway/issues/410
  • https://github.com/grpc-ecosystem/grpc-gateway/issues/500
  • https://github.com/grpc/grpc-web/issues/517#issuecomment-629609101
  • https://github.com/grpc-ecosystem/grpc-gateway/issues/1666
  • StackOverflow: gRPC + Image Upload
  • https://github.com/grpc-ecosystem/grpc-gateway/pull/2258
  • gRPC File Upload With Client Streaming

huan avatar Feb 13 '21 14:02 huan

👋 hello! Maybe my project could help with file uploads for gRPC transcoding: https://github.com/emcfarlane/larking

emcfarlane avatar May 17 '23 12:05 emcfarlane