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
{{ message }}
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
I'm trying to use it as per docs, but getting error at the stage of parsing arguments:
> cargo swagg ./AlpacaDeviceAPI_v1.yaml --out-file src/api.rs
error: Found argument './AlpacaDeviceAPI_v1.yaml' which wasn't expected, or isn't valid in this context
USAGE:
cargo-swagg.exe [OPTIONS] <source>
For more information try --help
Am I missing something?
The text was updated successfully, but these errors were encountered:
I've run into the same thing (on Windows).
It looks like running as cargo swag ./api.yaml --out-file ./src/api.rs is interpreted as swag being the source path. If I run it as cargo-swag.exe ./api.yaml --out-file ./src/api.rs then the program runs correctly. Hopefully this workaround helps!
I'm trying to use it as per docs, but getting error at the stage of parsing arguments:
Am I missing something?
The text was updated successfully, but these errors were encountered: