diff --git a/internal/config/rules/rules.go b/internal/config/rules/rules.go index 47dd48fe..57223eef 100644 --- a/internal/config/rules/rules.go +++ b/internal/config/rules/rules.go @@ -12,7 +12,7 @@ var log = logger.New("config:rules") // Documentation URL constants const ( ConfigSpecURL = "https://github.com/github/gh-aw/blob/main/docs/src/content/docs/reference/mcp-gateway.md" - SchemaURL = "https://raw.githubusercontent.com/github/gh-aw/v0.55.0/docs/public/schemas/mcp-gateway-config.schema.json" + SchemaURL = "https://raw.githubusercontent.com/github/gh-aw/v0.57.0/docs/public/schemas/mcp-gateway-config.schema.json" ) // ValidationError represents a configuration validation error with context. diff --git a/internal/config/validation_schema.go b/internal/config/validation_schema.go index 4a46a8f9..934afebc 100644 --- a/internal/config/validation_schema.go +++ b/internal/config/validation_schema.go @@ -41,7 +41,7 @@ var ( // Current schema version: v0.50.7 // // Alternative: Embed the schema using go:embed directive for zero network dependency. - schemaURL = "https://raw.githubusercontent.com/github/gh-aw/v0.55.0/docs/public/schemas/mcp-gateway-config.schema.json" + schemaURL = "https://raw.githubusercontent.com/github/gh-aw/v0.57.0/docs/public/schemas/mcp-gateway-config.schema.json" // Schema caching to avoid recompiling the JSON schema on every validation // This improves performance by compiling the schema once and reusing it diff --git a/internal/config/validation_schema_test.go b/internal/config/validation_schema_test.go index 58094123..e1a841f4 100644 --- a/internal/config/validation_schema_test.go +++ b/internal/config/validation_schema_test.go @@ -556,7 +556,7 @@ func TestEnhancedErrorMessages(t *testing.T) { "Location:", "Error:", "Details:", - "https://raw.githubusercontent.com/github/gh-aw/v0.55.0/docs/public/schemas/mcp-gateway-config.schema.json", + "https://raw.githubusercontent.com/github/gh-aw/v0.57.0/docs/public/schemas/mcp-gateway-config.schema.json", }, }, {