Content
@
0 reply
0 recast
2 reactions
@git
NOTHING beats hand crafting your OpenAPI spec Often devs go about this the wrong direction: looking for tools that generate OpenAPI/Swagger spec and docs from some code Instead, start with hand crafting your OpenAPI spec and then use it to generate a client/sdk (ts/go/py/any language) and docs stainlessapi.com
3 replies
1 recast
5 reactions
Samuel
@samuellhuber.eth
I found HTTPAPi from https://github.com/Effect-TS/effect/tree/main/packages/platform to be incredible here. It also gives you a client just from declaring the API sample: https://github.com/SamuelLHuber/airstack-moxie-api-effect-http
0 reply
0 recast
1 reaction
atlasmoth
@osuji.eth
Why's it the wrong direction to use tools tho? Just curious
1 reply
0 recast
0 reaction
Steve
@stevedylandev.eth
I generally like to have a starting point with a postman collection and then fill in the rest by hand, and that part really is my favorite. Very satisfying
1 reply
0 recast
0 reaction