raml-org/raml-java-parser

Error when merging RT with global media type

pacafuentes opened this issue · 0 comments

Given the following RAML and error is thrown when parsing it.

#%RAML 1.0
title: Test!
mediaType: application/json

resourceTypes:
  this-is-a-resource-type:
    get:
      responses:
        200:
          body:
            application/json:
              type: object
              properties:
                resourceTypeProperty: string

/resoure:
  type: this-is-a-resource-type
  get:
    responses:
      200:
        body:
          type: object
          properties:
            inlineProperties: boolean