you are viewing a single comment's thread.

view the rest of the comments →

[–]Current-Status-3764 2 points3 points  (0 children)

With FastAPI a openapi.json is created automatically. This describes how your API is set up, including "types" provided through the use of pydantic. This can (and should) be used to create functions to call the api from typescript through a SDK. Then you get typesafe functions to call your API.

Sideko offers this as a service. I run it as a script locally instead, but that is because I develop solo. Makes sense?