Closed ufobat closed 5 years ago
The specification states that «when used as implicit keys, plain scalars must not contain the “[”, “]”, “{”, “}” and “,” characters» (7.3.3), so I think this is not a bug in my code but in those files. They probably should use quoting.
It seems that the sentence:
In addition, inside flow collections, or when used as implicit keys, plain scalars must not contain the “[”, “]”, “{”, “}” and “,” characters
contradicts the productions:
http://yaml.org/spec/1.2/spec.html#ns-plain-safe-out
I think this is block-key
context, and there those characters aren't forbidden.
Just pushed a fix :-)
my schema.yml does now parse without an error! thank you!
while parsing openapi specs I realized that
YAMLish
does not parsefoo/{bar}: blubb
.