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
merged 1 commit into from Oct 8, 2019

Conversation

@bclermont
Copy link
Contributor

commented Oct 8, 2019

Problem:

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
@auto-labeler

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
@wing328

This comment has been minimized.

Copy link
Member

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
Details
Shippable Run 11065 status is SUCCESS.
Details
ci/circleci Your tests passed on CircleCI!
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/drone/pr Build is passing
Details
@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
Projects
None yet
2 participants
You can’t perform that action at this time.