Skip to content
New issue

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

oas3.json not generated with - npx apidoc-openapi-3 #9

Open
ns-smehta opened this issue Feb 6, 2024 · 0 comments
Open

oas3.json not generated with - npx apidoc-openapi-3 #9

ns-smehta opened this issue Feb 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ns-smehta
Copy link

Describe the bug
The oas3.json is not generated with the command npx apidoc-openapi-3. I have to manually download the package and then run node ./apidoc-openapi-3/bin.js --input ${PATH}--config apidoc.json

To Reproduce
Run npx apidoc-openapi-3 for your folder which contains the apiDocs to convert to swagger. The oas3.json will not be generated.

Expected behavior
The oas3.json should be generated with the default syntax, rather than by downloading and running the bare code.

Additional context
The workaround is currently to download the package from the Github repo and run:

node ./apidoc-openapi-3/bin.js --input ${PATH}--config apidoc.json
@ns-smehta ns-smehta added the bug Something isn't working label Feb 6, 2024
@ns-smehta ns-smehta reopened this Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant