Fix swagger errors

Fixes #287
This commit is contained in:
Joseph Schorr 2015-07-29 18:25:44 -04:00
parent 572d6ba53c
commit 5c1d195a19
14 changed files with 57 additions and 57 deletions

View file

@ -26,7 +26,6 @@ class RepositoryTokenList(RepositoryParamResource):
""" Resource for creating and listing repository tokens. """
schemas = {
'NewToken': {
'id': 'NewToken',
'type': 'object',
'description': 'Description of a new token.',
'required':[
@ -74,7 +73,6 @@ class RepositoryToken(RepositoryParamResource):
""" Resource for managing individual tokens. """
schemas = {
'TokenPermission': {
'id': 'TokenPermission',
'type': 'object',
'description': 'Description of a token permission',
'required': [