We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When you try to call CLI without the -p parm like npx apidoc-openapi --src ./src/api/ --out ./docs/api.json
npx apidoc-openapi --src ./src/api/ --out ./docs/api.json
you get back The "path" argument must be of type string. Received undefined
The "path" argument must be of type string. Received undefined
The problem is in line 44 with path.resolve apidoc: path.resolve(cwd, program.project)
apidoc: path.resolve(cwd, program.project)
Stack:
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined at validateString (internal/validators.js:121:11) at Object.resolve (path.js:980:7) at Object.main (/node_modules/@forfuture/apidoc-openapi/src/index.js:44:18)
Let me know if you would accept the pull request.
The text was updated successfully, but these errors were encountered:
It surely is not clear that the parameter is required.
What changes do you suggest?
Sorry, something went wrong.
Handle it as optional and skip path resolving. apidoc is in if case later in the code.
No branches or pull requests
When you try to call CLI without the -p parm like
npx apidoc-openapi --src ./src/api/ --out ./docs/api.json
you get back
The "path" argument must be of type string. Received undefined
The problem is in line 44 with path.resolve
apidoc: path.resolve(cwd, program.project)
Stack:
Let me know if you would accept the pull request.
The text was updated successfully, but these errors were encountered: