Skip to content

Commit 5c29566

Browse files
committed
fix financial statements schema
1 parent aa9a211 commit 5c29566

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

defillama-openapi-pro.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8426,14 +8426,20 @@
84268426
"nullable": true,
84278427
"description": "Available dimension adapters for this protocol",
84288428
"additionalProperties": {
8429-
"type": "object",
8430-
"properties": {
8431-
"adapter": { "type": "string" },
8432-
"genuineSpikes": { "type": "array" }
8433-
}
8429+
"oneOf": [
8430+
{ "type": "string", "example": "aave-v3" },
8431+
{
8432+
"type": "object",
8433+
"properties": {
8434+
"adapter": { "type": "string" },
8435+
"genuineSpikes": { "type": "array" }
8436+
}
8437+
}
8438+
]
84348439
},
84358440
"example": {
8436-
"fees": { "genuineSpikes": [["2024-08-05", "-"]], "adapter": "aave-v3" }
8441+
"fees": { "genuineSpikes": [["2024-08-05", "-"]], "adapter": "aave-v3" },
8442+
"liquidations": "aave-v3"
84378443
}
84388444
},
84398445
"methodology": {

0 commit comments

Comments
 (0)