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

mediaType is invalid in a body #148

Closed zaccharles closed 9 years ago

zaccharles commented 9 years ago

I may have interpreted the spec wrong, but shouldn't mediaType be an acceptable property of body, and if set, override the default root property of the same name?

zaccharles commented 9 years ago

My mistake, I didn't read how to override the media type correctly :)