Closed vholik closed 2 months ago
Hello! Are you trying to generate OAS for v1 or v2? If for v1, please use the @latest
version instead.
However, for v2, it seems the URL is definitely incorrect. It should be https://docs.medusajs.com/v2/api/api/download/${apiType}
. Will open a PR to fix it.
Hello @shahednasser. I am using Medusa 2.0.
Bug report
I encountered an issue after installing a fresh oas package using the following command:
Upon running generate command, I received the following error:
Describe the bug
I was able to resolve the issue by modifying the
getPublicOas
URL in the package code.System information
Medusa version (including plugins): Node.js version: Database: Operating system: Browser (if relevant):
Steps to reproduce the behavior
Expected behavior
A clear and concise description of what you expected to happen
Screenshots
If applicable, add screenshots to help explain your problem
Code snippets
If applicable, add code samples to help explain your problem
Additional context
Add any other context about the problem here