Skip to content

Commit 08fbf2b

Browse files
committed
Minor corrections
1 parent 9190943 commit 08fbf2b

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

Annotations/AnnotationGenerator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ protected function writeAnnotationsToFile(array $annotations, string $filePath,
9999
'namespace Piwik\\Plugins\\' . $pluginName . '\\OpenApi\\Annotations;',
100100
'',
101101
'/**',
102-
' * Annotations generated by the OpenApiDocs plugin ' . time(),
103-
' * ',
104102
];
105103

106104
foreach ($annotations as $annotation) {

Annotations/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99

1010
return [
11-
'virtualPathTemplate' => '/{plugin}.{method}',
11+
'virtualPathTemplate' => '/index.php?module=API&method={plugin}.{method}',
1212

1313
'defaultParamRefs' => [
1414
'#/components/parameters/formatOptional',

0 commit comments

Comments
 (0)