[ML] Remove trailing slashes from ML rest spec (elastic/x-pack-elasticsearch#2350)

Original commit: elastic/x-pack-elasticsearch@f2a3d70562
This commit is contained in:
David Kyle 2017-08-25 09:35:07 +01:00 committed by GitHub
parent 175e8db3aa
commit 5a63c4d9a2
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
"methods": [ "GET" ],
"url": {
"path": "/_xpack/ml/filters/{filter_id}",
"paths": [ "/_xpack/ml/filters/", "/_xpack/ml/filters/{filter_id}" ],
"paths": [ "/_xpack/ml/filters", "/_xpack/ml/filters/{filter_id}" ],
"parts": {
"filter_id": {
"type" : "string",

View File

@ -6,7 +6,7 @@
"path": "/_xpack/ml/anomaly_detectors/{job_id}",
"paths": [
"/_xpack/ml/anomaly_detectors/{job_id}",
"/_xpack/ml/anomaly_detectors/"
"/_xpack/ml/anomaly_detectors"
],
"parts": {
"job_id": {