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

Error: No such file or directory (os error 2) #14

Closed
snow-jallen opened this issue Nov 16, 2021 · 3 comments
Closed

Error: No such file or directory (os error 2) #14

snow-jallen opened this issue Nov 16, 2021 · 3 comments

Comments

@snow-jallen
Copy link

I tried running
docker run --rm -it rust

Then running
cargo install openapi-fuzzer

Then running
openapi-fuzzer --url http://localhost/swagger --spec http://localhost/swagger/v1/swagger.json

But I just get back
Error: No such file or directory (os error 2)

...Not particularly helpful, but I'm not sure where to go from here. As far as I can tell I'm doing what the docs said to do.

@matusf
Copy link
Owner

matusf commented Nov 16, 2021

The --spec option takes a file as an argument not an url.

@snow-jallen
Copy link
Author

Thank you, that did the trick. I guess that just wasn't clear to me in the docs, I appreciate the clarification.

@matusf
Copy link
Owner

matusf commented Nov 16, 2021

No problem. I'll try to improve the help message & docs.

@matusf matusf closed this as completed in d797d8e Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants