From 85093ec655c8f3b260fec983ddba14580d123766 Mon Sep 17 00:00:00 2001 From: Rafael Cardenas Date: Wed, 23 Oct 2024 13:03:19 -0600 Subject: [PATCH] fix: openapi --- docs/chainhook-openapi.json | 42 +++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/docs/chainhook-openapi.json b/docs/chainhook-openapi.json index 989f3c230..c8f04fdcd 100644 --- a/docs/chainhook-openapi.json +++ b/docs/chainhook-openapi.json @@ -1207,6 +1207,48 @@ ] } } + }, + { + "type": "object", + "oneOf": [ + { + "type": "object", + "required": [ + "after_timestamp" + ], + "properties": { + "after_timestamp": { + "type": "integer", + "format": "uint64", + "minimum": 0.0 + } + }, + "additionalProperties": false + }, + { + "type": "object", + "required": [ + "from_signer_pub_key" + ], + "properties": { + "from_signer_pub_key": { + "type": "string" + } + }, + "additionalProperties": false + } + ], + "required": [ + "scope" + ], + "properties": { + "scope": { + "type": "string", + "enum": [ + "signer_message" + ] + } + } } ] },