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

@ -31,7 +31,6 @@ class RepositoryList(ApiResource):
"""Operations for creating and listing repositories."""
schemas = {
'NewRepo': {
'id': 'NewRepo',
'type': 'object',
'description': 'Description of a new repository',
'required': [
@ -204,7 +203,6 @@ class Repository(RepositoryParamResource):
"""Operations for managing a specific repository."""
schemas = {
'RepoUpdate': {
'id': 'RepoUpdate',
'type': 'object',
'description': 'Fields which can be updated in a repository.',
'required': [
@ -315,7 +313,6 @@ class RepositoryVisibility(RepositoryParamResource):
""" Custom verb for changing the visibility of the repository. """
schemas = {
'ChangeVisibility': {
'id': 'ChangeVisibility',
'type': 'object',
'description': 'Change the visibility for the repository.',
'required': [