[] is not a valid type

63 Views Asked by At
`#%RAML 1.0 DataType
type: []
properties
  assignedTail:
     description: Tail Number (A/C)
     example: 220 NV
     type: string`

While I am writing RAML for 1.0 I am getting the error in RAML for Array earlier it was fine but since today we are getting issues. Is it possible there have been any change in raml declaration of RAML.

1

There are 1 best solutions below

1
aled On

It seems that the type for the elements of the array is missing.

Example for an array of strons:

type: string[]