raml-java-parser icon indicating copy to clipboard operation
raml-java-parser copied to clipboard

Named type reference positions are shifted

Open moliva opened this issue 8 years ago • 0 comments

This happens internally for named type references and is made explicit when errors are returned. For example the RAML below will return an error at indexes Start: 131 , End: 136 when they should be Start: 126 , End: 131.

#%RAML 1.0
title: New API

/orders:
  get:
    responses:
      200:
        body:
         application/json:
          type: Hello

Aha! Link: https://mulesoft-roadmap.aha.io/features/APIRAML-130

moliva avatar Jul 20 '16 14:07 moliva