chore: update links to v2 docs in source code and comments (#9732)

This commit is contained in:
Shahed Nasser
2024-10-24 15:18:38 +03:00
committed by GitHub
parent 6617f81640
commit 92bbd7953b
39 changed files with 225 additions and 229 deletions
@@ -170,7 +170,7 @@ async function getOASFromCodebase(apiType: ApiType): Promise<OpenAPIObject> {
}
async function getPublicOas(apiType: ApiType) {
const url = `https://docs.medusajs.com/v2/api/api/download/${apiType}`
const url = `https://docs.medusajs.com/api/download/${apiType}`
return (await OpenAPIParser.parse(url)) as OpenAPIObject
}