fix(medusa-oas-cli): fix tool not working in Medusa backends (#6812)

* fix(medusa-oas-cli): fix tool not working in custom projects

* fix changeset message

---------

Co-authored-by: Riqwan Thamir <rmthamir@gmail.com>
This commit is contained in:
Shahed NasserandRiqwan Thamir authored and GitHub committed 2024-03-26 09:33:06 +02:00
1 parent 509ddf9a56
commit e005987adf
6 files changed
+263 -26

No files matched your search

@@ -24,7 +24,7 @@ const run = async () => {
}
const generateOASSource = async (outDir, apiType) => {
const commandParams = ["oas", `--type=${apiType}`, `--out-dir=${outDir}`]
const commandParams = ["oas", `--type=${apiType}`, `--out-dir=${outDir}`, "--local"]
if (v2) {
commandParams.push(`--v2`)
}