-
Notifications
You must be signed in to change notification settings - Fork 236
Closed
Description
Problem
Given the following minimal example api.raml file:
#%RAML 1.0
title: Test API
types:
BaseA:
properties:
a:
type: string
BaseB:
properties:
b:
type: string
Complete:
type: [ BaseA, BaseB ]
properties:
c:
type: string
/complete:
get:
responses:
200:
body:
application/json:
type: Complete
Custom object types that inherit from multiple base types appear incomplete in any resource method response section. Above example only shows properties inherited from BaseAand the properties directly defined in the type Complete:
The order of the type array in Complete matters. When BaseB comes first, then only B's properties appear in the output, on top of the properties defined in Complete.
The output in the documentation's Types section is complete though:
System & Version Info
API Console Version: 3.0.10
Browser: Google Chrome Version 54.0.2840.98 (64-bit)
OS: Mac OS X Sierra 10.12.1

