Explorar o código

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

Igor Motov %!s(int64=11) %!d(string=hai) anos
pai
achega
749e4d7944
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      rest-api-spec/api/snapshot.get.json

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

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