Open p2004a opened 1 day ago
There is at least no MultiReference and Option as possible values in the fields[].type enum even those can be returned.
MultiReference
Option
fields[].type
Moreover fields[].validations is also not defined at all.
fields[].validations
This is impacting https://github.com/webflow/js-webflow-api because the generated TypeScript types are incomplete.
The different types and validations could be modeled with https://swagger.io/docs/specification/v3_0/data-models/inheritance-and-polymorphism/ Discriminator.
Thanks for flagging. @p2004a - investigating this.
There is at least no
MultiReference
andOption
as possible values in thefields[].type
enum even those can be returned.Moreover
fields[].validations
is also not defined at all.This is impacting https://github.com/webflow/js-webflow-api because the generated TypeScript types are incomplete.
The different types and validations could be modeled with https://swagger.io/docs/specification/v3_0/data-models/inheritance-and-polymorphism/ Discriminator.