You can specify an empty array [] as an example for your array scheme. This will override the default sample values ββcreated by the Swagger user interface.
"photoUrls" : { "type":"array", "items":{ "type":"string" }, "example": [] }
But Ron answer is more user friendly. Consider using some real example values:
"photoUrls" : { "type":"array", "items":{ "type":"string", "example": "http://example.com/images/pet.png" }, }
Helen source share