ws-host: add missing Produce

This commit is contained in:
Mikaël Cluseau
2025-06-29 18:34:51 +02:00
parent 7a55735cc4
commit f5abdfdf3f

View File

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