Skip to content

Commit 5b4ed5e

Browse files
committed
chore: add API documentation
1 parent f7d7ca4 commit 5b4ed5e

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

OpenApi.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,13 @@ components:
145145
- quote
146146
- quoteHash
147147
type: object
148+
GetReportsPeginPegoutRequest:
149+
properties:
150+
endDate:
151+
type: string
152+
startDate:
153+
type: string
154+
type: object
148155
HealthResponse:
149156
properties:
150157
services:
@@ -520,7 +527,6 @@ components:
520527
ProviderDetail:
521528
properties:
522529
fee:
523-
deprecated: true
524530
type: integer
525531
feePercentage:
526532
type: number
@@ -716,6 +722,13 @@ components:
716722
required:
717723
- collateral
718724
type: object
725+
pkg.GetReportsPeginPegoutRequest:
726+
properties:
727+
endDate:
728+
type: string
729+
startDate:
730+
type: string
731+
type: object
719732
info:
720733
title: Liquidity Provider Server
721734
version: 1.2.1
@@ -1041,7 +1054,7 @@ paths:
10411054
content:
10421055
application/json:
10431056
schema:
1044-
$ref: '#/components/schemas/'
1057+
$ref: '#/components/schemas/GetReportsPeginPegoutRequest'
10451058
required: true
10461059
responses:
10471060
"200":
@@ -1050,6 +1063,12 @@ paths:
10501063
/reports/pegout:
10511064
get:
10521065
description: ' Get the last pegouts on the API. Included in the management API.'
1066+
requestBody:
1067+
content:
1068+
application/json:
1069+
schema:
1070+
$ref: '#/components/schemas/GetReportsPeginPegoutRequest'
1071+
required: true
10531072
responses:
10541073
"200":
10551074
description: ""

0 commit comments

Comments
 (0)