From 668c8e9ad013adf7aef5e98c1f7b1d0c362df779 Mon Sep 17 00:00:00 2001 From: Thomas Jay Rush Date: Tue, 28 May 2024 06:02:31 -0400 Subject: [PATCH] Trying to fix errors --- content/api/openapi.yaml | 86 ++++++++++++++++++---------------------- 1 file changed, 39 insertions(+), 47 deletions(-) diff --git a/content/api/openapi.yaml b/content/api/openapi.yaml index b2fbe913f..585629568 100644 --- a/content/api/openapi.yaml +++ b/content/api/openapi.yaml @@ -1,4 +1,4 @@ -openapi: 3.1.3 +openapi: 3.1.0 info: title: TrueBlocks API contact: @@ -226,15 +226,15 @@ paths: { "address": "0xff9387a9aae1f5daab1cd8eb0e92113ea9d19ca3", "blockNumber": 4037786, - "transactionIndex": 47, + "transactionIndex": 47 }, { "address": "0xff9387a9aae1f5daab1cd8eb0e92113ea9d19ca3", "blockNumber": 4037800, - "transactionIndex": 77, + "transactionIndex": 77 }, - { "...": "..." }, - ], + { "...": "..." } + ] } "400": description: bad input parameter @@ -602,16 +602,16 @@ paths: "contractAddress": "0x0", "gasUsed": 21000, "effectiveGasPrice": 20000000000, - "status": null, + "status": null }, "compressedTx": "0x()", "gasCost": 420000000000000, "gasUsed": 21000, "date": "2017-07-18 04:41:28 UTC", - "ether": 0.08435387, + "ether": 0.08435387 }, - { "...": "..." }, - ], + { "...": "..." } + ] } "400": description: bad input parameter @@ -968,8 +968,8 @@ paths: "symbol": "LBA", "source": "On chain", "decimals": 18, - "petname": "actively-happy-mite", - }, + "petname": "actively-happy-mite" + } ] "400": description: bad input parameter @@ -1110,27 +1110,27 @@ paths: "type": "address", "name": "token0", "indexed": true, - "internalType": "address", + "internalType": "address" }, { "type": "address", "name": "token1", "indexed": true, - "internalType": "address", + "internalType": "address" }, { "type": "address", "name": "pair", - "internalType": "address", + "internalType": "address" }, { "type": "uint256", "name": "val_0", - "internalType": "uint256", - }, - ], - }, - ], + "internalType": "uint256" + } + ] + } + ] } "400": description: bad input parameter @@ -1326,7 +1326,7 @@ paths: "blockNumber": 3141592, "hash": "0x0b4c6fb75ded4b90218cf0346b0885e442878f104e1b60bf75d5b6860eeacd53", "...": "...", - "transactions": [], + "transactions": [] } "400": description: bad input parameter @@ -2087,9 +2087,9 @@ paths: "address": "0xa1e4380a3b1f749673e270229993ee55f35663b4", "deployed": 0, "accttype": "EOA", - "ether": 0.2588436983603185, - }, - ], + "ether": 0.2588436983603185 + } + ] } "400": description: bad input parameter @@ -2229,9 +2229,9 @@ paths: "decimals": 1, "isContract": true, "isErc20": true, - "isErc721": true, - }, - ], + "isErc721": true + } + ] } "400": description: bad input parameter @@ -2314,9 +2314,9 @@ paths: "isTracing": true, "hasEskey": true, "hasPinkey": true, - "date": "2021-09-03 19:38:19 UTC", - }, - ], + "date": "2021-09-03 19:38:19 UTC" + } + ] } "400": description: bad input parameter @@ -2685,15 +2685,15 @@ paths: { "fileName": "000000000-000000000", "bloomHash": "QmbCQaYmfTR3sGNAvASoVjPynaY9UD31Hfxv7dGtzsptkb", - "indexHash": "QmPmfSrYT5HDpfjj4uYSycaFECo9EqPSuADQ3YPbVp3yu4", + "indexHash": "QmPmfSrYT5HDpfjj4uYSycaFECo9EqPSuADQ3YPbVp3yu4" }, { "fileName": "000000001-000590501", "bloomHash": "QmSGuSQHgK4S9yiZQ3dKrykQVpLTmdFettY9sAwa537gPL", - "indexHash": "QmSaoxc3XA9DEaA3inhLW5ZKsk5C5LWvowSXpHwVHsMjQp", + "indexHash": "QmSaoxc3XA9DEaA3inhLW5ZKsk5C5LWvowSXpHwVHsMjQp" }, - { "...": "..." }, - ], + { "...": "..." } + ] } "400": description: bad input parameter @@ -2945,8 +2945,8 @@ paths: "hasToken": "0", "gasUsed": "21000", "date": "2015-08-07 03:50:51 UTC", - "ether": "0.000000000000000000", - }, + "ether": "0.000000000000000000" + } ] "400": description: bad input parameter @@ -3271,14 +3271,10 @@ components: type: object properties: AddressRecord: - type: object - items: - $ref: "#/components/schemas/addrRecord" + type: string description: "the address record for these appearances" Appearances: - type: array - items: - $ref: "#/components/schemas/appRecord" + type: string description: "all the appearances for this address" block: description: "block data as returned from the RPC (with slight enhancements)" @@ -3986,9 +3982,7 @@ components: format: uint64 description: "the number of decimals for the token contract" type: - type: object - items: - $ref: "#/components/schemas/tokenType" + type: string description: "the type of token (ERC20 or ERC721) or none" result: description: "the result (articulated if possible, as bytes otherwise) of a call to a smart contract" @@ -4351,9 +4345,7 @@ components: format: string description: "the type of the cache" items: - type: array - items: - $ref: "#/components/schemas/any" + type: string description: "the individual items in the cache (if --verbose)" lastCached: type: string