Update the swagger annotations for the apiserver

Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
This commit is contained in:
Mihaela Balutoiu 2023-07-18 18:47:25 +03:00
parent 91dd082f81
commit 9ba3ae487b

View file

@ -202,7 +202,7 @@ func (a *APIController) NotFoundHandler(w http.ResponseWriter, r *http.Request)
}
}
// swagger:route GET /metrics-token metrics-token MetricsToken
// swagger:route GET /metrics-token metrics-token GetMetricsToken
//
// Returns a JWT token that can be used to access the metrics endpoint.
//