Switch the Python side to Swagger v2

This commit is contained in:
Joseph Schorr 2015-05-14 16:47:38 -04:00
parent 86f400fdf5
commit 0bc1c29dff
21 changed files with 217 additions and 138 deletions

View file

@ -1,3 +1,5 @@
""" Manage organizations, members and OAuth applications. """
import logging
from flask import request
@ -333,7 +335,7 @@ def app_view(application):
@resource('/v1/organization/<orgname>/applications')
@path_param('orgname', 'The name of the organization')
class OrganizationApplications(ApiResource):
""" Resource for managing applications defined by an organizations. """
""" Resource for managing applications defined by an organization. """
schemas = {
'NewApp': {
'id': 'NewApp',