fix spec violations in /insights/{project-slug}/workflows path in OpenAPI spec
complete
S
Stephen Daspit
Today, your OpenAPI spec is invalid due to problems with the
/insights/{project-slug}/workflows
path (operationId: getProjectWorkflowMetrics
).The
reporting-window
parameter is designated as a path parameter, which means it needs to be marked as required: true
.More importantly, if it is a path parameter, it needs to appear in the path!
Activity Feed
Sort by
![Dawit Gebregziabher](https://canny.io/images/e7afd5a2f1ca5a12d2afee25e73bf7fe.png)
Dawit Gebregziabher
complete
![Graeme Harvey](https://canny.io/images/01aee7949ff2be09c6c05b01254bbeb0.jpg)
Graeme Harvey
Hi Stephen,
Thanks for catching this and bringing it to our attention. The
reporting-window
parameter was indeed meant to be a query parameter. We've made the change to our docs and the correction should be publicly visible soon.Cheers,
Graeme
CircleCI Insights
S
Stephen Daspit
Should anyone ask "why don't you file a bug", when I have done so, CircleCI's support team redirects me to either this Ideas board, or to the discussion forums. ¯\_(ツ)_/¯