raml-js-parser-2
raml-js-parser-2 copied to clipboard
Type inheritance in reponses not working for parameters
I've got custom type parameter with properties. The type is defined in an external file and is included. Here's the type:
timeMetaObject:
type: object
properties:
time:
type: number
description: Current time, unixtimestamp
example:
time: 1504185635.665978
For some reason the properties for this parameter does not exist.
How do I render time for this node? How do I access any child properties?
Note that raml-js-parser-2 has been deprecated, the new official parser is webapi-parcser. Feel free to attempt to reproduce this issue with webapi-parser and report any issue you may have on that repository.