Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Make the API easier to work with #47

Open
ghost opened this issue Mar 27, 2019 · 3 comments
Open

Make the API easier to work with #47

ghost opened this issue Mar 27, 2019 · 3 comments

Comments

@ghost
Copy link

ghost commented Mar 27, 2019

Have you used https://github.com/googleapis/gnostic ?

It would make lots of the code you wrote redundant and make it much easier to extend.
Also much less bugs.

To explain.
From GPRC it can gen all of your openAPI based REST !
OpenAPI is the main way to do REST. Swagger is dead.

It can also do the opposite amazingly. OPENAPI to GRPC.
But i think using GRPC as the source of truth is best for Blast.

Have a think about it.
I can help if your interested...

@mosuka
Copy link
Owner

mosuka commented Apr 4, 2019

This may also take time, but consider the implementation.
I will keep you waiting, but please give me time.

@ghost
Copy link
Author

ghost commented Apr 15, 2019

Yes it's just an idea.
I use it for many projects with grpc where I also want to expose a rest interface.
The nice thing of course is the web GUI also.

@maxn0d3x
Copy link

maxn0d3x commented Apr 17, 2019

Yes it's just an idea.
I use it for many projects with grpc where I also want to expose a rest interface.
The nice thing of course is the web GUI also.

What about grpc-web ?? I need let users access directly from browser.. grpc-web required in that case.
Rest api is still dominant. Grpc is not the future yet for the web but microservice inside server. Http/2 with Rest API is quite general approach still in the web world.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants