Fix the API service to use the new Swagger description form
This commit is contained in:
parent
0bc1c29dff
commit
3fb2a33ee7
5 changed files with 42 additions and 38 deletions
|
@ -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
|
||||
|
|
Reference in a new issue