Improve handling spaces in example command (#6482)

This commit is contained in:
Kamil Breguła 2020-05-30 17:15:53 +02:00 committed by GitHub
parent 6477a3c431
commit 40a7e53b19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -283,7 +283,7 @@ To generate code with this image, you'll need to mount a local location as a vol
Example:
```sh
docker run --rm -v ${PWD}:/local openapitools/openapi-generator-cli generate \
docker run --rm -v "${PWD}:/local" openapitools/openapi-generator-cli generate \
-i https://raw.githubusercontent.com/openapitools/openapi-generator/master/modules/openapi-generator/src/test/resources/2_0/petstore.yaml \
-g go \
-o /local/out/go