Include child members as part of 'allOf'.
Include child members as part of 'allOf'.

According to the swagger 2.0 spec [1] the child properties and required fields etc. should be part of the 'allOf' array.

[1] https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md

apigee-127/swagger-converter