Switch the Python side to Swagger v2
This commit is contained in:
parent
86f400fdf5
commit
0bc1c29dff
21 changed files with 217 additions and 138 deletions
|
@ -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')
|
||||
|
|
Reference in a new issue