You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding the generate to the command as suggested in the docs (npx swagger-typescript-api generate --path ./swagger.json), gives me a:
EISDIR: illegal operation on a directory, read 6:32:25 PM
at Module.readFileSync (node:fs:448:20)
at B.getFileContent (node_modules/swagger-typescript-api/dist/chunk-EBM4FZTJ.js:39:31)
at Ae.getSwaggerSchemaByPath (node_modules/swagger-typescript-api/dist/chunk-EBM4FZTJ.js:24:6835)
at Ae.fetchSwaggerSchemaFile (node_modules/swagger-typescript-api/dist/chunk-EBM4FZTJ.js:24:6933)
at Ae.create (node_modules/swagger-typescript-api/dist/chunk-EBM4FZTJ.js:24:6114)
at ke.start (node_modules/swagger-typescript-api/dist/chunk-EBM4FZTJ.js:39:2112)
at ki (node_modules/swagger-typescript-api/dist/chunk-EBM4FZTJ.js:41:4141)
at Object.run (node_modules/swagger-typescript-api/dist/cli.js:2:6095)
at async runCommand (node_modules/citty/dist/index.mjs:316:16)
at async runCommand (node_modules/citty/dist/index.mjs:307:1
Since the versions after 13.0.23, our existing command to write a parsed api spec to a file no longer works
Command:
Error:
Reverting to version 13.0.23 fixes this
The text was updated successfully, but these errors were encountered: