1
0
Эх сурвалжийг харах

[SPEC] Fix cardinality of the repository parameter in get snapshot action

Igor Motov 11 жил өмнө
parent
commit
749e4d7944

+ 2 - 2
rest-api-spec/api/snapshot.get.json

@@ -7,9 +7,9 @@
       "paths": ["/_snapshot/{repository}/{snapshot}"],
       "paths": ["/_snapshot/{repository}/{snapshot}"],
       "parts": {
       "parts": {
         "repository": {
         "repository": {
-          "type": "list",
+          "type": "string",
           "required" : true,
           "required" : true,
-          "description": "A comma-separated list of repository names"
+          "description": "A repository name"
         },
         },
         "snapshot": {
         "snapshot": {
           "type": "list",
           "type": "list",