summaryrefslogtreecommitdiff
path: root/makima/src/server/openapi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'makima/src/server/openapi.rs')
-rw-r--r--makima/src/server/openapi.rs10
1 files changed, 4 insertions, 6 deletions
diff --git a/makima/src/server/openapi.rs b/makima/src/server/openapi.rs
index 363d348..3e8c06c 100644
--- a/makima/src/server/openapi.rs
+++ b/makima/src/server/openapi.rs
@@ -2,20 +2,19 @@
use utoipa::OpenApi;
-use crate::server::handlers::{listen, tts};
+use crate::server::handlers::listen;
use crate::server::messages::{ApiError, AudioEncoding, StartMessage, StopMessage, TranscriptMessage};
#[derive(OpenApi)]
#[openapi(
info(
- title = "Makima Audio API",
+ title = "Makima Listen API",
version = "1.0.0",
- description = "Streaming audio APIs for speech-to-text and text-to-speech with voice cloning.",
+ description = "Streaming audio APIs for speech-to-text.",
license(name = "MIT"),
),
paths(
listen::websocket_handler,
- tts::synthesize_handler,
),
components(
schemas(
@@ -27,8 +26,7 @@ use crate::server::messages::{ApiError, AudioEncoding, StartMessage, StopMessage
)
),
tags(
- (name = "STT", description = "Speech-to-text streaming endpoints"),
- (name = "TTS", description = "Text-to-speech synthesis endpoints"),
+ (name = "Listen", description = "Speech-to-text streaming endpoints"),
)
)]
pub struct ApiDoc;