From 9d33b026eea57f763128ae33673e3b03e7785cca Mon Sep 17 00:00:00 2001 From: Marcos Rodriguez Velez Date: Sun, 27 Oct 2024 13:06:43 -0400 Subject: [PATCH] Update openapi.yaml --- openapi.yaml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 9492a47..c82f32b 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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"