소스 검색

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

Igor Motov 11 년 전
부모
커밋
749e4d7944
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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",