Will 1.0 make it possible to have recursive data types? Here’s an example:
Count: integer Table: type: object properties: : type: Data Data: Count | Table
Many languages have sum types, where it is common to define a type recursively. In my case, I’m trying to represent a C++ variant type at the REST level, which would require such a construction as above.
Slightly off-topic: while I was figuring out if this is legit construction, I couldn’t find a way to validate my 1.0 RAML spec. Do I have to trust the RAML code until there’s better tooling available? I’d be great if you guys could provide a web service or stand-alone tool enabling users to verify the integrity of the spec.