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{}),