Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Type inheritance in reponses not working for parameters #832

Open
DataGreed opened this issue Jan 11, 2019 · 1 comment
Open

Type inheritance in reponses not working for parameters #832

DataGreed opened this issue Jan 11, 2019 · 1 comment

Comments

@DataGreed
Copy link

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?

@postatum
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants