Skip to content

Commit

Permalink
update openapi specs (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
seungjin-vocode authored Dec 8, 2023
1 parent cc5ba4c commit 0a4bdba
Showing 1 changed file with 31 additions and 2 deletions.
33 changes: 31 additions & 2 deletions docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3089,7 +3089,13 @@
"title": "Version",
"default": "2"
},
"speed": { "type": "number", "title": "Speed" }
"speed": { "type": "number", "title": "Speed" },
"quality": {
"type": "string",
"enum": ["faster", "draft", "low", "medium", "high", "premium"],
"title": "Quality"
},
"temperature": { "type": "number", "title": "Temperature" }
},
"type": "object",
"required": ["id", "user_id", "type", "voice_id"],
Expand All @@ -3111,7 +3117,13 @@
"title": "Version",
"default": "2"
},
"speed": { "type": "number", "title": "Speed" }
"speed": { "type": "number", "title": "Speed" },
"quality": {
"type": "string",
"enum": ["faster", "draft", "low", "medium", "high", "premium"],
"title": "Quality"
},
"temperature": { "type": "number", "title": "Temperature" }
},
"type": "object",
"required": ["type", "voice_id"],
Expand Down Expand Up @@ -3158,6 +3170,23 @@
{ "$ref": "#/components/schemas/Undefined" }
],
"title": "Speed"
},
"quality": {
"anyOf": [
{
"type": "string",
"enum": ["faster", "draft", "low", "medium", "high", "premium"]
},
{ "$ref": "#/components/schemas/Undefined" }
],
"title": "Quality"
},
"temperature": {
"anyOf": [
{ "type": "number" },
{ "$ref": "#/components/schemas/Undefined" }
],
"title": "Temperature"
}
},
"type": "object",
Expand Down

0 comments on commit 0a4bdba

Please sign in to comment.