Remix.run Logo
css_apologist 5 hours ago

those describe server APIs

how would it relate to ui?

altern8 4 hours ago | parent [-]

OpenAPI is a superset of JSON Schema. You can look at properties in JSON Schema and turn that into UIs.

For instance, strings would get a text box, enums would get a dropdown, etc., with validation and everything.

Check this out as an example: https://prismatic.io/docs/jsonforms/playground/