{
"FirstName": "string",
"LastName": "string",
"CustomerID": "string",
"phoneNumber": "string",
"age": 0,
"Address": {}
}
I tried to drill down into swagger-ui.js and swagger-client.js and found that the problem is because whenever swagger UI encounters a schema object, it will only display the model for the top level objects. For any nested objects, the representation returned is " { } " without further drilling down the objects.
The problem that i am referring to is present here in this file "swagger-client.js"
Property.prototype.sampleValue = function(isArray, ignoredModels, representations) {
...
output =' { }'
}
Is there any work around for this?
Thanks