Nested Types not allowed in Raml?


I am trying to modularize a raml using libraries. In my library, When I use nested elements it starts throwing error in main raml.


Nested types are allowed in RAML.

I think this is either a problem with your RAML library (and the tool you are using not displaying a very descriptive error message) OR a bug with the tool you are using.