You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#%RAML 1.0
title: Test Case
version: 1.0
mediaType: [ application/json ]
types:
Obj1:
type: object
description: The Obj1 description
properties:
aaa:
type: string
description: The string
Obj2:
type: object
description: The Obj2 description
properties:
bbb:
type: number
description: The number
Obj3:
type: object
description: The Obj3 description
properties:
bbb:
type: boolean
description: The boolean
UnionObjects: Obj1 | Obj2 | Obj3
/foo:
get:
responses:
200:
description: everything OK
body:
type: object
description: The response body description
properties:
foo:
type: UnionObjects[]
I expect that the description of the chosen union variant will be shown at the place to which the violet arrow points to.
The Obj1 is chosen in the screenshot so I expect the "The Obj1 description" text will be shown there.
It will help to better describe the meaning of variants in the union type.
The text was updated successfully, but these errors were encountered:
I have this sample RAML file:
I expect that the description of the chosen union variant will be shown at the place to which the violet arrow points to.
The
Obj1
is chosen in the screenshot so I expect the "The Obj1 description" text will be shown there.It will help to better describe the meaning of variants in the union type.
The text was updated successfully, but these errors were encountered: