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 @@
""" Billing information, subscriptions, and plan information. """
import stripe
from flask import request
@ -352,7 +354,7 @@ class UserInvoiceList(ApiResource):
@path_param('orgname', 'The name of the organization')
@related_user_resource(UserInvoiceList)
@show_if(features.BILLING)
class OrgnaizationInvoiceList(ApiResource):
class OrganizationInvoiceList(ApiResource):
""" Resource for listing an orgnaization's invoices. """
@require_scope(scopes.ORG_ADMIN)
@nickname('listOrgInvoices')