fix path to input (#4094)

This commit is contained in:
Bruno Clermont 2019-10-09 00:12:15 +08:00 committed by William Cheng
parent 682af7c4f3
commit 28e9cf5d3c
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ Here's an example generating a Go client:
```bash ```bash
docker run --rm \ docker run --rm \
-v ${PWD}:/local openapitools/openapi-generator-cli generate \ -v ${PWD}:/local openapitools/openapi-generator-cli generate \
-i petstore.yaml \ -i /local/petstore.yaml \
-g go \ -g go \
-o /local/out/go -o /local/out/go
``` ```

View File

@ -158,7 +158,7 @@ class Index extends React.Component {
| \`\`\`bash | \`\`\`bash
| docker run --rm \\ | docker run --rm \\
| -v \${PWD}:/local openapitools/openapi-generator-cli generate \\ | -v \${PWD}:/local openapitools/openapi-generator-cli generate \\
| -i petstore.yaml \\ | -i /local/petstore.yaml \\
| -g go \\ | -g go \\
| -o /local/out/go | -o /local/out/go
| \`\`\` | \`\`\`