Skip to content

Commit 48821a5

Browse files
lpcoxCopilot
andauthored
Update internal/config/schema/mcp-gateway-config.schema.json
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent bf3719d commit 48821a5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

internal/config/schema/mcp-gateway-config.schema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,8 @@
286286
"endpoint": {
287287
"type": "string",
288288
"description": "OTLP/HTTP collector URL. MUST use HTTPS (e.g., \"https://otel-collector.example.com\"). Supports ${VAR} expansion.",
289-
"minLength": 1
289+
"minLength": 1,
290+
"pattern": "^(https://.+|\\$\\{[A-Za-z_][A-Za-z0-9_]*\\})$"
290291
},
291292
"headers": {
292293
"type": "object",

0 commit comments

Comments
 (0)