Get spec generation ready for initial plugin API specs#8
Conversation
AltamashShaikh
left a comment
There was a problem hiding this comment.
@snake14
no input for array values, is that expected ?
Also unreleated, getAvailableDimensions and getAvailableMetrics requires idsite but it is never used
@AltamashShaikh Yes. That's apparently how SwaggerUI works. If you click on the Even if a parameter isn't used by the method, if it's in the signature and doesn't provide a default value in the signature, it's technically a required parameter and enforced by Matomo. If I make a request to either of those endpoints without the |
AltamashShaikh
left a comment
There was a problem hiding this comment.
Looks good to me 👍
|
@AltamashShaikh I thought that I had moved it out of draft. Can you please approve so that I can merge? |

Description
Doing some cleanup to improve the quality of the annotations and specs which can be generated.
Issue No
PG-4544
Steps to Replicate the Issue
ddev matomo:console openapidocs:generate-spec-file --plugin=CustomReports --not-dry-runplugins/CustomReports/OpenApi/Specs/CustomReports_v1.0.0.jsonin PHPStorm and confirm that everything validatesChecklist