Skip to content

Commit c9f508b

Browse files
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>
1 parent ab536e8 commit c9f508b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

internal/config/rules/rules.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var log = logger.New("config:rules")
1212
// Documentation URL constants
1313
const (
1414
ConfigSpecURL = "https://github.com/github/gh-aw/blob/main/docs/src/content/docs/reference/mcp-gateway.md"
15-
SchemaURL = "https://raw.githubusercontent.com/github/gh-aw/v0.55.0/docs/public/schemas/mcp-gateway-config.schema.json"
15+
SchemaURL = "https://raw.githubusercontent.com/github/gh-aw/v0.57.0/docs/public/schemas/mcp-gateway-config.schema.json"
1616
)
1717

1818
// ValidationError represents a configuration validation error with context.

internal/config/validation_schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var (
4141
// Current schema version: v0.50.7
4242
//
4343
// Alternative: Embed the schema using go:embed directive for zero network dependency.
44-
schemaURL = "https://raw.githubusercontent.com/github/gh-aw/v0.55.0/docs/public/schemas/mcp-gateway-config.schema.json"
44+
schemaURL = "https://raw.githubusercontent.com/github/gh-aw/v0.57.0/docs/public/schemas/mcp-gateway-config.schema.json"
4545

4646
// Schema caching to avoid recompiling the JSON schema on every validation
4747
// This improves performance by compiling the schema once and reusing it

internal/config/validation_schema_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ func TestEnhancedErrorMessages(t *testing.T) {
556556
"Location:",
557557
"Error:",
558558
"Details:",
559-
"https://raw.githubusercontent.com/github/gh-aw/v0.55.0/docs/public/schemas/mcp-gateway-config.schema.json",
559+
"https://raw.githubusercontent.com/github/gh-aw/v0.57.0/docs/public/schemas/mcp-gateway-config.schema.json",
560560
},
561561
},
562562
{

0 commit comments

Comments
 (0)