From 297b33618776210d605972943d3055b0b29f3fa0 Mon Sep 17 00:00:00 2001 From: Jonas Lagoni Date: Mon, 4 Dec 2023 11:49:31 -1000 Subject: [PATCH] chore: apply #884 --- examples/websocket-gemini-asyncapi.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/examples/websocket-gemini-asyncapi.yml b/examples/websocket-gemini-asyncapi.yml index 675640f34..7abcba981 100644 --- a/examples/websocket-gemini-asyncapi.yml +++ b/examples/websocket-gemini-asyncapi.yml @@ -180,9 +180,9 @@ components: events: - type: change side: bid - price: '54350.40' - remaining: '0.002' - delta: '0.002' + price: 54350.40 + remaining: 0.002 + delta: 0.002 reason: place - name: heartbeatMessage summary: Example of additional heartbeat message when you enable them. @@ -219,15 +219,13 @@ components: events: $ref: '#/components/schemas/events' timestamp: - type: string - format: date-time + type: number description: >- The timestamp in seconds for this group of events (included for compatibility reasons). We recommend using the timestampms field instead. timestampms: - type: string - format: time + type: number description: The timestamp in milliseconds for this group of events. required: - type @@ -272,7 +270,7 @@ components: - 'auction, block_trade' price: type: number - multipleOf: 1 + multipleOf: 0.01 description: The price of this order book entry. side: type: string @@ -292,14 +290,12 @@ components: order book. remaining: type: number - multipleOf: 1 description: >- The quantity remaining at that price level after this change occurred. May be zero if all orders at this price level have been filled or canceled. delta: type: number - multipleOf: 1 description: >- The quantity changed. May be negative, if an order is filled or canceled. For initial messages, delta will equal remaining. \ No newline at end of file