Fix the API service to use the new Swagger description form

This commit is contained in:
Joseph Schorr 2015-05-14 17:15:39 -04:00
parent 0bc1c29dff
commit 3fb2a33ee7
5 changed files with 42 additions and 38 deletions

View file

@ -70,6 +70,7 @@ def robots_list(prefix, include_permissions=False):
return {'robots': robots.values()}
@resource('/v1/user/robots')
@internal_only
class UserRobotList(ApiResource):
""" Resource for listing user robots. """
@require_user_admin