浏览代码

fix: Fixes swagger syntax.

factor2
damencho 1年前
父节点
当前提交
6758d13335
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4
    3
      resources/cloud-api.swagger

+ 4
- 3
resources/cloud-api.swagger 查看文件

@@ -86,7 +86,8 @@ paths:
86 86
           description: "successful operation"
87 87
           schema:
88 88
             type: array
89
-            $ref: "#/definitions/PhoneNumberListAnswer"
89
+            items:
90
+              $ref: "#/definitions/PhoneNumberListAnswer"
90 91
 securityDefinitions:
91 92
   token:
92 93
     type: "apiKey"
@@ -139,8 +140,8 @@ definitions:
139 140
       tollFree:
140 141
         type: boolean
141 142
     example:
142
-      {"countryCode":"US","tollFree":false,"formattedNumber":"+1 123-456-7890"}
143
-      {"countryCode":"UK","tollFree":true,"formattedNumber":"+44 123 456 7890"}
143
+      - {"countryCode":"US","tollFree":false,"formattedNumber":"+1 123-456-7890"}
144
+      - {"countryCode":"UK","tollFree":true,"formattedNumber":"+44 123 456 7890"}
144 145
 
145 146
 externalDocs:
146 147
   description: "Find out more about the Jitsi Cloud API"

正在加载...
取消
保存