change type of languageOneOf query parameter
authorRigel Kent <sendmemail@rigelk.eu>
Tue, 4 Dec 2018 12:50:50 +0000 (13:50 +0100)
committerRigel Kent <sendmemail@rigelk.eu>
Tue, 4 Dec 2018 12:51:10 +0000 (13:51 +0100)
support/doc/api/openapi.yaml

index 9848c93ee1ffcb99ca320665d5901b1892bef803..cb6ba9af5e46a314ff054774e3622841dcf0693e 100644 (file)
@@ -1434,6 +1434,8 @@ components:
         - type: array
           items:
             type: number
+      style: form
+      explode: false
     tagsOneOf:
       name: tagsOneOf
       in: query
@@ -1445,6 +1447,8 @@ components:
         - type: array
           items:
             type: string
+      style: form
+      explode: false
     tagsAllOf:
       name: tagsAllOf
       in: query
@@ -1456,6 +1460,8 @@ components:
         - type: array
           items:
             type: string
+      style: form
+      explode: false
     languageOneOf:
       name: languageOneOf
       in: query
@@ -1463,10 +1469,12 @@ components:
       description: language id of the video
       schema:
         oneOf:
-        - type: number
+        - type: string
         - type: array
           items:
-            type: number
+            type: string
+      style: form
+      explode: false
     licenceOneOf:
       name: licenceOneOf
       in: query
@@ -1478,6 +1486,8 @@ components:
         - type: array
           items:
             type: number
+      style: form
+      explode: false
     nsfw:
       name: nsfw
       in: query