Hellow, this is my first issue in GitHub, sorry if its a bit messy.
Im using this tool for helping me creating dataType, iv found a bug while forming a dataType where 1 field have more than 1 dataType. Let me show you a example.
{
"additionalInformation":[
{
"attribute":"marcaRemesadora",
"value":"DWU"
},
{
"attribute":"accountType",
"value":"SAVINGS"
},
{
"atribute":"rate",
"value":1
}
]
}
#%RAML 1.0 DataType
type: object
properties:
additionalInformation:
type: array
items:
type: object
properties:
attribute:
type: string
example: marcaRemesadora
value:
type:
- string
- integer
example: DWU
atribute:
type: string
example: rate
#%RAML 1.0 DataType
type: object
properties:
additionalInformation:
type: array
items:
type: object
properties:
attribute:
type: string
example: marcaRemesadora
value:
type:
- string | integer
example: DWU
atribute:
type: string
example: rate
Hope this helps you. Thanks a lot for the tool it helps reducing my time whille creating a raml.