RAML combining traits and resourceTypes doesn't seem to work.
jpbelang opened this issue · 0 comments
jpbelang commented
#%RAML 1.0
title: Types and traits issue.
mediaType: application/json
baseUri: http://foo.com
traits:
has200ResponseCollection:
responses:
200:
body:
application/json:
type: array
items: <<typeName>>
resourceTypes:
base:
get?:
base-collection:
type:
base:
get?:
is: [
has200ResponseCollection: {
typeName: <<typeResponseCollectionItem200Get>>,
}
]
collection-readonly-get:
type:
base-collection:
typeResponseCollectionItem200Get: <<typeResponseCollectionItem200Get>>
get:
/parent:
/child:
type:
collection-readonly-get:
typeResponseCollectionItem200Get: Stuff
No responses are found.