File tree 3 files changed +214
-1
lines changed
3 files changed +214
-1
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,17 @@ openapi: 3.0.0
2
2
info :
3
3
title : Gateway LayerZero API
4
4
description : Tannhauser Gateway LayerZero API
5
- version : 1.0.0
5
+ version : 1.0.1
6
6
contact : {}
7
7
tags : []
8
8
servers : []
9
+ schemes :
10
+ - https
11
+ basePath : /api
12
+ consumes :
13
+ - application/json
14
+ produces :
15
+ - application/json
9
16
components :
10
17
securitySchemes :
11
18
bearer :
@@ -145,6 +152,196 @@ components:
145
152
example : 42
146
153
required :
147
154
- counter
155
+ definitions :
156
+ EthereumTx :
157
+ required :
158
+ - txHash
159
+ - to
160
+ - data
161
+ - gas
162
+ - gasPrice
163
+ - nonce
164
+ - value
165
+ - from
166
+ type : object
167
+ properties :
168
+ txHash :
169
+ title : Tx hash
170
+ type : string
171
+ to :
172
+ title : To
173
+ type : string
174
+ x-nullable : true
175
+ data :
176
+ title : Data
177
+ type : string
178
+ blockNumber :
179
+ title : Block number
180
+ type : string
181
+ readOnly : true
182
+ blockTimestamp :
183
+ title : Block timestamp
184
+ type : string
185
+ readOnly : true
186
+ created :
187
+ title : Created
188
+ type : string
189
+ format : date-time
190
+ readOnly : true
191
+ modified :
192
+ title : Modified
193
+ type : string
194
+ format : date-time
195
+ readOnly : true
196
+ gasUsed :
197
+ title : Gas used
198
+ type : string
199
+ format : decimal
200
+ x-nullable : true
201
+ status :
202
+ title : Status
203
+ type : integer
204
+ maximum : 2147483647
205
+ minimum : -2147483648
206
+ x-nullable : true
207
+ transactionIndex :
208
+ title : Transaction index
209
+ type : integer
210
+ maximum : 2147483647
211
+ minimum : 0
212
+ x-nullable : true
213
+ gas :
214
+ title : Gas
215
+ type : string
216
+ format : decimal
217
+ gasPrice :
218
+ title : Gas price
219
+ type : string
220
+ format : decimal
221
+ nonce :
222
+ title : Nonce
223
+ type : string
224
+ format : decimal
225
+ value :
226
+ title : Value
227
+ type : string
228
+ format : decimal
229
+ from :
230
+ title : From
231
+ type : string
232
+ ERC20 :
233
+ required :
234
+ - ethereumTx
235
+ - logIndex
236
+ - tokenAddress
237
+ - to
238
+ - value
239
+ - from
240
+ type : object
241
+ properties :
242
+ id :
243
+ title : ID
244
+ type : integer
245
+ readOnly : true
246
+ ethereumTx :
247
+ $ref : ' #/definitions/EthereumTx'
248
+ logIndex :
249
+ title : Log index
250
+ type : integer
251
+ minimum : 0
252
+ tokenAddress :
253
+ title : Token address
254
+ type : string
255
+ to :
256
+ title : To
257
+ type : string
258
+ value :
259
+ title : Value
260
+ type : string
261
+ minLength : 1
262
+ from :
263
+ title : From
264
+ type : string
265
+ ERC721 :
266
+ required :
267
+ - ethereumTx
268
+ - logIndex
269
+ - tokenAddress
270
+ - to
271
+ - tokenId
272
+ - from
273
+ type : object
274
+ properties :
275
+ id :
276
+ title : ID
277
+ type : integer
278
+ readOnly : true
279
+ ethereumTx :
280
+ $ref : ' #/definitions/EthereumTx'
281
+ logIndex :
282
+ title : Log index
283
+ type : integer
284
+ minimum : 0
285
+ tokenAddress :
286
+ title : Token address
287
+ type : string
288
+ to :
289
+ title : To
290
+ type : string
291
+ tokenId :
292
+ title : Token id
293
+ type : string
294
+ minLength : 1
295
+ from :
296
+ title : From
297
+ type : string
298
+ Token :
299
+ required :
300
+ - address
301
+ - name
302
+ - symbol
303
+ - decimals
304
+ type : object
305
+ properties :
306
+ address :
307
+ title : Address
308
+ type : string
309
+ maxLength : 42
310
+ minLength : 1
311
+ logoUri :
312
+ title : Logo uri
313
+ type : string
314
+ readOnly : true
315
+ default :
316
+ title : Default
317
+ type : string
318
+ readOnly : true
319
+ name :
320
+ title : Name
321
+ type : string
322
+ maxLength : 60
323
+ minLength : 1
324
+ symbol :
325
+ title : Symbol
326
+ type : string
327
+ maxLength : 60
328
+ minLength : 1
329
+ description :
330
+ title : Description
331
+ type : string
332
+ decimals :
333
+ title : Decimals
334
+ type : integer
335
+ maximum : 32767
336
+ minimum : 0
337
+ websiteUri :
338
+ title : Website uri
339
+ type : string
340
+ format : uri
341
+ maxLength : 200
342
+ gas :
343
+ title : Gas
344
+ type : boolean
148
345
paths :
149
346
/auth/login :
150
347
post :
Original file line number Diff line number Diff line change
1
+ files :
2
+ - path : dist.yaml
3
+ id : Gateway-LayerZero-API
4
+ - path : generator/api.json
5
+ id : Gateway-LayerZero-API-1
6
+ - path : generator/base.api.json
7
+ id : Gateway-LayerZero-API-2
8
+ - path : generator/gateway.json
9
+ id : Gateway-LayerZero-API-3
10
+ - path : openapi/openapi.yaml
11
+ id : Gateway-LayerZero-API-4
12
+ - path : output.swagger.json
13
+ id : Gateway-LayerZero-API-5
14
+ ruleset :
15
+ - breaking-changes
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments