raml-org / raml-spec

RAML Specification
http://raml.org
3.87k stars 857 forks source link

Clarify that value of `is` in Applying Traits MUST be array #724

Closed jstoiko closed 3 years ago

jstoiko commented 4 years ago

In section "Applying Resource Types and Traits", it should be explicit that the value of is MUST be an array.

Proposed Change

Change:

Similarly, a method can specify one or more traits it inherits using the OPTIONAL is node. The value of a trait is an array (...)

to:

Similarly, a method can specify one or more traits it inherits using the OPTIONAL is node. The value of a trait MUST be an array (...)