Closed benhamill closed 8 years ago
In the RAML 1.0rc2 spec, in the section about syntactic sugar, it says you can skip the required facet for a property and instead append a ? to the property's name.
required
?
For example, this:
Person: properties: nick?: string
is equivalent to this:
Person: type: object properties: nick: type: string required: false
But the syntax highlighting from this plugin seems very confused about this fact and the ? makes the key not colored like other property keys.
💓
In the RAML 1.0rc2 spec, in the section about syntactic sugar, it says you can skip the
required
facet for a property and instead append a?
to the property's name.For example, this:
is equivalent to this:
But the syntax highlighting from this plugin seems very confused about this fact and the
?
makes the key not colored like other property keys.