Skip to content

Commit b308b1e

Browse files
committed
Add warning message to ExperimentalMcpApi annotation and change level
1 parent 93d544e commit b308b1e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

kotlin-sdk-core/src/commonMain/kotlin/io/modelcontextprotocol/kotlin/sdk/ExperimentalMcpApi.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ import kotlin.annotation.AnnotationTarget.VALUE_PARAMETER
3535
* - Property setters
3636
* - Type aliases
3737
*/
38-
@RequiresOptIn
38+
@RequiresOptIn(
39+
message = "This API is experimental. It may be changed in the future without notice.",
40+
level = RequiresOptIn.Level.WARNING,
41+
)
3942
@MustBeDocumented
4043
@Target(
4144
CLASS,

0 commit comments

Comments
 (0)