TDiblik
Joined 4 years ago
Joined 4 years ago
It can automatically generate the route + the route path parameters. If you wanna provide more info, I've created a simple interface that wraps the fiber's router and isn't too annoying ... or you can use `gofiberswagger.RegisterRoute()` to add the definition on your own (without touching the existing code).
The library uses reexported github.com/getkin/kin-openapi types, that means that you can specify ANY openapi field you wanna (not only in routes, but also in the general config, eg. auth / security schemes / title / openapi version / etc).
I've implemented it into some of my personal projects and tbh I love it, that's why I decided to share it with y'all. I know about swaggo/swag, however I don't like how my code looks while using it.
I've created some basic examples inside the `/examples/` folder, so be sure to check them out! Any feedback would be appreciated.
Personally, I use containers to quickly spin-up different database servers for development or as an easy way of deployment to a cloud service...
I'm not saying "opening models is bad", it's good. However imo it would be nice to have a semantic way to differentiate between those two
romance: i would suggest "Looking for Alaska" by John Green or "Pierre et Luce" by Romain Rolland
fantasy: The Way Of Kings by Brandon Sanderson or "Blackout" by Marc Elseberg
life advice ig?: "The Algebra of Happiness" by Scott Galloway
... never been a CTO xd