Closed f440 closed 8 years ago
You saved me a few more hours of tracking down the cause, thanks!
Is this same error message somehow related to https://github.com/danielgtaylor/aglio/issues/237 ?
drafter
produce warning message by both This PR and #237.
$ drafter test.apib
element: "parseResult"
content:
-
element: "annotation"
meta:
classes:
- "warning"
attributes:
code: 4
sourceMap:
-
element: "sourceMap"
content: []
content: "ExtendElement must be composed from Elements of same type"
OK.
warning: (4) ExtendElement must be composed from Elements of same type
So, it seems to me that aglio
has no responsibility of this problem. I withdraw this PR. Thanks.
steps to reproduce
$ git clone https://gist.github.com/f440/dc7a954ee62c20d685e7 /tmp/aglio-test $ cd /tmp/aglio-test $ cat test.apib
$ npm install $ ./node_modules/.bin/aglio -v aglio 2.2.0 olio 1.6.2 $ ./node_modules/.bin/aglio -i test.apib -o test.html