Skip to content
Snippets Groups Projects
Commit 10cee3c1 authored by Michal Zander's avatar Michal Zander
Browse files

Add example in openapi description for delegations endpoint

parent b5abcdef
No related branches found
No related tags found
2 merge requests!168Update return types: VEST balances should be returned as strings to address JSON limitations,!160Add daily and monthly aggregations for balances
Pipeline #116821 passed
...@@ -31,6 +31,11 @@ SET ROLE btracker_owner; ...@@ -31,6 +31,11 @@ SET ROLE btracker_owner;
schema: schema:
type: string type: string
x-sql-datatype: JSON x-sql-datatype: JSON
example:
- {
"outgoing_delegations": [],
"incoming_delegations": []
}
'404': '404':
description: No such account in the database description: No such account in the database
*/ */
......
...@@ -494,7 +494,13 @@ declare ...@@ -494,7 +494,13 @@ declare
"schema": { "schema": {
"type": "string", "type": "string",
"x-sql-datatype": "JSON" "x-sql-datatype": "JSON"
} },
"example": [
{
"outgoing_delegations": [],
"incoming_delegations": []
}
]
} }
} }
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment