Show HN: Fuego, a Go framework generating OpenAPI documentation from code
github.comI started this project because none of Chi, Echo or Gin were capable of generating the OpenAPI specification from source code. Relying on comments and explicit generation creates errors and noise when communicating with the frontend team.
After a while, I started doing frontend directly in Go with HTMX & Templ/Gomponents, so I decided to adapt the framework for this use case too!
You can find the project here: https://github.com/go-fuego/fuego
Fuego's main features are:
Automatic generation of OpenAPI documentation from code
Fully net/http compatible
Simplified serialization
Validation (go-playground/validator + custom method)
Centralized error handling
I know most gophers are net/http purists, but I hope you'll like it!Don't hesitate to open issues, as some features may be missing.
No comments yet.