openapi
openapi copied to clipboard
Upload file via auto-generated OpenAPI specification with gRPC backend
It seems that the support for the file upload with gRPC & OpenAPI generator is not very well.
- The
google.api.httphas no annotation for file uploading... - 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
👋 hello! Maybe my project could help with file uploads for gRPC transcoding: https://github.com/emcfarlane/larking