Analytics 2.0 API - Invalid Swagger Doc?
I still have an issue where the Swagger document for Analytics API 2.0 seems to be invalid, with a number of broken references.
The errors are visible within the Swagger UI if you go to one of the affected endpoints. Here is an example:
https://adobedocs.github.io/analytics-2.0-apis/#/calculatedmetrics/calculatedmetrics_getCalculatedMetricFunctionshttps://adobedocs.github.io/analytics-2.0-apis/#/calculatedmetrics/calculatedmetrics_getCalculatedMetricFunctions
For a full list, you can paste the full Swagger doc (https://adobedocs.github.io/analytics-2.0-apis/swagger.json) into the online Swagger editor (https://editor.swagger.io). This shows 7 errors total at the time of writing (see below)
For me this means I'm unable to generate a client for the 2.0 API. Maybe I'm missing something? Do most people still use 1.4?
Many thanks,
James
N.b. I had a related question which I closed by mistake: Definitions seem to be missing from API 2.0 Swagger
Errors reported by editor.swagger.io:
Semantic error at paths./calculatedmetrics/functions.get.responses.200.schema.items.$ref
$refs must reference a valid location in the document