Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions docs/api/wallet-rpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -833,10 +833,13 @@ components:
type: string
example: wallet.jmdat
YieldGenReportResponse:
type: array
items:
type: string
example: "2021/10/26 16:40:21,133986791,1,200000000,2680,2680,0.08,"
type: object
properties:
yigen_data:
type: array
Comment on lines +836 to +839
Copy link

Copilot AI Mar 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The /wallet/yieldgen/report endpoint description earlier in this spec still says the response is “Data returned as list of strings…”, but the schema was updated to an object wrapper with yigen_data. To keep the OpenAPI docs consistent, update that endpoint description to mention the yigen_data property (and that it contains the list of CSV-formatted strings).

Suggested change
type: object
properties:
yigen_data:
type: array
type: object
description: Object wrapper containing yield generator report data in the `yigen_data` property.
properties:
yigen_data:
type: array
description: List of CSV-formatted strings, each representing a yield generator report row.

Copilot uses AI. Check for mistakes.
items:
type: string
example: "2021/10/26 16:40:21,133986791,1,200000000,2680,2680,0.08,"
GetinfoResponse:
type: object
required:
Expand Down
Loading