From c9f508b85228c19c2acaf612c6f4be63b9b4b16b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 9 Mar 2026 22:11:06 +0000 Subject: [PATCH] chore: update schema URL to v0.57.0 Update MCP Gateway JSON schema validation URL from v0.55.0 to v0.57.0 to pin to the latest stable release of github/gh-aw. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- internal/config/rules/rules.go | 2 +- internal/config/validation_schema.go | 2 +- internal/config/validation_schema_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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", }, }, {