Skip to content

Commit

Permalink
bump openapi spec (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliothsu authored Oct 13, 2023
1 parent 116de1d commit c16fe3a
Showing 1 changed file with 33 additions and 11 deletions.
44 changes: 33 additions & 11 deletions docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2350,6 +2350,11 @@
"title": "Outbound Only",
"default": false
},
"example_context": {
"additionalProperties": { "type": "string" },
"type": "object",
"title": "Example Context"
},
"number": { "type": "string", "title": "Number" }
},
"type": "object",
Expand Down Expand Up @@ -2389,6 +2394,11 @@
"title": "Outbound Only",
"default": false
},
"example_context": {
"additionalProperties": { "type": "string" },
"type": "object",
"title": "Example Context"
},
"number": { "type": "string", "title": "Number" }
},
"type": "object",
Expand Down Expand Up @@ -2504,17 +2514,16 @@
},
"voice_id": { "type": "string", "title": "Voice Id" },
"api_user_id": { "type": "string", "title": "Api User Id" },
"api_key": { "type": "string", "title": "Api Key" }
"api_key": { "type": "string", "title": "Api Key" },
"version": {
"type": "string",
"enum": ["1", "2"],
"title": "Version",
"default": "2"
}
},
"type": "object",
"required": [
"id",
"user_id",
"type",
"voice_id",
"api_user_id",
"api_key"
],
"required": ["id", "user_id", "type", "voice_id"],
"title": "PlayHtVoice"
},
"PlayHtVoiceParams": {
Expand All @@ -2526,10 +2535,16 @@
},
"voice_id": { "type": "string", "title": "Voice Id" },
"api_user_id": { "type": "string", "title": "Api User Id" },
"api_key": { "type": "string", "title": "Api Key" }
"api_key": { "type": "string", "title": "Api Key" },
"version": {
"type": "string",
"enum": ["1", "2"],
"title": "Version",
"default": "2"
}
},
"type": "object",
"required": ["type", "voice_id", "api_user_id", "api_key"],
"required": ["type", "voice_id"],
"title": "PlayHtVoiceParams"
},
"PlayHtVoiceUpdateParams": {
Expand Down Expand Up @@ -2559,6 +2574,13 @@
{ "$ref": "#/components/schemas/Undefined" }
],
"title": "Api Key"
},
"version": {
"anyOf": [
{ "type": "string", "enum": ["1", "2"] },
{ "$ref": "#/components/schemas/Undefined" }
],
"title": "Version"
}
},
"type": "object",
Expand Down

0 comments on commit c16fe3a

Please sign in to comment.