Settings

Theme

Show HN: Fuego, a Go framework generating OpenAPI documentation from code

github.com

4 points by ewenquim 2 years ago · 0 comments · 1 min read

Reader

I 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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection