File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
kotlin-sdk-core/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/types Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 11package io.modelcontextprotocol.kotlin.sdk.types
22
3+ import io.modelcontextprotocol.kotlin.sdk.types.Icon.Theme.Dark
4+ import io.modelcontextprotocol.kotlin.sdk.types.Icon.Theme.Light
35import kotlinx.serialization.SerialName
46import kotlinx.serialization.Serializable
57import kotlinx.serialization.json.JsonObject
@@ -27,6 +29,14 @@ public val SUPPORTED_PROTOCOL_VERSIONS: List<String> = listOf(
2729public sealed interface WithMeta {
2830 @SerialName(" _meta" )
2931 public val meta: JsonObject ?
32+
33+ @Deprecated(
34+ message = " Use 'meta' instead." ,
35+ replaceWith = ReplaceWith (" meta" ),
36+ )
37+ @Suppress(" PropertyName" , " VariableNaming" )
38+ public val _meta : JsonObject
39+ get() = meta ? : EmptyJsonObject
3040}
3141
3242// ============================================================================
You can’t perform that action at this time.
0 commit comments