File tree Expand file tree Collapse file tree 2 files changed +23
-18
lines changed
services/web/server/src/simcore_service_webserver/api/v0 Expand file tree Collapse file tree 2 files changed +23
-18
lines changed Original file line number Diff line number Diff line change 1515)
1616from models_library .generics import Envelope
1717from models_library .rest_error import EnvelopedError
18+ from models_library .rest_pagination import Page
1819from simcore_service_webserver ._meta import API_VTAG
1920from simcore_service_webserver .licenses ._exceptions_handlers import _TO_HTTP_ERROR_MAP
2021from simcore_service_webserver .licenses ._models import (
3637
3738@router .get (
3839 "/wallets/{wallet_id}/licensed-items-purchases" ,
39- response_model = Envelope [list [LicensedItemPurchaseGet ]],
40+ response_model = Page [LicensedItemPurchaseGet ],
41+ tags = ["wallets" ],
4042)
4143async def list_wallet_licensed_items_purchases (
4244 _path : Annotated [WalletsPathParams , Depends ()],
Original file line number Diff line number Diff line change @@ -3105,6 +3105,7 @@ paths:
31053105 get :
31063106 tags :
31073107 - licenses
3108+ - wallets
31083109 summary : List Wallet Licensed Items Purchases
31093110 operationId : list_wallet_licensed_items_purchases
31103111 parameters :
@@ -3145,7 +3146,7 @@ paths:
31453146 content :
31463147 application/json :
31473148 schema :
3148- $ref : ' #/components/schemas/Envelope_list_LicensedItemPurchaseGet__ '
3149+ $ref : ' #/components/schemas/Page_LicensedItemPurchaseGet_ '
31493150 ' 404 ' :
31503151 content :
31513152 application/json :
@@ -8869,22 +8870,6 @@ components:
88698870 title : Error
88708871 type : object
88718872 title : Envelope[list[LicensedItemGet]]
8872- Envelope_list_LicensedItemPurchaseGet__ :
8873- properties :
8874- data :
8875- anyOf :
8876- - items :
8877- $ref : ' #/components/schemas/LicensedItemPurchaseGet'
8878- type : array
8879- - type : ' null'
8880- title : Data
8881- error :
8882- anyOf :
8883- - {}
8884- - type : ' null'
8885- title : Error
8886- type : object
8887- title : Envelope[list[LicensedItemPurchaseGet]]
88888873 Envelope_list_OsparcCreditsAggregatedByServiceGet__ :
88898874 properties :
88908875 data :
@@ -11431,6 +11416,24 @@ components:
1143111416 - _links
1143211417 - data
1143311418 title : Page[CheckpointApiModel]
11419+ Page_LicensedItemPurchaseGet_ :
11420+ properties :
11421+ _meta :
11422+ $ref : ' #/components/schemas/PageMetaInfoLimitOffset'
11423+ _links :
11424+ $ref : ' #/components/schemas/PageLinks'
11425+ data :
11426+ items :
11427+ $ref : ' #/components/schemas/LicensedItemPurchaseGet'
11428+ type : array
11429+ title : Data
11430+ additionalProperties : false
11431+ type : object
11432+ required :
11433+ - _meta
11434+ - _links
11435+ - data
11436+ title : Page[LicensedItemPurchaseGet]
1143411437 Page_PaymentTransaction_ :
1143511438 properties :
1143611439 _meta :
You can’t perform that action at this time.
0 commit comments