top | item 46750442

(no title)

crubier | 1 month ago

OpenAPI, JsonSchema, GraphQL all describe *Data*.

This describes *User Interfaces*. The closest alternative would be to just return React JS code directly.

But this adds a layer of constraint and control, preventing LLMs to generate e.g. malicious React JS code.

discuss

order

viraptor|1 month ago

Yeah, that's kind of what I mean. This way will always be restrictive and not flexible enough. We could get some style guidelines injected instead without other restrictions. Let people use all the API access possible instead.