raml-org / raml-js-parser-2

(deprecated)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Type inheritance in reponses not working for parameters

DataGreed opened this issue · 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?

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.