matomo-org / matomo-org/plugin-ApiReference
FormAnalytics spec generation produces error
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 0
- Forks
- 1
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 5
Description
Error when generating spec files for FormAnalytics, which makes it appear to fail. Even when it's generated the spec correctly.
```
ERROR [2026-05-25 04:45:07] 429839 Multiple @Matomo\Dependencies\ApiReference\OA\Property() with the same property="key":
/var/www/html/plugins/ApiReference/tmp/annotations/FormAnalyticsGeneratedAnnotations.php on line 1842
/var/www/html/plugins/ApiReference/tmp/annotations/FormAnalyticsGeneratedAnnotations.php on line 1842
ERROR [2026-05-25 04:45:07] 429839 Multiple @Matomo\Dependencies\ApiReference\OA\Property() with the same property="key":
/var/www/html/plugins/ApiReference/tmp/annotations/FormAnalyticsGeneratedAnnotations.php on line 1842
/var/www/html/plugins/ApiReference/tmp/annotations/FormAnalyticsGeneratedAnnotations.php on line 1842
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce FormAnalytics spec generation and inspect the generated plugins/ApiReference/tmp/annotations/FormAnalyticsGeneratedAnnotations.php around line 1842, where duplicate Property entries for key are reported. Trace the generation input that produces those entries; done means the spec is generated correctly without the duplicate-property error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100