raml-spec
raml-spec copied to clipboard
Create a dictionary Type which is using custom Types already defined
So let's say I have TypeA which is a string and TypeB which is an object.
I want to define Type3 which is a dictionary with key TypeA and value TypeB. It's not clear how to do that in the documentation.
@sichvoge +1, I also need this
The best I came up with:
types:
Value:
properties:
name: TypeA
value: TypeB
Type3:
type: Value[]