Need assistance with Include and Multiple Inheritance


#1

(I also asked this on StackOverflow: http://stackoverflow.com/questions/41162768/raml-include-and-multiple-inheritance)

We keep our data types in separate files and have been making use of inheritance by including base types:

#%RAML 1.0 DataType
type: !include ../base-type.raml

Which works, but when I try to use multiple inheritance, no matter what I try I get an error while parsing: INHERITING_UNKNOWN_TYPE

I’ve tried:

type: [!include ../base-type.raml]

type: [!include ../base-type.raml, !include ../another-type.raml]

type:
  - !include ../base-type.raml
  - !include ../another-type.raml

But all result in the same error.

Have I made a mistake or is this feature not available in RAML 1.0?