1. Same as above, except it additionally shows `items` like it's an object property.
```yaml
#%RAML 1.0
title: Test API
types:
StringArray:
type: array
items: string
UnionArray:
type: StringArray | string
Should be displayed as Array of: listing object properties (see how ArrayType is displayed), but displays just object properties like it's an object.
There are three cases, when an array type of RAML union is displayed incorrectly:
Array of:
containing just a string type (see howStringArray
is displayed), but just string type is displayed.types: StringArray: type: string[] UnionArray: type: StringArray | string
Array of:
listing object properties (see howArrayType
is displayed), but displays just object properties like it's an object.types: ArrayType: type: array items: type: object properties: test: string UnionArray: type: ArrayType | string