Open mikeatlas opened 8 years ago
Thanks for the request. Yes, it's definitely possible, and we've discussed providing importers for Swagger, Protobuf, et al. If you have a specific test case or example, we'd love to get some details!
(We view Quark as a way to decouple the details of your network protocol & data contract from your code. Quark today supports HTTP and Websockets as transport, but it could just as easily use gRPC.)
As far as I can tell, quark files are at a minimum, a superset of protobuf
proto
file functionality. If, for example, I have a gRPC microservice, the endpoints and messages are defined in.proto
files. From these, thus I can generate my language stubs, plus other things like a REST proxy, swagger json, or if I wanted to leverage datawire-connect, I could generate quark definitions as well.https://developers.google.com/protocol-buffers/docs/reference/other https://github.com/google/protobuf/blob/master/docs/third_party.md