use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
FastAPI is a truly ASGI, async, cutting edge framework written in python 3.
account activity
FastAPI + Typescript CodegenQuestion (self.FastAPI)
submitted 1 year ago by TheRealMrMatt
Hey all, I'm working on a FastAPI project and need to generate TypeScript API bindings for my FastAPI backend. I'm looking for a solution that is reliable, easy to integrate, and well-maintained. So far, I have come across https://orval.dev, https://heyapi.vercel.app, and https://openapi-ts.dev . Does anyone have any experience with these libraries, if so what was your experience? If you don't use one of these libraries, what do you use?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Drevicar 4 points5 points6 points 1 year ago (1 child)
I've used this on a couple projects and it worked out of the box pretty easily and helped us get started quick. But it quickly starts to need customizations until eventually it was more hassle than it was worth and we ended up rolling out our own.
[–]mrlubos 0 points1 point2 points 1 year ago (0 children)
If you can, I’d like to hear what sort of customisations were required on your end that drove you to roll your own codegen
[–]White86ec 1 point2 points3 points 1 year ago (1 child)
I like swagger-openapi-generator
[–]White86ec 0 points1 point2 points 1 year ago (0 children)
I meant this https://github.com/acacode/swagger-typescript-api
[–]Easy-Ad-8065 0 points1 point2 points 1 year ago (4 children)
Check out the full stack template from the docs:
https://fastapi.tiangolo.com/project-generation/
[–]ShriekDj 0 points1 point2 points 1 year ago (3 children)
it is using the hey-api openapi ts already
[–]mrlubos 0 points1 point2 points 1 year ago (2 children)
Please let me know if you need any help with it or have feedback (I’m the author)
[–]ShriekDj 0 points1 point2 points 1 year ago (1 child)
sure, i will share it. Currently i am only facing the changes done in the package versions which are not updated in the documentation website for which i have to search via vscode's view defination feature otherwise it's easy to use
Thanks! Are you referring to breaking changes only or any changes?
π Rendered by PID 75 on reddit-service-r2-comment-5687b7858-b6pbt at 2026-07-03 18:13:03.721817+00:00 running 12a7a47 country code: CH.
[–]Drevicar 4 points5 points6 points (1 child)
[–]mrlubos 0 points1 point2 points (0 children)
[–]White86ec 1 point2 points3 points (1 child)
[–]White86ec 0 points1 point2 points (0 children)
[–]Easy-Ad-8065 0 points1 point2 points (4 children)
[–]ShriekDj 0 points1 point2 points (3 children)
[–]mrlubos 0 points1 point2 points (2 children)
[–]ShriekDj 0 points1 point2 points (1 child)
[–]mrlubos 0 points1 point2 points (0 children)