Skip to content

Commit

Permalink
ledger_entry RPC: insert required clause on object inputs (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckeshava authored Sep 19, 2024
1 parent 90b9adb commit b65138a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions shared/requests/ledger_entry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ components:
$ref: '../base.yaml#/components/schemas/CurrencyWithoutAmount'
asset2:
$ref: '../base.yaml#/components/schemas/CurrencyWithoutAmount'
required:
- asset
- asset2

BridgeEntry:
type: object
Expand Down Expand Up @@ -128,6 +131,9 @@ components:
type: string
seq:
type: integer
required:
- account
- seq

OracleEntry:
type: object
Expand All @@ -140,6 +146,9 @@ components:
type: string
oracle_document_id:
type: integer
required:
- account
- oracle_document_id

RippleStateEntry:
type: object
Expand All @@ -156,6 +165,9 @@ components:
maxItems: 2
currency:
type: string
required:
- accounts
- currency

CheckEntry:
type: object
Expand All @@ -177,6 +189,9 @@ components:
type: string
seq:
type: integer
required:
- owner
- seq

PayChannelEntry:
type: object
Expand All @@ -198,6 +213,9 @@ components:
type: string
authorized:
type: string
required:
- owner
- authorized

TicketEntry:
type: object
Expand All @@ -212,6 +230,9 @@ components:
type: string
ticket_seq:
type: integer
required:
- account
- ticket_seq

NFTPageEntry:
type: object
Expand Down

0 comments on commit b65138a

Please sign in to comment.