raml-org / raml-js-parser

(deprecated) A RAML parser based on PyYAML written in CoffeScript and available for use as NodeJs module or in-browser.
195 stars 53 forks source link

`description` in a trait is not inherited by the resource #156

Open ddossot opened 9 years ago

ddossot commented 9 years ago

With this trait:

- legacyPages:
    description: |
      This is a legacy resource, prefer accessing pages from the `/pages` resource.

and this resource:

/pages:
  is: [legacyPages, subCollection]

the description is not inherited, as it's visible in projects that use raml-js-parser (for ex. api-console and raml2html).