From 5940dd210cb7ef80f1476541d743413fdf0526a0 Mon Sep 17 00:00:00 2001 From: Sergiu Dumitras Date: Sat, 20 Jun 2026 21:30:52 +0300 Subject: [PATCH] feat: add provider selection to Opsgenie channel params Opsgenie channels can now target Jira Service Management, Opsgenie, or a custom endpoint. `provider` selects the alert API (required) and `endpoint` holds the URL for the custom provider. Both carry descriptions so MCP and other API clients understand the abbreviated enum values. --- openapi.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index 7483384..1a196b3 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -5802,9 +5802,17 @@ components: priority: type: string enum: [P1, P2, P3, P4, P5] + provider: + type: string + description: "Alert API the channel targets: jsm = Jira Service Management, opsgenie = Opsgenie (deprecated), custom = the URL given in endpoint." + enum: [jsm, opsgenie, custom] + endpoint: + type: string + description: "Alert API URL for the custom provider; empty for jsm and opsgenie." required: - apiKey - priority + - provider TelegramParams: type: object