Correlations: change casing of *UID properties (#52836)

* Correlations: change casing of *UID properties

* add link to correlations HTTP API
This commit is contained in:
Giordano Ricci
2022-07-27 07:01:46 +01:00
committed by GitHub
parent 0235fc136c
commit 4b2144fe40
13 changed files with 119 additions and 118 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import (
"github.com/grafana/grafana/pkg/services/correlations"
)
// swagger:route POST /datasources/uid/{uid}/correlations correlations createCorrelation
// swagger:route POST /datasources/uid/{sourceUID}/correlations correlations createCorrelation
//
// Add correlation.
//
@@ -23,7 +23,7 @@ type CreateCorrelationParams struct {
Body correlations.CreateCorrelationCommand `json:"body"`
// in:path
// required:true
SourceUID string `json:"uid"`
SourceUID string `json:"sourceUID"`
}
//swagger:response createCorrelationResponse