top | item 46748268

(no title)

css_apologist | 1 month ago

those describe server APIs

how would it relate to ui?

discuss

order

altern8|1 month ago

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/