petrochenko-pavel-a / raml-js-parser2-issues

0 stars 0 forks source link

Remove any support for inline declaration of JSON Schema or XSD in any type declaration #18

Closed VasiliyLysokobylko closed 8 years ago

VasiliyLysokobylko commented 8 years ago

The problem here is that having the ability to define inline JSON Schema or XSDs in any type declaration may introduce a lot ambiguity and creates very complex use cases when serializing it into something more specific. Therefore, we suggest to remove the support for inline declaration of both in any type declaration. One will still be able to define XSDs, JSON Schema, or types; but is not able to mix them.

VasiliyLysokobylko commented 8 years ago

https://github.com/raml-org/raml-spec/issues/314