Our current manual type definitions and API contracts are not guaranteed to be stable or official. They are a private implementation with issues such as incomplete API correctness, accidental omissions of changes, lack of runtime contracts, and inability to automate API generation.
I chose to create them myself as there were no official schemes available, which was a necessary compromise.
Figma is developing its own OpenAPI specification library, soon to be out of beta. Once finalized, we will integrate official schema for code generation, replacing our current API.
Currently known major outdated or missing changes:
Our current manual type definitions and API contracts are not guaranteed to be stable or official. They are a private implementation with issues such as incomplete API correctness, accidental omissions of changes, lack of runtime contracts, and inability to automate API generation.
I chose to create them myself as there were no official schemes available, which was a necessary compromise. Figma is developing its own OpenAPI specification library, soon to be out of beta. Once finalized, we will integrate official schema for code generation, replacing our current API.
Currently known major outdated or missing changes: