diff options
author | Chocobozzz <me@florianbigard.com> | 2021-03-04 15:06:22 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-03-04 16:16:37 +0100 |
commit | 8726cd494110d2cb2f5302e9347128e84306cc63 (patch) | |
tree | a77d093eabc3efd84bdd149b9f7f7a2dfa835b91 | |
parent | 0edcbd75306004125032d04e472bf29552e0d94e (diff) | |
download | PeerTube-8726cd494110d2cb2f5302e9347128e84306cc63.tar.gz PeerTube-8726cd494110d2cb2f5302e9347128e84306cc63.tar.zst PeerTube-8726cd494110d2cb2f5302e9347128e84306cc63.zip |
Fix REST API doc
-rw-r--r-- | support/doc/api/openapi.yaml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index 9ccf567df..c7b266f4b 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -1362,11 +1362,11 @@ paths: | |||
1362 | example: 4 | 1362 | example: 4 |
1363 | licence: | 1363 | licence: |
1364 | description: Video licence | 1364 | description: Video licence |
1365 | type: string | ||
1366 | language: | ||
1367 | description: Video language | ||
1368 | type: integer | 1365 | type: integer |
1369 | example: 2 | 1366 | example: 2 |
1367 | language: | ||
1368 | description: Video language | ||
1369 | type: string | ||
1370 | description: | 1370 | description: |
1371 | description: Video description | 1371 | description: Video description |
1372 | type: string | 1372 | type: string |
@@ -1484,10 +1484,12 @@ paths: | |||
1484 | $ref: '#/components/schemas/VideoPrivacySet' | 1484 | $ref: '#/components/schemas/VideoPrivacySet' |
1485 | category: | 1485 | category: |
1486 | description: Video category | 1486 | description: Video category |
1487 | type: string | 1487 | type: integer |
1488 | example: 4 | ||
1488 | licence: | 1489 | licence: |
1489 | description: Video licence | 1490 | description: Video licence |
1490 | type: string | 1491 | type: integer |
1492 | example: 2 | ||
1491 | language: | 1493 | language: |
1492 | description: Video language | 1494 | description: Video language |
1493 | type: string | 1495 | type: string |