Skip to content

Commit 42bbd7c

Browse files
authored
refactor(api): merge (#3)
1 parent d078fca commit 42bbd7c

15 files changed

+3947
-49
lines changed

dist.yaml

+16-16
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,24 @@ components:
2828
access_token:
2929
type: string
3030
example: >-
31-
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhZGRyZXNzIjoiMHg5ZDgyYTZjOTgxMTE0OTQzYmQ0MmI5ZTMzOTM2MWFmYjgyYjUwNTk2IiwiaWF0IjoxNjAzMzU4Nzk2LCJleHAiOjE2MDM5NjM1OTZ9.BzHFBvadgYlS8y43gX0VjbPmKLRuQOYm0oMdO2o3F-Y
31+
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
3232
required:
3333
- access_token
3434
TransferDto:
3535
type: object
3636
properties:
3737
ethAddress:
3838
type: string
39-
example: '0x9d82a6c981114943bd42b9e339361afb82b50596'
39+
example: '0x000000618E8ea9DcA789ba7978fE67CdD76Efaf0'
4040
asset:
4141
type: string
42-
example: FIL
42+
example: FOLD
4343
to:
4444
type: string
4545
example: ETH
4646
nonce:
4747
type: string
48-
example: '0x2f485473ae47edb4d6fe4144f00dd0860555db21bd3a9ce4222f17f08069106d'
48+
example: '0xd2549e0a95762fcc2b8a1bbf9bd081c12a8e6e783d1dad238d95cad26a65ee46af'
4949
required:
5050
- ethAddress
5151
- asset
@@ -60,7 +60,7 @@ components:
6060
example: '2020-10-16T20:48:18.476Z'
6161
address:
6262
type: string
63-
example: '0x9d82a6c981114943bd42b9e339361afb82b50596'
63+
example: '0x000000618E8ea9DcA789ba7978fE67CdD76Efaf0'
6464
type:
6565
type: string
6666
example: deposit
@@ -69,22 +69,22 @@ components:
6969
example: pending
7070
transfer:
7171
$ref: '#/components/schemas/TransferDto'
72-
filAddress:
72+
namespace:
7373
type: string
74-
example: t1cfxqaivmpcv2rxdd2ew75u5duyabpkri2f6lddy
74+
example: relay.bond
7575
amount:
7676
type: number
7777
example: '0.01'
7878
ethTxHash:
7979
type: string
80-
example: '0xf5dbaf357e09abf2d4151974bdfae5e20317043b155ff653b03fbd137c940a84'
80+
example: '0xafda5e4205b21292df4faa6a70e989a05438d67c8890b35c5d0c765c4a4ad734'
8181
required:
8282
- createdAt
8383
- address
8484
- type
8585
- status
8686
- transfer
87-
- filAddress
87+
- namespace
8888
- amount
8989
- ethTxHash
9090
TransactionUpdateDto:
@@ -95,7 +95,7 @@ components:
9595
example: confirmed
9696
ethTxHash:
9797
type: string
98-
example: '0xf5dbaf357e09abf2d4151974bdfae5e20317043b155ff653b03fbd137c940a84'
98+
example: '0xafda5e4205b21292df4faa6a70e989a05438d67c8890b35c5d0c765c4a4ad734'
9999
message:
100100
type: string
101101
example: Unhandled rejection
@@ -108,10 +108,10 @@ components:
108108
properties:
109109
address:
110110
type: string
111-
example: t1cfxqaivmpcv2rxdd2ew75u5duyabpkri2f6lddy
111+
example: relay.bond
112112
params:
113113
type: string
114-
example: bFdWUU9MbWVXdWtSaW1HbV9hNVhzZWlFY1R1NDEyTloxRUpYQ2Y3bm1PWQ==
114+
example: 0x000000F2869469220b6c2EdFF2d685bd5e74f784==
115115
required:
116116
- address
117117
- params
@@ -122,19 +122,19 @@ components:
122122
$ref: '#/components/schemas/TransferDto'
123123
gatewayAddress:
124124
$ref: '#/components/schemas/GatewayAddressDto'
125-
filAddress:
125+
namespace:
126126
type: string
127-
example: t1cfxqaivmpcv2rxdd2ew75u5duyabpkri2f6lddy
127+
example: relay.bond
128128
amount:
129129
type: number
130130
example: '0.01'
131131
ethTxHash:
132132
type: string
133-
example: '0xf5dbaf357e09abf2d4151974bdfae5e20317043b155ff653b03fbd137c940a84'
133+
example: '0xafda5e4205b21292df4faa6a70e989a05438d67c8890b35c5d0c765c4a4ad734'
134134
required:
135135
- transfer
136136
- gatewayAddress
137-
- filAddress
137+
- namespace
138138
- amount
139139
- ethTxHash
140140
TransactionCounterResponseDto:

docusaurus.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const config = {
3232
// Plugin Options for loading OpenAPI files
3333
specs: [
3434
{
35-
spec: 'openapi.json',
35+
spec: 'output.swagger.json',
3636
route: '/api/',
3737
},
3838
],

0 commit comments

Comments
 (0)