Skip to content

Commit

Permalink
Update openapi.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosrdz committed Oct 27, 2024
1 parent 74858d3 commit 9d33b02
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,10 @@ components:
level:
type: "string"
enum: ["transactions"]
category:
type: "string"
default: "TRANSACTION_CATEGORY"
description: "Only included if type is 2, 3, or 4"
sat:
type: "integer"
description: amount of satoshis
Expand All @@ -300,10 +304,7 @@ components:
txid:
type: "string"
description: txid of the transaction where this address is one of the outputs
category:
type: "string"
default: "TRANSACTION_CATEGORY"
description: "Only included if type is 2, 3, or 4"


PushNotificationOnchainAddressGotUnconfirmedTransaction:
allOf: # Combines PushNotificationBase and the inline model
Expand All @@ -320,6 +321,10 @@ components:
level:
type: "string"
enum: ["transactions"]
category:
type: "string"
default: "TRANSACTION_CATEGORY"
description: "Only included if type is 2, 3, or 4"
sat:
type: "integer"
description: amount of satoshis
Expand All @@ -329,10 +334,6 @@ components:
txid:
type: "string"
description: txid of the transaction where this address is one of the outputs
category:
type: "string"
default: "TRANSACTION_CATEGORY"
description: "Only included if type is 2, 3, or 4"

PushNotificationTxidGotConfirmed:
allOf: # Combines PushNotificationBase and the inline model
Expand All @@ -347,14 +348,14 @@ components:
level:
type: "string"
enum: ["transactions"]
txid:
type: "string"
description: txid of the transaction that got confirmed
category:
type: "string"
default: "TRANSACTION_CATEGORY"
description: "Only included if type is 2, 3, or 4"

txid:
type: "string"
description: txid of the transaction that got confirmed

PushNotificationMessage:
allOf: # Combines PushNotificationBase and the inline model
- $ref: "#/components/schemas/PushNotificationBase"
Expand Down

0 comments on commit 9d33b02

Please sign in to comment.