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
I have searched all issues/PRs to ensure it has not already been reported or fixed.
I have verified that I am using the latest version of Scoop and corresponding bucket.
Package Name
openapi-generator-cli
Expected/Current Behaviour
Expected:
relative path parameter value shall make openapi-generator-cli read from path that relative from current working directory.
Current
it is currently relative to "C:\Users\my_username\scoop\apps\openapi-generator-cli\current" instead of current working directory.
Steps to Reproduce
openapi-generator-cli generate -i .\sample.yaml -g java --library restclient -o .\client\java\sample-client will produce error as below even sample.yaml in the working directory: openapi-generator-cli generate -i .\sample.yaml -g java --library restclient -o .\client\java\sample-client[error] The spec file is not found: .\sample.yaml[error] Check the path of the OpenAPI spec and try again.
Possible Solution
I notice the openapi-generator-cli.cmd are as below:
Prerequisites
Package Name
openapi-generator-cli
Expected/Current Behaviour
Expected:
relative path parameter value shall make
openapi-generator-cli
read from path that relative from current working directory.Current
it is currently relative to "C:\Users\my_username\scoop\apps\openapi-generator-cli\current" instead of current working directory.
Steps to Reproduce
Possible Solution
I notice the
openapi-generator-cli.cmd
are as below:I removed pushd and popd, then it work as expected:
Scoop and Buckets Version
Scoop Config
PowerShell Version
Additional Softwares
No response
The text was updated successfully, but these errors were encountered: