From 18568f02abc97ef15535fdb55c1e9104255d0553 Mon Sep 17 00:00:00 2001 From: almostinf <87192879+almostinf@users.noreply.github.com> Date: Fri, 27 Oct 2023 10:51:05 +0300 Subject: [PATCH] fix config example (#948) --- api/handler/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/handler/config.go b/api/handler/config.go index 3cd075195..bfa6a84f1 100644 --- a/api/handler/config.go +++ b/api/handler/config.go @@ -5,9 +5,9 @@ import "net/http" type ContactExample struct { Type string `json:"type" example:"webhook kontur"` Label string `json:"label" example:"Webhook Kontur"` - Validation string `json:"validation" example:"^(http|https):\\/\\/.*(testkontur.ru|kontur.host|skbkontur.ru)(:[0-9]{2,5})?\\/"` - Placeholder string `json:"placeholder" example:"https://service.testkontur.ru/webhooks/moira"` - Help string `json:"help" example:"### Domains whitelist:\n - skbkontur.ru\n - testkontur.ru\n - kontur.host"` + Validation string `json:"validation" example:"^(http|https):\\/\\/.*(moira.ru)(:[0-9]{2,5})?\\/"` + Placeholder string `json:"placeholder" example:"https://moira.ru/webhooks/moira"` + Help string `json:"help" example:"### Domains whitelist:\n - moira.ru\n"` } type ConfigurationResponse struct {