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

*version* as uriParameter should be replaced by RAML root version

Open evangelina opened this issue 10 years ago • 0 comments

According to the RAML spec, and validated by RAML team and this issue, version is a reserved URI Parameter and it should be replaced by the RAML root version as it's done when it's defined as a baseUriParameter.

Looking at the implementation code, there is a rule for uriParameters that checks whether a uriParameter is using the version reserved name and it should throw a validation error, but I don't see that currently being enforced.

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

evangelina avatar Sep 28 '15 13:09 evangelina