File tree Expand file tree Collapse file tree
public/AppFramework/Http/Attribute Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 'OCP \\AppFramework \\Http \\Attribute \\AuthorizedAdminSetting ' => $ baseDir . '/lib/public/AppFramework/Http/Attribute/AuthorizedAdminSetting.php ' ,
4141 'OCP \\AppFramework \\Http \\Attribute \\BruteForceProtection ' => $ baseDir . '/lib/public/AppFramework/Http/Attribute/BruteForceProtection.php ' ,
4242 'OCP \\AppFramework \\Http \\Attribute \\CORS ' => $ baseDir . '/lib/public/AppFramework/Http/Attribute/CORS.php ' ,
43+ 'OCP \\AppFramework \\Http \\Attribute \\IgnoreOpenAPI ' => $ baseDir . '/lib/public/AppFramework/Http/Attribute/IgnoreOpenAPI.php ' ,
4344 'OCP \\AppFramework \\Http \\Attribute \\NoAdminRequired ' => $ baseDir . '/lib/public/AppFramework/Http/Attribute/NoAdminRequired.php ' ,
4445 'OCP \\AppFramework \\Http \\Attribute \\NoCSRFRequired ' => $ baseDir . '/lib/public/AppFramework/Http/Attribute/NoCSRFRequired.php ' ,
4546 'OCP \\AppFramework \\Http \\Attribute \\PasswordConfirmationRequired ' => $ baseDir . '/lib/public/AppFramework/Http/Attribute/PasswordConfirmationRequired.php ' ,
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ class ComposerStaticInit749170dad3f5e7f9ca158f5a9f04f6a2
7373 'OCP \\AppFramework \\Http \\Attribute \\AuthorizedAdminSetting ' => __DIR__ . '/../../.. ' . '/lib/public/AppFramework/Http/Attribute/AuthorizedAdminSetting.php ' ,
7474 'OCP \\AppFramework \\Http \\Attribute \\BruteForceProtection ' => __DIR__ . '/../../.. ' . '/lib/public/AppFramework/Http/Attribute/BruteForceProtection.php ' ,
7575 'OCP \\AppFramework \\Http \\Attribute \\CORS ' => __DIR__ . '/../../.. ' . '/lib/public/AppFramework/Http/Attribute/CORS.php ' ,
76+ 'OCP \\AppFramework \\Http \\Attribute \\IgnoreOpenAPI ' => __DIR__ . '/../../.. ' . '/lib/public/AppFramework/Http/Attribute/IgnoreOpenAPI.php ' ,
7677 'OCP \\AppFramework \\Http \\Attribute \\NoAdminRequired ' => __DIR__ . '/../../.. ' . '/lib/public/AppFramework/Http/Attribute/NoAdminRequired.php ' ,
7778 'OCP \\AppFramework \\Http \\Attribute \\NoCSRFRequired ' => __DIR__ . '/../../.. ' . '/lib/public/AppFramework/Http/Attribute/NoCSRFRequired.php ' ,
7879 'OCP \\AppFramework \\Http \\Attribute \\PasswordConfirmationRequired ' => __DIR__ . '/../../.. ' . '/lib/public/AppFramework/Http/Attribute/PasswordConfirmationRequired.php ' ,
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ /**
6+ * @copyright Copyright (c) 2023 Kate Döen <kate.doeen@nextcloud.com>
7+ *
8+ * @author Kate Döen <kate.doeen@nextcloud.com>
9+ *
10+ * @license GNU AGPL version 3 or any later version
11+ *
12+ * This program is free software: you can redistribute it and/or modify
13+ * it under the terms of the GNU Affero General Public License as
14+ * published by the Free Software Foundation, either version 3 of the
15+ * License, or (at your option) any later version.
16+ *
17+ * This program is distributed in the hope that it will be useful,
18+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
19+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20+ * GNU Affero General Public License for more details.
21+ *
22+ * You should have received a copy of the GNU Affero General Public License
23+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
24+ */
25+
26+ namespace OCP \AppFramework \Http \Attribute ;
27+
28+ use Attribute ;
29+
30+ /**
31+ * Attribute for controller methods that should be ignored when generating OpenAPI documentation
32+ *
33+ * @since 28.0.0
34+ */
35+ #[Attribute(Attribute::TARGET_METHOD | Attribute::TARGET_CLASS )]
36+ class IgnoreOpenAPI {
37+ }
You can’t perform that action at this time.
0 commit comments