在 RAML 中定义特征时,可以对其进行参数化,例如
traits:
- searchable:
queryParameters:
query:
description: Blah blah
example: <<example>>
具有由具有 此特征<<example>>
的资源提供的参数,如下所示:
is: [searchable: {example: "exampleValue"}]
是否可以为特征参数指定默认值,以便具有默认值的资源可以省略该参数?