diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-12-04 13:50:50 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2018-12-04 13:51:10 +0100 |
commit | 2beb98952a4c5939f33ea2dc77f0bd053bffbb5a (patch) | |
tree | 0b07172e0616586d97dc78a7e5a0ac0fc5cb5cde /support | |
parent | 06471769fc29a82446ed5da6c65d2e9219bec73b (diff) | |
download | PeerTube-2beb98952a4c5939f33ea2dc77f0bd053bffbb5a.tar.gz PeerTube-2beb98952a4c5939f33ea2dc77f0bd053bffbb5a.tar.zst PeerTube-2beb98952a4c5939f33ea2dc77f0bd053bffbb5a.zip |
change type of languageOneOf query parameter
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/api/openapi.yaml | 14 |
1 files changed, 12 insertions, 2 deletions
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: | |||
1434 | - type: array | 1434 | - type: array |
1435 | items: | 1435 | items: |
1436 | type: number | 1436 | type: number |
1437 | style: form | ||
1438 | explode: false | ||
1437 | tagsOneOf: | 1439 | tagsOneOf: |
1438 | name: tagsOneOf | 1440 | name: tagsOneOf |
1439 | in: query | 1441 | in: query |
@@ -1445,6 +1447,8 @@ components: | |||
1445 | - type: array | 1447 | - type: array |
1446 | items: | 1448 | items: |
1447 | type: string | 1449 | type: string |
1450 | style: form | ||
1451 | explode: false | ||
1448 | tagsAllOf: | 1452 | tagsAllOf: |
1449 | name: tagsAllOf | 1453 | name: tagsAllOf |
1450 | in: query | 1454 | in: query |
@@ -1456,6 +1460,8 @@ components: | |||
1456 | - type: array | 1460 | - type: array |
1457 | items: | 1461 | items: |
1458 | type: string | 1462 | type: string |
1463 | style: form | ||
1464 | explode: false | ||
1459 | languageOneOf: | 1465 | languageOneOf: |
1460 | name: languageOneOf | 1466 | name: languageOneOf |
1461 | in: query | 1467 | in: query |
@@ -1463,10 +1469,12 @@ components: | |||
1463 | description: language id of the video | 1469 | description: language id of the video |
1464 | schema: | 1470 | schema: |
1465 | oneOf: | 1471 | oneOf: |
1466 | - type: number | 1472 | - type: string |
1467 | - type: array | 1473 | - type: array |
1468 | items: | 1474 | items: |
1469 | type: number | 1475 | type: string |
1476 | style: form | ||
1477 | explode: false | ||
1470 | licenceOneOf: | 1478 | licenceOneOf: |
1471 | name: licenceOneOf | 1479 | name: licenceOneOf |
1472 | in: query | 1480 | in: query |
@@ -1478,6 +1486,8 @@ components: | |||
1478 | - type: array | 1486 | - type: array |
1479 | items: | 1487 | items: |
1480 | type: number | 1488 | type: number |
1489 | style: form | ||
1490 | explode: false | ||
1481 | nsfw: | 1491 | nsfw: |
1482 | name: nsfw | 1492 | name: nsfw |
1483 | in: query | 1493 | in: query |