I’m trying to declare a RAML 1.0 type that restricts all its properties to be of a specific type.
Based on the specfication (RAML Data Types -> Additional properties), I would expect the following definition to work, however the API Workbench complains with the error:
Error: map property mapPropertyIs conflicts with property:self
# See: https://tools.ietf.org/html/draft-kelly-json-hal-08#page-4 types: HalLink: properties: href: string name?: string templated?: boolean type?: string HalLinks: properties: //: HalLink Test: type: HalLinks properties: self: HalLink
What am I doing wrong?