diff options
-rw-r--r-- | apps/dashboard/openapi.json | 8 | ||||
-rw-r--r-- | apps/files_sharing/openapi.json | 44 | ||||
-rw-r--r-- | apps/theming/openapi.json | 3 | ||||
-rw-r--r-- | core/openapi.json | 30 | ||||
-rw-r--r-- | vendor-bin/openapi-extractor/composer.lock | 20 |
5 files changed, 82 insertions, 23 deletions
diff --git a/apps/dashboard/openapi.json b/apps/dashboard/openapi.json index 138f06df83b..fb093d5d36f 100644 --- a/apps/dashboard/openapi.json +++ b/apps/dashboard/openapi.json @@ -267,7 +267,9 @@ "schema": { "type": "integer", "format": "int64", - "default": 7 + "default": 7, + "minimum": 1, + "maximum": 30 } }, { @@ -364,7 +366,9 @@ "schema": { "type": "integer", "format": "int64", - "default": 7 + "default": 7, + "minimum": 1, + "maximum": 30 } }, { diff --git a/apps/files_sharing/openapi.json b/apps/files_sharing/openapi.json index b77cc1bd6b6..bc8128df0d2 100644 --- a/apps/files_sharing/openapi.json +++ b/apps/files_sharing/openapi.json @@ -537,7 +537,11 @@ }, "hide_download": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "id": { "type": "string" @@ -578,7 +582,11 @@ }, "mail_send": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1 + ] }, "mimetype": { "type": "string" @@ -2792,8 +2800,20 @@ "in": "query", "description": "Limit to specific share types", "schema": { - "type": "string", - "nullable": true + "nullable": true, + "oneOf": [ + { + "type": "integer", + "format": "int64" + }, + { + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + } + ] } }, { @@ -2897,8 +2917,20 @@ "in": "query", "description": "Limit to specific share types", "schema": { - "type": "string", - "nullable": true + "nullable": true, + "oneOf": [ + { + "type": "integer", + "format": "int64" + }, + { + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } + } + ] } }, { diff --git a/apps/theming/openapi.json b/apps/theming/openapi.json index cce79444c95..7ed98467e96 100644 --- a/apps/theming/openapi.json +++ b/apps/theming/openapi.json @@ -303,7 +303,8 @@ "description": "ID of the app", "required": true, "schema": { - "type": "string" + "type": "string", + "default": "core" } } ], diff --git a/core/openapi.json b/core/openapi.json index c5de93838a1..2314c0df413 100644 --- a/core/openapi.json +++ b/core/openapi.json @@ -430,7 +430,14 @@ }, "status": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2, + 3, + 4 + ] }, "userId": { "type": "string", @@ -476,7 +483,14 @@ }, "status": { "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 0, + 1, + 2, + 3, + 4 + ] }, "userId": { "type": "string", @@ -4080,8 +4094,16 @@ "in": "query", "description": "Offset for searching", "schema": { - "type": "string", - "nullable": true + "nullable": true, + "oneOf": [ + { + "type": "integer", + "format": "int64" + }, + { + "type": "string" + } + ] } }, { diff --git a/vendor-bin/openapi-extractor/composer.lock b/vendor-bin/openapi-extractor/composer.lock index 178090b4032..a85bd1f581e 100644 --- a/vendor-bin/openapi-extractor/composer.lock +++ b/vendor-bin/openapi-extractor/composer.lock @@ -82,12 +82,12 @@ "source": { "type": "git", "url": "https://github.com/nextcloud/openapi-extractor.git", - "reference": "d99e9c0fbaa6502a704d53d4ca8b7566566ab4be" + "reference": "f4bda5419d4c76e70078ccfc3a0710548826333d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nextcloud/openapi-extractor/zipball/d99e9c0fbaa6502a704d53d4ca8b7566566ab4be", - "reference": "d99e9c0fbaa6502a704d53d4ca8b7566566ab4be", + "url": "https://api.github.com/repos/nextcloud/openapi-extractor/zipball/f4bda5419d4c76e70078ccfc3a0710548826333d", + "reference": "f4bda5419d4c76e70078ccfc3a0710548826333d", "shasum": "" }, "require": { @@ -112,7 +112,7 @@ "source": "https://github.com/nextcloud/openapi-extractor/tree/main", "issues": "https://github.com/nextcloud/openapi-extractor/issues" }, - "time": "2023-10-29T16:42:12+00:00" + "time": "2023-12-08T08:42:33+00:00" }, { "name": "nikic/php-parser", @@ -172,16 +172,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.24.2", + "version": "1.24.4", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "bcad8d995980440892759db0c32acae7c8e79442" + "reference": "6bd0c26f3786cd9b7c359675cb789e35a8e07496" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/bcad8d995980440892759db0c32acae7c8e79442", - "reference": "bcad8d995980440892759db0c32acae7c8e79442", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/6bd0c26f3786cd9b7c359675cb789e35a8e07496", + "reference": "6bd0c26f3786cd9b7c359675cb789e35a8e07496", "shasum": "" }, "require": { @@ -213,9 +213,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.2" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.4" }, - "time": "2023-09-26T12:28:12+00:00" + "time": "2023-11-26T18:29:22+00:00" } ], "packages-dev": [], |