Kaynağa Gözat

fix: Fixes swagger syntax.

factor2
damencho 1 yıl önce
ebeveyn
işleme
6758d13335
1 değiştirilmiş dosya ile 4 ekleme ve 3 silme
  1. 4
    3
      resources/cloud-api.swagger

+ 4
- 3
resources/cloud-api.swagger Dosyayı Görüntüle

86
           description: "successful operation"
86
           description: "successful operation"
87
           schema:
87
           schema:
88
             type: array
88
             type: array
89
-            $ref: "#/definitions/PhoneNumberListAnswer"
89
+            items:
90
+              $ref: "#/definitions/PhoneNumberListAnswer"
90
 securityDefinitions:
91
 securityDefinitions:
91
   token:
92
   token:
92
     type: "apiKey"
93
     type: "apiKey"
139
       tollFree:
140
       tollFree:
140
         type: boolean
141
         type: boolean
141
     example:
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
 externalDocs:
146
 externalDocs:
146
   description: "Find out more about the Jitsi Cloud API"
147
   description: "Find out more about the Jitsi Cloud API"

Loading…
İptal
Kaydet