fix 'assignment_visibility' API doc type

Swagger fails to generate code for pandarus / live API docs
because assignment_visibility array does not specify a type.

This sets the type to 'integer'.

Fixes SIS-400

Change-Id: I0a675dc51907d1a64993a36bed94d022deae3dda
Reviewed-on: https://gerrit.instructure.com/38575
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Ken Romney <kromney@instructure.com>
Product-Review: Duane Johnson <duane@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
This commit is contained in:
Duane Johnson 2014-07-31 15:04:11 -06:00
parent 6bdb32c01b
commit 40b45c4aef
1 changed files with 2 additions and 1 deletions

View File

@ -459,7 +459,8 @@
# "assignment_visibility": {
# "description": "(Optional) If 'assignment_visibility' is included in the 'include' parameter, includes an array of student IDs who can see this assignment.",
# "example": "[137,381,572]",
# "type": "array"
# "type": "array",
# "items": {"type": "integer"}
# }
# }
# }