From c9f014e25ae8586c759dcad7c64a8265631c0a77 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 13 Dec 2025 02:05:24 +0000 Subject: [PATCH 1/2] ci(deps-dev): Bump nextcloud/openapi-extractor Bumps [nextcloud/openapi-extractor](https://github.com/nextcloud-releases/openapi-extractor) from 1.8.6 to 1.8.7. - [Changelog](https://github.com/nextcloud-releases/openapi-extractor/blob/main/CHANGELOG.md) - [Commits](https://github.com/nextcloud-releases/openapi-extractor/compare/v1.8.6...v1.8.7) --- updated-dependencies: - dependency-name: nextcloud/openapi-extractor dependency-version: 1.8.7 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- vendor-bin/openapi-extractor/composer.lock | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/vendor-bin/openapi-extractor/composer.lock b/vendor-bin/openapi-extractor/composer.lock index a62e4d29ac..53af52dd04 100644 --- a/vendor-bin/openapi-extractor/composer.lock +++ b/vendor-bin/openapi-extractor/composer.lock @@ -82,16 +82,16 @@ }, { "name": "nextcloud/openapi-extractor", - "version": "v1.8.6", + "version": "v1.8.7", "source": { "type": "git", "url": "https://github.com/nextcloud-releases/openapi-extractor.git", - "reference": "3874ffb6817ab5b616a5e909c48c7cd13889cafa" + "reference": "230f61925c362779652b0038a1314ce5f931e853" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nextcloud-releases/openapi-extractor/zipball/3874ffb6817ab5b616a5e909c48c7cd13889cafa", - "reference": "3874ffb6817ab5b616a5e909c48c7cd13889cafa", + "url": "https://api.github.com/repos/nextcloud-releases/openapi-extractor/zipball/230f61925c362779652b0038a1314ce5f931e853", + "reference": "230f61925c362779652b0038a1314ce5f931e853", "shasum": "" }, "require": { @@ -102,9 +102,9 @@ "phpstan/phpdoc-parser": "^2.1" }, "require-dev": { - "nextcloud/coding-standard": "^1.2", + "nextcloud/coding-standard": "^1.4.0", "nextcloud/ocp": "dev-master", - "rector/rector": "^2.0" + "rector/rector": "^2.2.8" }, "bin": [ "bin/generate-spec", @@ -123,22 +123,22 @@ "description": "A tool for extracting OpenAPI specifications from Nextcloud source code", "support": { "issues": "https://github.com/nextcloud-releases/openapi-extractor/issues", - "source": "https://github.com/nextcloud-releases/openapi-extractor/tree/v1.8.6" + "source": "https://github.com/nextcloud-releases/openapi-extractor/tree/v1.8.7" }, - "time": "2025-10-01T13:53:28+00:00" + "time": "2025-12-02T09:52:06+00:00" }, { "name": "nikic/php-parser", - "version": "v5.6.1", + "version": "v5.7.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "f103601b29efebd7ff4a1ca7b3eeea9e3336a2a2" + "reference": "dca41cd15c2ac9d055ad70dbfd011130757d1f82" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/f103601b29efebd7ff4a1ca7b3eeea9e3336a2a2", - "reference": "f103601b29efebd7ff4a1ca7b3eeea9e3336a2a2", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/dca41cd15c2ac9d055ad70dbfd011130757d1f82", + "reference": "dca41cd15c2ac9d055ad70dbfd011130757d1f82", "shasum": "" }, "require": { @@ -181,9 +181,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.6.1" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.7.0" }, - "time": "2025-08-13T20:13:15+00:00" + "time": "2025-12-06T11:56:16+00:00" }, { "name": "phpstan/phpdoc-parser", From e2f59b070946ff3e2631cf8f81912b012762251a Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Sat, 13 Dec 2025 14:16:15 +0000 Subject: [PATCH 2/2] fix(openapi): Regenerate OpenAPI assets Signed-off-by: nextcloud-command --- openapi-full.json | 12 +----------- openapi.json | 12 +----------- src/types/openapi/openapi-full.ts | 18 +++++++++--------- src/types/openapi/openapi.ts | 18 +++++++++--------- 4 files changed, 20 insertions(+), 40 deletions(-) diff --git a/openapi-full.json b/openapi-full.json index 31ce9dc4f9..ad06be8aa8 100644 --- a/openapi-full.json +++ b/openapi-full.json @@ -15882,21 +15882,11 @@ } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { "type": "object", - "required": [ - "roomType", - "readOnly", - "listable", - "lobbyState", - "sipEnabled", - "permissions", - "recordingConsent", - "mentionPermissions" - ], "properties": { "roomType": { "type": "integer", diff --git a/openapi.json b/openapi.json index ab7e788621..936e587ca6 100644 --- a/openapi.json +++ b/openapi.json @@ -15787,21 +15787,11 @@ } ], "requestBody": { - "required": true, + "required": false, "content": { "application/json": { "schema": { "type": "object", - "required": [ - "roomType", - "readOnly", - "listable", - "lobbyState", - "sipEnabled", - "permissions", - "recordingConsent", - "mentionPermissions" - ], "properties": { "roomType": { "type": "integer", diff --git a/src/types/openapi/openapi-full.ts b/src/types/openapi/openapi-full.ts index cd66b30234..0f6b41369d 100644 --- a/src/types/openapi/openapi-full.ts +++ b/src/types/openapi/openapi-full.ts @@ -8554,14 +8554,14 @@ export interface operations { }; cookie?: never; }; - requestBody: { + requestBody?: { content: { "application/json": { /** * Format: int64 * @description Type of the room */ - roomType: number; + roomType?: number; /** * @deprecated * @description User, group, … ID to invite Deprecated: Use the `$participants` array instead @@ -8599,13 +8599,13 @@ export interface operations { * @description Read only state of the conversation (Default writable) (only available with `conversation-creation-all` capability) * @enum {integer} */ - readOnly: 0 | 1; + readOnly?: 0 | 1; /** * Format: int64 * @description Scope where the conversation is listable (Default not listable for anyone) (only available with `conversation-creation-all` capability) * @enum {integer} */ - listable: 0 | 1 | 2; + listable?: 0 | 1 | 2; /** * Format: int64 * @description Seconds after which messages will disappear, 0 disables expiration (Default 0) (only available with `conversation-creation-all` capability) @@ -8617,7 +8617,7 @@ export interface operations { * @description Lobby state of the conversation (Default lobby is disabled) (only available with `conversation-creation-all` capability) * @enum {integer} */ - lobbyState: 0 | 1; + lobbyState?: 0 | 1; /** * Format: int64 * @description Timer when the lobby will be removed (Default null, will not be disabled automatically) (only available with `conversation-creation-all` capability) @@ -8629,24 +8629,24 @@ export interface operations { * @description Whether SIP dial-in shall be enabled (only available with `conversation-creation-all` capability) * @enum {integer} */ - sipEnabled: 0 | 1 | 2; + sipEnabled?: 0 | 1 | 2; /** * Format: int64 * @description Default permissions for participants (only available with `conversation-creation-all` capability) */ - permissions: number; + permissions?: number; /** * Format: int64 * @description Whether participants need to agree to a recording before joining a call (only available with `conversation-creation-all` capability) * @enum {integer} */ - recordingConsent: 0 | 1; + recordingConsent?: 0 | 1; /** * Format: int64 * @description Who can mention at-all in the chat (only available with `conversation-creation-all` capability) * @enum {integer} */ - mentionPermissions: 0 | 1; + mentionPermissions?: 0 | 1; /** * @description Description for the conversation (limited to 2.000 characters) (only available with `conversation-creation-all` capability) * @default diff --git a/src/types/openapi/openapi.ts b/src/types/openapi/openapi.ts index a2cde05a0d..9529b534d7 100644 --- a/src/types/openapi/openapi.ts +++ b/src/types/openapi/openapi.ts @@ -8016,14 +8016,14 @@ export interface operations { }; cookie?: never; }; - requestBody: { + requestBody?: { content: { "application/json": { /** * Format: int64 * @description Type of the room */ - roomType: number; + roomType?: number; /** * @deprecated * @description User, group, … ID to invite Deprecated: Use the `$participants` array instead @@ -8061,13 +8061,13 @@ export interface operations { * @description Read only state of the conversation (Default writable) (only available with `conversation-creation-all` capability) * @enum {integer} */ - readOnly: 0 | 1; + readOnly?: 0 | 1; /** * Format: int64 * @description Scope where the conversation is listable (Default not listable for anyone) (only available with `conversation-creation-all` capability) * @enum {integer} */ - listable: 0 | 1 | 2; + listable?: 0 | 1 | 2; /** * Format: int64 * @description Seconds after which messages will disappear, 0 disables expiration (Default 0) (only available with `conversation-creation-all` capability) @@ -8079,7 +8079,7 @@ export interface operations { * @description Lobby state of the conversation (Default lobby is disabled) (only available with `conversation-creation-all` capability) * @enum {integer} */ - lobbyState: 0 | 1; + lobbyState?: 0 | 1; /** * Format: int64 * @description Timer when the lobby will be removed (Default null, will not be disabled automatically) (only available with `conversation-creation-all` capability) @@ -8091,24 +8091,24 @@ export interface operations { * @description Whether SIP dial-in shall be enabled (only available with `conversation-creation-all` capability) * @enum {integer} */ - sipEnabled: 0 | 1 | 2; + sipEnabled?: 0 | 1 | 2; /** * Format: int64 * @description Default permissions for participants (only available with `conversation-creation-all` capability) */ - permissions: number; + permissions?: number; /** * Format: int64 * @description Whether participants need to agree to a recording before joining a call (only available with `conversation-creation-all` capability) * @enum {integer} */ - recordingConsent: 0 | 1; + recordingConsent?: 0 | 1; /** * Format: int64 * @description Who can mention at-all in the chat (only available with `conversation-creation-all` capability) * @enum {integer} */ - mentionPermissions: 0 | 1; + mentionPermissions?: 0 | 1; /** * @description Description for the conversation (limited to 2.000 characters) (only available with `conversation-creation-all` capability) * @default