mirror of
https://github.com/turnstonelabs/turnstone.git
synced 2026-08-12 23:12:23 -06:00
fix(api): type initial_message_status as a Literal enum
str | None under-specified the field: the implementation and the TS SDK union both constrain it to queue_full / refused_closed, and the Literal projects a proper enum into the generated OpenAPI spec so clients reject unexpected values. Specs regenerated.
This commit is contained in:
@@ -2568,6 +2568,10 @@
|
||||
"initial_message_status": {
|
||||
"anyOf": [
|
||||
{
|
||||
"enum": [
|
||||
"queue_full",
|
||||
"refused_closed"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user