jdiegodcp / ramlfications

Python parser for RAML
https://ramlfications.readthedocs.org
Apache License 2.0
234 stars 49 forks source link

'application/json' hard-coded as response body type #12

Closed jenner closed 9 years ago

jenner commented 9 years ago

The [resp_body](https://github.com/spotify/ramlfications/blob/master/ramlfications/parser.py#L927-L948 function) returns only bodies of type 'application/json', however the RAML spec state that you may have more then one media type in a response specifications (e.g. epending on your request's Accept header)

jenner commented 9 years ago

Fixed in 740647ed