secundant / neodx

A collection of frontend-focused tools aimed at enhancing your development experience
MIT License
80 stars 6 forks source link

`@neodx/figma` Replace manual API with `@figma/rest-api-spec` after #142

Open secundant opened 7 months ago

secundant commented 7 months ago

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: