Stubs and auto-discovery for services map
moraes opened this issue · 3 comments
moraes commented
Via email: "Have you considered making the services field of a Server and the types that make up serverMap public? This would allow me to generate stubs and / or enable discovery a la https://developers.google.com/discovery/ ."
joeblew99 commented
@moraes GLad to see this Issue, as i was thinking exactly the same thing.
Here is my context:
i model all my services in GRPC, and then use GRPC-gateway to gen the REST / JSN code & Swagger. Then i use swagger to code gen my Dart (in my case) client proxy code.
But i need the same thing for JSONRPC2. Take a GRPC, code gen the JSONRPCS2 gateway & the JSONRPC2 client proxy ( that of course calls the gateway).
joeblew99 commented
This might be the best way forward
elithrar commented
Closing due to inactivity.