swagger-api / swagger-inflector

Apache License 2.0
159 stars 84 forks source link

allOf with multiple schemas adds additional square bracks in example #379

Open richard-walsh-sb opened 4 years ago

richard-walsh-sb commented 4 years ago

When merging multiple schemas using allOf the resulting example is surrounded by an additional square brackets. I have attached an example of a failing test case which demonstrates the expected behavior here: -> https://github.com/swagger-api/swagger-inflector/pull/378/files