You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 21, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 21, 2024. It is now read-only.
I'm trying to translate the following JSON schema to a RAML datatype using the provided tutorial. But it seems to fail parsing on the JSON "OneOf" keyword. Is this not yet supported?
Activity
postatum commentedon Nov 6, 2019
Hi @HugaertsDries.
What do you expect
anyOfto be converted to?I'm not certain it's possible to represent
anyOfusing RAML 1.0, becauseand I can't recall a way to express that behaviour in RAML (do you @jstoiko?)
You might want to use
oneOfwhich is a Union Type in RAML 1.0, but there's an issue with it: aml-org/amf#565HugaertsDries commentedon Nov 6, 2019
@postatum thanks for the reply!
I was only looking into representing
oneOf. So I have not yet looked into the use case ofanyOf.But I'll keep a close eye on the issue you provided.