what the console does is:
it groups all resources on the first shortest, complete relative path it finds, the following both do what you expect:
#%RAML 0.8
title: Some API
/foo:
/bar:
/baz:
/bin:
/fee:
/fee/fi:
/fee/fi/fo:
/fee/fi/fofum:
which is to group under /foo
and /fee
#%RAML 0.8
title: Some API
/foo:
/bar:
/baz:
/bin:
/foo/bar/baz/bin/bang:
/foo
this is what may be considered tricky:
#%RAML 0.8
title: Some API
/non-root-resource/foo:
/bar:
/baz:
/bin:
groups around /non-root-resource/foo
Child:
type: object
properties:
id: string
status: boolean
examples:
activeOne:
id: 2a7f828e-3915-41ba-b336-ead127891113
status: true
disabledOne:
id: 913c4183-3aec-4022-9128-1d443949e9b7
status: false
Father:
type: object
properties:
name: string
childs?: Child[]
examples:
withoutChilds:
name: EmptyOne
withChilds:
name: RichOne
childs:
- {id: a, status: false}
- {id: b, status: true}
{id: a, status: false}
i whoud like use activeOne
for example