swagger-inflector
swagger-inflector copied to clipboard
allOf with multiple schemas adds additional square bracks in example
@richard-walsh-sb, I tried a different solution and this is the outcome: Will this work ? or pagination needs to be on a diferent node?
java.lang.AssertionError: expected [{
"data" : [ {
"topApiId" : "8ab9b11d-bf43-469e-a276-f601801d043c",
"name" : "docman",
"pathwaysVersion" : "0.1",
"active" : false,
"created" : "2018-07-21T17:32:28Z"
}, {
"topApiId" : "baa0dc91-9711-4b61-9c90-ce8ac0b109a9",
"name" : "careweb",
"pathwaysVersion" : "0.1",
"active" : true,
"created" : "2019-07-21T17:32:28Z"
} ]
}, {
"pagination" : {
"offset" : 0,
"limit" : 10,
"totalResultCount" : 100
}
}] but found [{
"data" : [ {
"topApiId" : "8ab9b11d-bf43-469e-a276-f601801d043c",
"name" : "docman",
"pathwaysVersion" : "0.1",
"active" : false,
"created" : "2018-07-21T17:32:28Z"
}, {
"topApiId" : "baa0dc91-9711-4b61-9c90-ce8ac0b109a9",
"name" : "careweb",
"pathwaysVersion" : "0.1",
"active" : true,
"created" : "2019-07-21T17:32:28Z"
} ],
"pagination" : {
"offset" : 0,
"limit" : 10,
"totalResultCount" : 100
}
}]