Skip to content

Commit e0dcc5a

Browse files
authored
[ignore_release] Adding initial config for OpenApiDocs PR 5 (#205)
1 parent 440baee commit e0dcc5a

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

OpenApi/Annotations/config.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
3+
/**
4+
* Matomo - free/libre analytics platform
5+
*
6+
* @link https://matomo.org
7+
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
8+
*/
9+
10+
return [
11+
'methodsRequiringPost' => [
12+
'editAlert',
13+
],
14+
'paramRefsByMethod' => [
15+
],
16+
'successResponseByMethod' => [
17+
'getValuesForAlertInPast' => '#/components/responses/GenericArray',
18+
'getAlert' => '#/components/responses/Alert',
19+
'getAlerts' => '#/components/responses/AlertList',
20+
'addAlert' => '#/components/responses/GenericInteger',
21+
'editAlert' => '#/components/responses/GenericBoolean',
22+
'deleteAlert' => '#/components/responses/GenericSuccess',
23+
'getTriggeredAlerts' => '#/components/responses/AlertList',
24+
],
25+
];

0 commit comments

Comments
 (0)