petrochenko-pavel-a / raml-js-parser2-issues

0 stars 0 forks source link

Example contains description in invalid place #64

Closed VasiliyLysokobylko closed 8 years ago

VasiliyLysokobylko commented 8 years ago

The following example in the RAML 0.8 spec does not seem to be valid - ramlcop and raml-tester both reject the description inside the body, and such a construction is not documented anywhere in the spec.

/media/{mediaid}/content:
  displayName: Content
  get:
    description: |
      Get a media file.
    responses:
      200:
        body:
          "*/*":
            description: |
                Returns the media file.
VasiliyLysokobylko commented 8 years ago

https://github.com/raml-org/raml-spec/issues/191