From: Rigel Kent Date: Tue, 4 Dec 2018 12:50:50 +0000 (+0100) Subject: change type of languageOneOf query parameter X-Git-Tag: v1.2.0-rc.1~114 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2beb98952a4c5939f33ea2dc77f0bd053bffbb5a;p=oweals%2Fpeertube.git change type of languageOneOf query parameter --- diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index 9848c93ee..cb6ba9af5 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml @@ -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