feat: add title field for data types (#410)

* feat(model): add title field to various structs

* fix(test): fix test json schema

* fix(model): allow boxed type  in `ts_union` macro
This commit is contained in:
4t145 2025-09-08 09:15:22 +08:00 • committed by GitHub
commit 1b70f5b032
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -892,6 +892,7 @@ async fn test_initialize_request_with_elicitation() {
client_info: Implementation {
name: "test-client".to_string(),
version: "1.0.0".to_string(),
title: None,
},
};
@ -933,6 +934,7 @@ async fn test_capability_checking_logic() {
client_info: Implementation {
name: "test-client".to_string(),
version: "1.0.0".to_string(),
title: None,
},
};
@ -950,6 +952,7 @@ async fn test_capability_checking_logic() {
client_info: Implementation {
name: "test-client".to_string(),
version: "1.0.0".to_string(),
title: None,
},
};