Browse Source
theming: Add OpenAPI spec
theming: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>pull/39287/head
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
8 changed files with 149 additions and 71 deletions
-
1apps/theming/composer/composer/autoload_classmap.php
-
1apps/theming/composer/composer/autoload_static.php
-
20apps/theming/lib/Capabilities.php
-
26apps/theming/lib/Controller/IconController.php
-
37apps/theming/lib/Controller/ThemingController.php
-
44apps/theming/lib/Controller/UserThemeController.php
-
36apps/theming/lib/ResponseDefinitions.php
-
55apps/theming/openapi.json
@ -0,0 +1,36 @@ |
|||
<?php |
|||
declare(strict_types=1); |
|||
|
|||
/** |
|||
* @copyright Copyright (c) 2023 Kate Döen <kate.doeen@nextcloud.com> |
|||
* |
|||
* @author Kate Döen <kate.doeen@nextcloud.com> |
|||
* |
|||
* @license GNU AGPL version 3 or any later version |
|||
* |
|||
* This program is free software: you can redistribute it and/or modify |
|||
* it under the terms of the GNU Affero General Public License as |
|||
* published by the Free Software Foundation, either version 3 of the |
|||
* License, or (at your option) any later version. |
|||
* |
|||
* This program is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU Affero General Public License for more details. |
|||
* |
|||
* You should have received a copy of the GNU Affero General Public License |
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
|||
* |
|||
*/ |
|||
|
|||
namespace OCA\Theming; |
|||
|
|||
/** |
|||
* @psalm-type ThemingBackground = array{ |
|||
* backgroundImage: ?string, |
|||
* backgroundColor: string, |
|||
* version: int, |
|||
* } |
|||
*/ |
|||
class ResponseDefinitions { |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue