Skip to content

Commit 79cfb9d

Browse files
feat: update API specifications from internal repo (#116)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent e0d1a84 commit 79cfb9d

File tree

2 files changed

+76
-74
lines changed

2 files changed

+76
-74
lines changed

asyncapi.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ components:
550550
- Cleared
551551
description: Message type identifier
552552
sequence_id:
553-
type: integer
553+
type: number
554554
description: The sequence ID of the response
555555
required:
556556
- type
@@ -611,7 +611,7 @@ components:
611611
channel_index:
612612
type: array
613613
items:
614-
type: integer
614+
type: number
615615
description: The index of the channel
616616
duration:
617617
type: number
@@ -668,7 +668,7 @@ components:
668668
type: string
669669
description: The punctuated word of the word
670670
speaker:
671-
type: integer
671+
type: number
672672
description: The speaker of the word
673673
required:
674674
- word
@@ -776,7 +776,7 @@ components:
776776
channel:
777777
type: array
778778
items:
779-
type: integer
779+
type: number
780780
description: The channel
781781
last_word_end:
782782
type: number
@@ -800,7 +800,7 @@ components:
800800
channel:
801801
type: array
802802
items:
803-
type: integer
803+
type: number
804804
description: The channel
805805
timestamp:
806806
type: number
@@ -851,7 +851,7 @@ components:
851851
format: uuid
852852
description: The unique identifier of the request
853853
sequence_id:
854-
type: integer
854+
type: number
855855
minimum: 0
856856
description: |
857857
Starts at `0` and increments for each message the server sends
@@ -882,7 +882,7 @@ components:
882882
format: uuid
883883
description: The unique identifier of the request
884884
sequence_id:
885-
type: integer
885+
type: number
886886
minimum: 0
887887
description: |
888888
Starts at `0` and increments for each message the server sends to the client. This includes messages of other types, like `Connected` messages.
@@ -903,7 +903,7 @@ components:
903903
- **TurnResumed** - The system detected that speech had ended and therefore sent an **EagerEndOfTurn** event, but speech is actually continuing for this turn
904904
- **EndOfTurn** - The user has finished speaking for the turn
905905
turn_index:
906-
type: integer
906+
type: number
907907
minimum: 0
908908
description: The index of the current turn
909909
audio_window_start:
@@ -1010,7 +1010,7 @@ components:
10101010
- Error
10111011
description: Message type identifier
10121012
sequence_id:
1013-
type: integer
1013+
type: number
10141014
minimum: 0
10151015
description: |
10161016
Starts at `0` and increments for each message the server sends
@@ -1079,7 +1079,7 @@ components:
10791079
- g729
10801080
description: Audio encoding format
10811081
sample_rate:
1082-
type: integer
1082+
type: number
10831083
default: 24000
10841084
description: Sample rate in Hz. Common values are 16000, 24000, 44100, 48000
10851085
output:
@@ -1095,10 +1095,10 @@ components:
10951095
- alaw
10961096
description: Audio encoding format for streaming TTS output
10971097
sample_rate:
1098-
type: integer
1098+
type: number
10991099
description: Sample rate in Hz
11001100
bitrate:
1101-
type: integer
1101+
type: number
11021102
description: Audio bitrate in bits per second
11031103
container:
11041104
type: string
@@ -1368,7 +1368,7 @@ components:
13681368
type: string
13691369
enum:
13701370
- max
1371-
- type: integer
1371+
- type: number
13721372
minimum: 2
13731373
speak:
13741374
oneOf:

0 commit comments

Comments
 (0)