News for hackers. Stuff that matters.
Re:Cue, an open-source data validation language by abraxaz on Tuesday June 15, 2021 @05:22AM (#27512926)
Is there any plans to support model generation in future as can be done with JSON schema through something like https://github.com/quicktype/quicktype ?
Re:Cue, an open-source data validation language by dqpb on Tuesday June 15, 2021 @09:17AM (#27514959)
Cue definitions export to json schema.
Re:Cue, an open-source data validation language by abraxaz on Tuesday June 15, 2021 @10:18AM (#27515874)
Can't see how, and this seems to suggest this functionality is not implemented yet: https://github.com/cuelang/cue/discussions/663

Mind sharing a reference?

Re:Cue, an open-source data validation language by dqpb on Tuesday June 15, 2021 @12:17PM (#27517590)
I do it the way they discuss in that issue. Converting from openapi to json schema.
Re:Cue, an open-source data validation language by abraxaz on Tuesday June 15, 2021 @01:54PM (#27518967)
Thanks for the tip.