aboutsummaryrefslogtreecommitdiff
path: root/src/api/schema.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-04-27 22:53:34 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-04-27 22:54:02 +0300
commit5a61ae2f9d89320c2e91d58fc3646b5a6a88f44a (patch)
tree5a627b659542cc3b881e50de1b57e10f1736a198 /src/api/schema.rs
parentd7879fafe80933ce962f1e029992e47a4eafc69d (diff)
feat: add status command
Diffstat (limited to 'src/api/schema.rs')
-rw-r--r--src/api/schema.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/schema.rs b/src/api/schema.rs
index f7665fd9..d3fd4682 100644
--- a/src/api/schema.rs
+++ b/src/api/schema.rs
@@ -428,6 +428,7 @@ pub struct ErrorBody {
pub enum ResponseResult {
Pong {
version: String,
+ protocol: u32,
},
WorkspaceInfo {
workspace: WorkspaceInfo,
@@ -940,6 +941,7 @@ mod tests {
id: "req_1".into(),
result: ResponseResult::Pong {
version: "0.1.2".into(),
+ protocol: 2,
},
};