-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
There are three cases, when an array type of RAML union is displayed incorrectly:
- Should display
Array of:
containing just a string type (see howStringArray
is displayed), but just string type is displayed.
#%RAML 1.0
title: Test API
types:
StringArray:
type: string[]
UnionArray:
type: StringArray | string
- Same as above, except it additionally shows
items
like it's an object property.
#%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 howArrayType
is displayed), but displays just object properties like it's an object.
#%RAML 1.0
title: Test API
types:
ArrayType:
type: array
items:
type: object
properties:
test: string
UnionArray:
type: ArrayType | string
Apparently, this.hasParentType
check is missing for them for some reason. I might look into it.
Metadata
Metadata
Assignees
Labels
No labels