-
-
Notifications
You must be signed in to change notification settings - Fork 424
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
Implement code generator that takes OpenAPI and generates zio.http.api.EndpointSpec code #1520
Comments
I am on this |
Hi! |
There's been some work on that here: guardrail-dev/guardrail#1615 |
I am still on it. The goal is, that it will be part for the first non RC release. If it might make it into an RC release before that, I am not sure about. |
/bounty $1000 |
💎 $1,000 bounty created by ZIO
|
I'm gonna give this a shot :D If it proves to be too hairy, I'll relinquish the claim as soon as I realize that. Update: Nabil is working on this :) I've switched over to the CI Benchmarking issue. |
@kitlangton: Reminder that in 7 days the bounty will become up for grabs, so please submit a pull request before then 🙏 |
@jdegoes can you assign it to me?? |
@987Nabil: Reminder that in 7 days the bounty will become up for grabs, so please submit a pull request before then 🙏 |
The bounty is up for grabs! Everyone is welcome to |
/attempt #1520 Options |
@sankalp142002: Reminder that in 7 days the bounty will become up for grabs, so please submit a pull request before then 🙏 |
💡 @987Nabil submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
Add general data structure and logic for any endpoint code gen
🎉🎈 @987Nabil has been awarded $1,000! 🎈🎊 |
Is your feature request related to a problem? Please describe.
Some companies begin with OpenAPI, and then proceed to implement a server that satisfies the OpenAPI specification; then they will modify the OpenAPI specification when a change is necessary, and then re-implement the server.
Describe the solution you'd like
In order to support this spec-first driven approach to API development (rather than code-first, which is the paradigm already implemented within the
zio.http.api
package), we will need a code generator, which can read in OpenAPI specification, and generate the correspondingzio.http.EndpointSpec
values that declaratively describe the APIs.Then a user can implement handlers based on the code-generated
EndpointSpec
values.The text was updated successfully, but these errors were encountered: