I've found it pretty frustrating to write a backend route and repeat the same thing on the client and manually write all sorts of type validation.
4 thoughts on “I made a library to automatically generate a REST API client from Flask”
I’m just of the **strong** opinion using `@decorators` to document your py api is **NOT** pythonic.
This is absolutely great.
Wow nice lol, i made something similar to this; never got past the jwt tokens though in the header.
This looks very cool. Having just built a Flask app/api with a lot of front of me JS this would have been an interesting way of going about it. I will have to try it on a personal project but looks promising. I like that it connects the development of the python and JS side of things a little more.
Can the generated JS be imported into modules?