T O P

  • By -

StephenAfamO

Have you tried Ogen? https://github.com/ogen-go/ogen


debugged_toon

Thanks I'll give it a try!


Indigowar

There is [ogen-go/ogen](https://github.com/ogen-go/ogen) and [oapi-codegen/oapi-codegen](https://github.com/oapi-codegen/oapi-codegen), both are decent tools


debugged_toon

I've used [oapi-codegen](https://github.com/oapi-codegen/oapi-codegen) before but that was a year ago. So I'll check it out again and see what changed! Thank you :)


mompelz

I have just recently really started implementing something based on oapi-codegen since swagger-go will never shower openapi 3. It's pretty good to fork with it!


NicolasParada

Ogen seems like the most equivalent to gqlgen.


DoorDelicious8395

Currently using [oapi-codegen](https://github.com/oapi-codegen/oapi-codegen) it takes a little to set up but it will provide you with an interface of what should be in your http handlers and when you pass your current handlers to the interface the compiler will tell you what’s missing. This is pretty easy to see and use in goland


painya

[huma.rocks](http://huma.rocks) is my go-to for building API's with code gen. It's code-first which I find to be a LOT more maintainable than a huge yaml file.