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

URLs needs to be quoted?

Open petrochenko-pavel-a opened this issue 9 years ago • 1 comments

Hi, as clarified in http://www.yaml.org/spec/1.2/spec.html#id2788859 it is allows to use ':' in side of plain scalars in such cases.

uses:
  foo: foo.raml
  bar: /bar.raml
  baz: http://acme.com/raml/baz.raml

This syntax of writing urls is pretty handy, however as well as I see from Java Parser output it is not able to handle it. To best of my understanding it is snake yaml issue (it is YAML 1.1), however RAML spec is based on YAML 1.2 specification so it should be supported.

Regards, Pavel

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

petrochenko-pavel-a avatar Sep 21 '16 14:09 petrochenko-pavel-a

@petrochenko-pavel-a Are you saying that http://acme.com/raml/baz.raml does not parse without quotation marks ?

jpbelang avatar Oct 21 '16 01:10 jpbelang