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

Fix example docker command line #4094

merged 1 commit into from Oct 8, 2019


Copy link

commented Oct 8, 2019


cd ./modules/openapi-generator/src/test/resources/3_0/
docker run --rm \
> -v ${PWD}:/local openapitools/openapi-generator-cli generate \
> -i petstore.yaml \
> -g go \
> -o /local/out/go
[error] The spec file is not found: petstore.yaml
[error] Check the path of the OpenAPI spec and try again.

Solution: specify absolute path to input file

@auto-labeler auto-labeler bot added the Client: Go label Oct 8, 2019

This comment has been minimized.

Copy link

commented Oct 8, 2019

👍 Thanks for opening this issue!
🏷 I have applied any labels matching special text in your issue.

The team will review the labels and make any necessary changes.

@wing328 wing328 removed the Client: Go label Oct 8, 2019

This comment has been minimized.

Copy link

commented Oct 8, 2019

@bclermont thanks for the fix.

I may later switch it to URL instead of local file.

@wing328 wing328 merged commit 28e9cf5 into OpenAPITools:master Oct 8, 2019
4 of 5 checks passed
4 of 5 checks passed
continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Shippable Run 11065 status is SUCCESS.
ci/circleci Your tests passed on CircleCI!
continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/drone/pr Build is passing
@wing328 wing328 added this to the 4.2.0 milestone Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.