From 8547d60f9a642436372bca742e16df7ad994baf4 Mon Sep 17 00:00:00 2001 From: Maarten de Kruijf Date: Tue, 21 May 2024 10:16:30 +0200 Subject: [PATCH] Escaped quotes --- models/api/error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/api/error.go b/models/api/error.go index 14fb68a..5fc061a 100644 --- a/models/api/error.go +++ b/models/api/error.go @@ -4,5 +4,5 @@ type Error struct { Status int `json:"status" validate:"required" example:"400"` Message string `json:"message" validate:"required" example:"missing argument in call"` OriginalCall string `json:"original-call" validate:"required" example:"/example/route"` - DownstreamCall string `json:"downstream-call" validate:"omitempty" example:"{"some" : "json"}"` + DownstreamCall string `json:"downstream-call" validate:"omitempty" example:"{\"some\" : \"json\"}"` }