Merge pull request #28 from coreos-inc/swagger2

Switch to Swagger v2
This commit is contained in:
Jake Moshenko 2015-06-29 12:18:10 -04:00
commit 6e6b3c675f
23 changed files with 257 additions and 174 deletions

View file

@ -1,3 +1,5 @@
""" Billing information, subscriptions, and plan information. """
import stripe
from flask import request
@ -396,7 +398,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')