I'm making an implementation of https://todobackend.com/ using gRPC-Gateway. https://todobackend.com/'s spec requires some responses to be in form of JSON arrays, like:
GET /todos
=> [{ "title": "...", ... }, { ... }]
But AFAIK by using gRPC-Gateway I must return objects, like { "todos": [{ ... }, { ... }] }
. Can I return arrays instead of objects?