raml-java-parser
raml-java-parser copied to clipboard
*version* as uriParameter should be replaced by RAML root version
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