Changes on the server.json format and the API (#562)

This commit is contained in:
Radoslav Dimitrov 2025-09-29 23:30:35 +03:00 • committed by GitHub
commit b21c6f564d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,8 +44,8 @@ func TestPublishCommand_DeprecatedSchema(t *testing.T) {
errorSubstr: "deprecated schema detected",
},
{
name: "current 2025-09-16 schema should pass validation",
schema: "https://static.modelcontextprotocol.io/schemas/2025-09-16/server.schema.json",
name: "current 2025-09-29 schema should pass validation",
schema: "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json",
expectError: false,
},
{
@ -69,7 +69,6 @@ func TestPublishCommand_DeprecatedSchema(t *testing.T) {
Name: "com.example/test-server",
Description: "A test server",
Version: "1.0.0",
Status: model.StatusActive,
Repository: model.Repository{
URL: "https://github.com/example/test",
Source: "github",