Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client generation? #5

Closed
slangens1 opened this issue Nov 16, 2021 · 3 comments
Closed

client generation? #5

slangens1 opened this issue Nov 16, 2021 · 3 comments

Comments

@slangens1
Copy link

slangens1 commented Nov 16, 2021

Great project!

I plan to use this eventually, but if i'm going to design a service, I need both client and server. I'd rather not have to spec out both if possible.

It'd be cool if you could generate a swagger or protobuf definition from existing data and schema. I'm sure that's a lot of work but it'd be much more powerful to have strictly typed objects in the client.

@rehacktive
Copy link
Owner

hello! thanks!

Unfortunately I think the client side is a bit out of scope (especially tech like protobuf) - you can already use json schemas on "server-side" (in caffeine) and there are tools to Go struct from json schemas and similar, according to your need.

So I'm closing this issue.

@rehacktive
Copy link
Owner

btw @slangens1 swagger specs generation has been added.

@slangens1
Copy link
Author

Sounds good to me!

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

No branches or pull requests

2 participants