Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fields in Collection API is missing properties #3

Open
p2004a opened this issue Nov 24, 2024 · 1 comment
Open

fields in Collection API is missing properties #3

p2004a opened this issue Nov 24, 2024 · 1 comment

Comments

@p2004a
Copy link

p2004a commented Nov 24, 2024

There is at least no MultiReference and Option as possible values in the fields[].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.

@victoriaplummer
Copy link
Collaborator

Thanks for flagging. @p2004a - investigating this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants