Skip to content

Commit 53e90db

Browse files
ByteBakerCopilot
andauthored
Update crates/rmcp/src/model/elicitation_schema.rs
Co-authored-by: Copilot <[email protected]>
1 parent 3769b76 commit 53e90db

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/rmcp/src/model/elicitation_schema.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -463,19 +463,19 @@ pub struct EnumSchema {
463463

464464
/// Allowed enum values (string values only per MCP spec)
465465
#[serde(rename = "enum")]
466-
pub enum_values: Vec<String>,
466+
enum_values: Vec<String>,
467467

468468
/// Optional human-readable names for each enum value
469469
#[serde(skip_serializing_if = "Option::is_none")]
470-
pub enum_names: Option<Vec<String>>,
470+
enum_names: Option<Vec<String>>,
471471

472472
/// Optional title for the schema
473473
#[serde(skip_serializing_if = "Option::is_none")]
474-
pub title: Option<Cow<'static, str>>,
474+
title: Option<Cow<'static, str>>,
475475

476476
/// Human-readable description
477477
#[serde(skip_serializing_if = "Option::is_none")]
478-
pub description: Option<Cow<'static, str>>,
478+
description: Option<Cow<'static, str>>,
479479
}
480480

481481
impl EnumSchema {

0 commit comments

Comments
 (0)