DEV Community

loading...

Discussion on: Replacing FastAPI with Rust: Part 1 - Intro

Collapse
dbanty profile image
Dylan Anthony Author

Last I checked I wasn’t able to find anything in node that would let you automatically generate and host an OpenAPI document without writing bits of OpenAPI syntax yourself. Most of the extensions/frameworks require you to write the JSON schema by hand.

TypeScript is a bit better than Python in some of the limitations I listed, but does not have all the advantages of Rust. So it would be a tough sell to go from FastAPI & Python to TS as there wouldn’t be as many clear improvements.