]> source.dussan.org Git - nextcloud-server.git/commitdiff
chore(deps): Update openapi-extractor 42666/head
authorprovokateurin <kate@provokateurin.de>
Tue, 9 Jan 2024 17:09:02 +0000 (18:09 +0100)
committerprovokateurin <kate@provokateurin.de>
Tue, 9 Jan 2024 17:12:57 +0000 (18:12 +0100)
Signed-off-by: provokateurin <kate@provokateurin.de>
apps/files/openapi.json
apps/files_sharing/openapi.json
apps/files_trashbin/openapi.json
apps/theming/openapi.json
apps/user_ldap/openapi.json
core/openapi.json
vendor-bin/openapi-extractor/composer.lock

index c897790f205347254bbae7f96374131009fb05be..4df81800846e22ab942e95ffa91771d4dd482a07 100644 (file)
                         "description": "Whether to copy the system templates to the template directory",
                         "schema": {
                             "type": "integer",
-                            "default": 0
+                            "default": 0,
+                            "enum": [
+                                0,
+                                1
+                            ]
                         }
                     },
                     {
index abbc3d250a6ea2e9f7872cb47f3d6f0ec5c35a8c..1cf1de460ba8ede8f968de3706730d3ad8a1ac15 100644 (file)
                         "description": "Whether to not crop the preview",
                         "schema": {
                             "type": "integer",
-                            "default": 0
+                            "default": 0,
+                            "enum": [
+                                0,
+                                1
+                            ]
                         }
                     },
                     {
                         "description": "Include tags in the share",
                         "schema": {
                             "type": "integer",
-                            "default": 0
+                            "default": 0,
+                            "enum": [
+                                0,
+                                1
+                            ]
                         }
                     },
                     {
                         "description": "If a global lookup should be performed too",
                         "schema": {
                             "type": "integer",
-                            "default": 0
+                            "default": 0,
+                            "enum": [
+                                0,
+                                1
+                            ]
                         }
                     },
                     {
index a96cf5f189da82d6ad496a22530f1a4d8a73b24b..afa0ccfdafd6a1c13b2bc6f70e8c751748d3850b 100644 (file)
                         "description": "Whether to not crop the preview",
                         "schema": {
                             "type": "integer",
-                            "default": 0
+                            "default": 0,
+                            "enum": [
+                                0,
+                                1
+                            ]
                         }
                     }
                 ],
