optimize tenant with saldo query

This commit is contained in:
2021-09-14 14:14:56 +02:00
parent 797cbb4b65
commit 76255efbe9
9 changed files with 138 additions and 9 deletions

View File

@ -72,4 +72,20 @@
type: number
security:
- jwt: ['secret']
/v1/tenants/saldo:
get:
tags: [ "tenant", "account" ]
summary: Return tenant with saldo of the account
operationId: additional_methods.get_tenant_with_saldo
responses:
'200':
description: get_tenant_with_saldo
content:
'application/json':
schema:
type: array
items:
$ref: '#/components/schemas/tenant_with_saldo'
security:
- jwt: ['secret']