Closed z0mt3c closed 9 years ago
Not an issue of swagger-ui... correct would be:
{
"tags": ["api", "jobs"],
"summary": "List resources",
"description": "List resources",
"responses": {
"default": {
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/Job"
}
}
}
},
"produces": ["application/json"]
}
v2.0.0-alpha.3
hapi-swaggered: 2.0.0-alpha2 swagger-ui: 2.1.8-M1
Whats the correct shema? May swagger-ui issue? @z0mt3c: Have a look :-)
Btw - no issue about the referenced schema - following works great: