raml-js-parser-2 icon indicating copy to clipboard operation
raml-js-parser-2 copied to clipboard

Type inheritance in reponses not working for parameters

Open DataGreed opened this issue 6 years ago • 1 comments

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?

DataGreed avatar Jan 11 '19 18:01 DataGreed

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.

postatum avatar Sep 25 '19 09:09 postatum