index 7ed98467e962b02816c83d4deb0e28cec7a82381..f85f916dcaaa733f8f7fbd60e05a74f710281356 100644 (file)
                         "description": "Let the browser decide the CSS priority",
                         "schema": {
                             "type": "integer",
-                            "default": 0
+                            "default": 0,
+                            "enum": [
+                                0,
+                                1
+                            ]
                         }
                     },
                     {
                         "description": "Include custom CSS",
                         "schema": {
                             "type": "integer",
-                            "default": 0
+                            "default": 0,
+                            "enum": [
+                                0,
+                                1
+                            ]
                         }
                     },
                     {
                         "description": "Return image as SVG",
                         "schema": {
                             "type": "integer",
-                            "default": 1
+                            "default": 1,
+                            "enum": [
+                                0,
+                                1
+                            ]
                         }
                     },
                     {
index f775726c8dcbaf979167d044024db59c8b3e3df2..fcad9c62fd880e7b1a0d7535e911aa3471e7c266 100644 (file)
                         "description": "Whether to show the password",
                         "schema": {
                             "type": "integer",
-                            "default": 0
+                            "default": 0,
+                            "enum": [
+                                0,
+                                1
+                            ]
                         }
                     },
                     {
index 2314c0df4138d5488e7235e373e54a05506e9dde..52e684ee729f6d02527487ab12f2337727e3db31 100644 (file)
                         "schema": {
                             "type": "integer",
                             "nullable": true,
-                            "default": 0
+                            "default": 0,
+                            "enum": [
+                                0,
+                                1
+                            ]
                         }
                     },
                     {
                         "description": "Whether to not crop the preview",
                         "schema": {
                             "type": "integer",
-                            "default": 0
+                            "default": 0,
+                            "enum": [
+                                0,
+                                1
+                            ]
                         }
                     },
                     {
                         "description": "Force returning an icon",
                         "schema": {
                             "type": "integer",
-                            "default": 1
+                            "default": 1,
+                            "enum": [
+                                0,
+                                1
+                            ]
                         }
                     },
                     {
                         "description": "Whether to fallback to the mime icon if no preview is available",
                         "schema": {
                             "type": "integer",
-                            "default": 0
+                            "default": 0,
+                            "enum": [
+                                0,
+                                1
+                            ]
                         }
                     }
                 ],
                         "description": "Whether to not crop the preview",
                         "schema": {
                             "type": "integer",
-                            "default": 0
+                            "default": 0,
+                            "enum": [
+                                0,
+                                1
+                            ]
                         }
                     },
                     {
                         "description": "Force returning an icon",
                         "schema": {
                             "type": "integer",
-                            "default": 1
+                            "default": 1,
+                            "enum": [
+                                0,
+                                1
+                            ]
                         }
                     },
                     {
                         "description": "Whether to fallback to the mime icon if no preview is available",
                         "schema": {
                             "type": "integer",
-                            "default": 0
+                            "default": 0,
+                            "enum": [
+                                0,
+                                1
+                            ]
                         }
                     }
                 ],
                         "headers": {
                             "X-NEXTCLOUD-OCM-PROVIDERS": {
                                 "schema": {
-                                    "type": "boolean"
+                                    "type": "boolean",
+                                    "enum": [
+                                        true
+                                    ]
                                 }
                             }
                         },
                         "description": "Rewrite URLs to absolute ones",
                         "schema": {
                             "type": "integer",
-                            "default": 0
+                            "default": 0,
+                            "enum": [
+                                0,
+                                1
+                            ]
                         }
                     },
                     {
                         "description": "Rewrite URLs to absolute ones",
                         "schema": {
                             "type": "integer",
-                            "default": 0
+                            "default": 0,
+                            "enum": [
+                                0,
+                                1
+                            ]
                         }
                     },
                     {
                         "description": "Resolve the references",
                         "schema": {
                             "type": "integer",
-                            "default": 0
+                            "default": 0,
+                            "enum": [
+                                0,
+                                1
+                            ]
                         }
                     },
                     {
index a85bd1f581e1bf50e2efab3d0752ee07222d3d0e..c7dd6e51a7536141d814e29c0cac0fd15d1098db 100644 (file)
             "source": {
                 "type": "git",
                 "url": "https://github.com/nextcloud/openapi-extractor.git",
-                "reference": "f4bda5419d4c76e70078ccfc3a0710548826333d"
+                "reference": "d60f9911c30b7f3b7a5de046cf3bcaaa998376f5"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/nextcloud/openapi-extractor/zipball/f4bda5419d4c76e70078ccfc3a0710548826333d",
-                "reference": "f4bda5419d4c76e70078ccfc3a0710548826333d",
+                "url": "https://api.github.com/repos/nextcloud/openapi-extractor/zipball/d60f9911c30b7f3b7a5de046cf3bcaaa998376f5",
+                "reference": "d60f9911c30b7f3b7a5de046cf3bcaaa998376f5",
                 "shasum": ""
             },
             "require": {
@@ -97,6 +97,9 @@
                 "php": "^8.1",
                 "phpstan/phpdoc-parser": "^1.23"
             },
+            "require-dev": {
+                "nextcloud/coding-standard": "^1.1"
+            },
             "default-branch": true,
             "bin": [
                 "generate-spec",
                     "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"
+                ]
+            },
             "support": {
                 "source": "https://github.com/nextcloud/openapi-extractor/tree/main",
                 "issues": "https://github.com/nextcloud/openapi-extractor/issues"
             },
-            "time": "2023-12-08T08:42:33+00:00"
+            "time": "2024-01-08T13:18:50+00:00"
         },
         {
             "name": "nikic/php-parser",
-            "version": "v4.17.1",
+            "version": "v4.18.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/nikic/PHP-Parser.git",
-                "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d"
+                "reference": "1bcbb2179f97633e98bbbc87044ee2611c7d7999"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d",
-                "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d",
+                "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/1bcbb2179f97633e98bbbc87044ee2611c7d7999",
+                "reference": "1bcbb2179f97633e98bbbc87044ee2611c7d7999",
                 "shasum": ""
             },
             "require": {
             ],
             "support": {
                 "issues": "https://github.com/nikic/PHP-Parser/issues",
-                "source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1"
+                "source": "https://github.com/nikic/PHP-Parser/tree/v4.18.0"
             },
-            "time": "2023-08-13T19:53:39+00:00"
+            "time": "2023-12-10T21:03:43+00:00"
         },
         {
             "name": "phpstan/phpdoc-parser",
-            "version": "1.24.4",
+            "version": "1.25.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/phpstan/phpdoc-parser.git",
-                "reference": "6bd0c26f3786cd9b7c359675cb789e35a8e07496"
+                "reference": "bd84b629c8de41aa2ae82c067c955e06f1b00240"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/6bd0c26f3786cd9b7c359675cb789e35a8e07496",
-                "reference": "6bd0c26f3786cd9b7c359675cb789e35a8e07496",
+                "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/bd84b629c8de41aa2ae82c067c955e06f1b00240",
+                "reference": "bd84b629c8de41aa2ae82c067c955e06f1b00240",
                 "shasum": ""
             },
             "require": {
             "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.4"
+                "source": "https://github.com/phpstan/phpdoc-parser/tree/1.25.0"
             },
-            "time": "2023-11-26T18:29:22+00:00"
+            "time": "2024-01-04T17:06:16+00:00"
         }
     ],
     "packages-dev": [],