mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 20:50:55 +00:00
Improve handling spaces in example command (#6482)
This commit is contained in:
parent
6477a3c431
commit
40a7e53b19
@ -283,7 +283,7 @@ To generate code with this image, you'll need to mount a local location as a vol
|
|||||||
Example:
|
Example:
|
||||||
|
|
||||||
```sh
|
```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 \
|
-i https://raw.githubusercontent.com/openapitools/openapi-generator/master/modules/openapi-generator/src/test/resources/2_0/petstore.yaml \
|
||||||
-g go \
|
-g go \
|
||||||
-o /local/out/go
|
-o /local/out/go
|
||||||
|
Loading…
x
Reference in New Issue
Block a user