neb42 / ui-studio

1 stars 0 forks source link

OpenAPI 3.1 #14

Open neb42 opened 2 years ago

neb42 commented 2 years ago

We're currently using OpenAPI 3.0.

3.1 adds in arrays of types. This is useful as a component config item may want to accept multiple types, eg. the Text component could accept anything and convert it to a string. We should also aim to stay up-to-date with OpenAPI.

This needs some thinking as to how we will handle it both coming from the API, in the component definitions, and in the builder client.