Browse Source
cloud_federation_api: Add OpenAPI spec
cloud_federation_api: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>pull/39318/head
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
6 changed files with 101 additions and 27 deletions
-
1apps/cloud_federation_api/composer/composer/autoload_classmap.php
-
1apps/cloud_federation_api/composer/composer/autoload_static.php
-
16apps/cloud_federation_api/lib/Capabilities.php
-
59apps/cloud_federation_api/lib/Controller/RequestHandlerController.php
-
45apps/cloud_federation_api/lib/ResponseDefinitions.php
-
6apps/cloud_federation_api/openapi.json
@ -0,0 +1,45 @@ |
|||
<?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\CloudFederationAPI; |
|||
|
|||
/** |
|||
* @psalm-type CloudFederationApiAddShare = array{ |
|||
* recipientDisplayName: string, |
|||
* } |
|||
* |
|||
* @psalm-type CloudFederationApiError = array{ |
|||
* message: string, |
|||
* } |
|||
* |
|||
* @psalm-type CloudFederationApiValidationError = CloudFederationApiError&array{ |
|||
* validationErrors: array{ |
|||
* name: string, |
|||
* message: string|null, |
|||
* }[], |
|||
* } |
|||
*/ |
|||
class ResponseDefinitions { |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue