From 69a42139816da2e1614f2e40ea25370788d4e7cd Mon Sep 17 00:00:00 2001 From: provokateurin Date: Wed, 21 Aug 2024 11:14:10 +0200 Subject: [PATCH] chore(deps): Update openapi-extractor to v1.0.0 Signed-off-by: provokateurin --- openapi-administration.json | 112 ++++++++++++++++++++- openapi-full.json | 4 +- vendor-bin/openapi-extractor/composer.json | 8 +- vendor-bin/openapi-extractor/composer.lock | 42 +++----- 4 files changed, 128 insertions(+), 38 deletions(-) diff --git a/openapi-administration.json b/openapi-administration.json index 262c588c..dab9211d 100644 --- a/openapi-administration.json +++ b/openapi-administration.json @@ -79,6 +79,114 @@ "type": "string" } } + }, + "RichObjectParameter": { + "type": "object", + "required": [ + "type", + "id", + "name" + ], + "properties": { + "type": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "server": { + "type": "string" + }, + "link": { + "type": "string" + }, + "call-type": { + "type": "string", + "enum": [ + "one2one", + "group", + "public" + ] + }, + "icon-url": { + "type": "string" + }, + "message-id": { + "type": "string" + }, + "boardname": { + "type": "string" + }, + "stackname": { + "type": "string" + }, + "size": { + "type": "string" + }, + "path": { + "type": "string" + }, + "mimetype": { + "type": "string" + }, + "preview-available": { + "type": "string", + "enum": [ + "yes", + "no" + ] + }, + "mtime": { + "type": "string" + }, + "latitude": { + "type": "string" + }, + "longitude": { + "type": "string" + }, + "description": { + "type": "string" + }, + "thumb": { + "type": "string" + }, + "website": { + "type": "string" + }, + "visibility": { + "type": "string", + "enum": [ + "0", + "1" + ] + }, + "assignable": { + "type": "string", + "enum": [ + "0", + "1" + ] + }, + "conversation": { + "type": "string" + }, + "etag": { + "type": "string" + }, + "permissions": { + "type": "string" + }, + "width": { + "type": "string" + }, + "height": { + "type": "string" + } + } } } }, @@ -315,7 +423,7 @@ }, "subjectParameters": { "type": "object", - "default": [], + "default": {}, "description": "Rich objects to fill the subject placeholders, {@see \\OCP\\RichObjectStrings\\Definitions}", "additionalProperties": { "$ref": "#/components/schemas/RichObjectParameter" @@ -323,7 +431,7 @@ }, "messageParameters": { "type": "object", - "default": [], + "default": {}, "description": "Rich objects to fill the message placeholders, {@see \\OCP\\RichObjectStrings\\Definitions}", "additionalProperties": { "$ref": "#/components/schemas/RichObjectParameter" diff --git a/openapi-full.json b/openapi-full.json index 3067c4f9..3875a3ee 100644 --- a/openapi-full.json +++ b/openapi-full.json @@ -1227,7 +1227,7 @@ }, "subjectParameters": { "type": "object", - "default": [], + "default": {}, "description": "Rich objects to fill the subject placeholders, {@see \\OCP\\RichObjectStrings\\Definitions}", "additionalProperties": { "$ref": "#/components/schemas/RichObjectParameter" @@ -1235,7 +1235,7 @@ }, "messageParameters": { "type": "object", - "default": [], + "default": {}, "description": "Rich objects to fill the message placeholders, {@see \\OCP\\RichObjectStrings\\Definitions}", "additionalProperties": { "$ref": "#/components/schemas/RichObjectParameter" diff --git a/vendor-bin/openapi-extractor/composer.json b/vendor-bin/openapi-extractor/composer.json index 6bc1d1ac..3692a745 100644 --- a/vendor-bin/openapi-extractor/composer.json +++ b/vendor-bin/openapi-extractor/composer.json @@ -1,16 +1,10 @@ { - "repositories": [ - { - "type": "vcs", - "url": "https://github.com/nextcloud/openapi-extractor" - } - ], "config": { "platform": { "php": "8.1" } }, "require": { - "nextcloud/openapi-extractor": "dev-main" + "nextcloud/openapi-extractor": "^1.0.0" } } diff --git a/vendor-bin/openapi-extractor/composer.lock b/vendor-bin/openapi-extractor/composer.lock index 60ebb38b..fec64bf7 100644 --- a/vendor-bin/openapi-extractor/composer.lock +++ b/vendor-bin/openapi-extractor/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "143725e36726d6a8e8fc092c8b44a4ee", + "content-hash": "23c96ff7007b72dfd2bbe9cbf35a2843", "packages": [ { "name": "adhocore/cli", @@ -78,16 +78,16 @@ }, { "name": "nextcloud/openapi-extractor", - "version": "dev-main", + "version": "v1.0.0", "source": { "type": "git", - "url": "https://github.com/nextcloud/openapi-extractor.git", - "reference": "944c6a64e428705eea138dcfce4e5b95b126448d" + "url": "https://github.com/nextcloud-releases/openapi-extractor.git", + "reference": "88e347097db28b6e3f8f3c221502b80a4f455b1f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nextcloud/openapi-extractor/zipball/944c6a64e428705eea138dcfce4e5b95b126448d", - "reference": "944c6a64e428705eea138dcfce4e5b95b126448d", + "url": "https://api.github.com/repos/nextcloud-releases/openapi-extractor/zipball/88e347097db28b6e3f8f3c221502b80a4f455b1f", + "reference": "88e347097db28b6e3f8f3c221502b80a4f455b1f", "shasum": "" }, "require": { @@ -101,7 +101,6 @@ "nextcloud/coding-standard": "^1.2", "nextcloud/ocp": "dev-master" }, - "default-branch": true, "bin": [ "generate-spec", "merge-specs" @@ -112,25 +111,16 @@ "OpenAPIExtractor\\": "src" } }, - "scripts": { - "lint": [ - "find . -name \\*.php -not -path './tests/*' -not -path './vendor/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l && php -l generate-spec && php -l merge-specs" - ], - "cs:check": [ - "php-cs-fixer fix --dry-run --diff" - ], - "cs:fix": [ - "php-cs-fixer fix" - ], - "test:unit": [ - "cd tests && ../generate-spec" - ] - }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "AGPL-3.0-or-later" + ], + "description": "A tool for extracting OpenAPI specifications from Nextcloud source code", "support": { - "source": "https://github.com/nextcloud/openapi-extractor/tree/main", - "issues": "https://github.com/nextcloud/openapi-extractor/issues" + "issues": "https://github.com/nextcloud-releases/openapi-extractor/issues", + "source": "https://github.com/nextcloud-releases/openapi-extractor/tree/v1.0.0" }, - "time": "2024-07-06T04:06:45+00:00" + "time": "2024-08-20T16:46:27+00:00" }, { "name": "nikic/php-parser", @@ -241,9 +231,7 @@ "packages-dev": [], "aliases": [], "minimum-stability": "stable", - "stability-flags": { - "nextcloud/openapi-extractor": 20 - }, + "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, "platform": [],