feat(OpenAPI): Add ex_app scope

Signed-off-by: provokateurin <kate@provokateurin.de>
pull/46233/head
provokateurin 2 years ago
parent 32de958259
commit 355ef202e4
No known key found for this signature in database
  1. 2
      core/openapi-ex_app.json
  2. 0
      core/openapi-ex_app.json.license
  3. 8
      lib/public/AppFramework/Http/Attribute/OpenAPI.php
  4. 11
      vendor-bin/openapi-extractor/composer.lock

@ -1,7 +1,7 @@
{
"openapi": "3.0.3",
"info": {
"title": "core-administration",
"title": "core-ex_app",
"version": "0.0.1",
"description": "Core functionality of Nextcloud",
"license": {

@ -50,6 +50,14 @@ class OpenAPI {
*/
public const SCOPE_IGNORE = 'ignore';
/**
* APIs used by ExApps.
* Will be set automatically when an ExApp is required to access the route.
*
* @since 30.0.0
*/
public const SCOPE_EX_APP = 'ex_app';
/**
* @param self::SCOPE_*|string $scope Scopes are used to define different clients.
* It is recommended to go with the scopes available as self::SCOPE_* constants,

@ -82,12 +82,12 @@
"source": {
"type": "git",
"url": "https://github.com/nextcloud/openapi-extractor.git",
"reference": "5f5f339c43457919fbe46e91e4256bde5fb07807"
"reference": "82473016d48704ed21e75ea2afa9b0262b9b9a6d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nextcloud/openapi-extractor/zipball/5f5f339c43457919fbe46e91e4256bde5fb07807",
"reference": "5f5f339c43457919fbe46e91e4256bde5fb07807",
"url": "https://api.github.com/repos/nextcloud/openapi-extractor/zipball/82473016d48704ed21e75ea2afa9b0262b9b9a6d",
"reference": "82473016d48704ed21e75ea2afa9b0262b9b9a6d",
"shasum": ""
},
"require": {
@ -98,7 +98,8 @@
"phpstan/phpdoc-parser": "^1.28"
},
"require-dev": {
"nextcloud/coding-standard": "^1.2"
"nextcloud/coding-standard": "^1.2",
"nextcloud/ocp": "dev-master"
},
"default-branch": true,
"bin": [
@ -129,7 +130,7 @@
"source": "https://github.com/nextcloud/openapi-extractor/tree/main",
"issues": "https://github.com/nextcloud/openapi-extractor/issues"
},
"time": "2024-06-06T10:43:00+00:00"
"time": "2024-07-02T07:11:51+00:00"
},
{
"name": "nikic/php-parser",

Loading…
Cancel
Save