From f5abdfdf3feab964e1f4286658e8eebb01dde40b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Cluseau?= Date: Sun, 29 Jun 2025 18:34:51 +0200 Subject: [PATCH] ws-host: add missing Produce --- cmd/dkl-local-server/ws-host.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/dkl-local-server/ws-host.go b/cmd/dkl-local-server/ws-host.go index 6406198..664de7a 100644 --- a/cmd/dkl-local-server/ws-host.go +++ b/cmd/dkl-local-server/ws-host.go @@ -30,6 +30,7 @@ func (ws wsHost) register(rws *restful.WebService, alterRB func(*restful.RouteBu for _, rb := range []*restful.RouteBuilder{ rws.GET("").To(ws.get). + Produces(mime.JSON). Doc("Get the "+ws.hostDoc+"'s details"). Returns(200, "OK", localconfig.Host{}),