File tree Expand file tree Collapse file tree 2 files changed +3
-53
lines changed Expand file tree Collapse file tree 2 files changed +3
-53
lines changed Original file line number Diff line number Diff line change 25
25
namespace OCA \Comments \Controller ;
26
26
27
27
use OCP \AppFramework \Controller ;
28
+ use OCP \AppFramework \Http \Attribute \IgnoreOpenAPI ;
28
29
use OCP \AppFramework \Http \NotFoundResponse ;
29
30
use OCP \AppFramework \Http \RedirectResponse ;
30
31
use OCP \AppFramework \Http ;
40
41
/**
41
42
* @package OCA\Comments\Controller
42
43
*/
44
+ #[IgnoreOpenAPI]
43
45
class NotificationsController extends Controller {
44
46
45
47
protected IRootFolder $ rootFolder ;
Original file line number Diff line number Diff line change 41
41
}
42
42
}
43
43
},
44
- "paths" : {
45
- "/index.php/apps/comments/notifications/view/{id}" : {
46
- "get" : {
47
- "operationId" : " notifications-view" ,
48
- "summary" : " View a notification" ,
49
- "tags" : [
50
- " notifications"
51
- ],
52
- "security" : [
53
- {},
54
- {
55
- "bearer_auth" : []
56
- },
57
- {
58
- "basic_auth" : []
59
- }
60
- ],
61
- "parameters" : [
62
- {
63
- "name" : " id" ,
64
- "in" : " path" ,
65
- "description" : " ID of the notification" ,
66
- "required" : true ,
67
- "schema" : {
68
- "type" : " string"
69
- }
70
- }
71
- ],
72
- "responses" : {
73
- "303" : {
74
- "description" : " Redirected to notification" ,
75
- "headers" : {
76
- "Location" : {
77
- "schema" : {
78
- "type" : " string"
79
- }
80
- }
81
- }
82
- },
83
- "404" : {
84
- "description" : " Notification not found" ,
85
- "content" : {
86
- "text/html" : {
87
- "schema" : {
88
- "type" : " string"
89
- }
90
- }
91
- }
92
- }
93
- }
94
- }
95
- }
96
- },
44
+ "paths" : {},
97
45
"tags" : []
98
46
}
You can’t perform that action at this time.
0 commit comments