2023-07-10 05:04:34 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2023-07-10 05:04:34 -04:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
namespace OCP\AppFramework\Http\Attribute;
|
|
|
|
|
|
|
|
|
|
use Attribute;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Attribute for controller methods that should be ignored when generating OpenAPI documentation
|
|
|
|
|
*
|
|
|
|
|
* @since 28.0.0
|
2023-10-28 09:58:34 -04:00
|
|
|
* @deprecated 28.0.0 Use {@see OpenAPI} with {@see OpenAPI::SCOPE_IGNORE} instead: `#[OpenAPI(scope: OpenAPI::SCOPE_IGNORE)]`
|
2023-07-10 05:04:34 -04:00
|
|
|
*/
|
|
|
|
|
#[Attribute(Attribute::TARGET_METHOD | Attribute::TARGET_CLASS)]
|
|
|
|
|
class IgnoreOpenAPI {
|
|
|
|
|
}
|