From 28e9cf5d3c1457cd6f8618989eb3c25275959598 Mon Sep 17 00:00:00 2001 From: Bruno Clermont Date: Wed, 9 Oct 2019 00:12:15 +0800 Subject: [PATCH] fix path to input (#4094) --- docs/installation.md | 2 +- website/pages/en/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index 64335db08f..0c555d1350 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -68,7 +68,7 @@ Here's an example generating a Go client: ```bash docker run --rm \ -v ${PWD}:/local openapitools/openapi-generator-cli generate \ - -i petstore.yaml \ + -i /local/petstore.yaml \ -g go \ -o /local/out/go ``` diff --git a/website/pages/en/index.js b/website/pages/en/index.js index 1ac295e4d6..9111b5efcd 100755 --- a/website/pages/en/index.js +++ b/website/pages/en/index.js @@ -158,7 +158,7 @@ class Index extends React.Component { | \`\`\`bash | docker run --rm \\ | -v \${PWD}:/local openapitools/openapi-generator-cli generate \\ - | -i petstore.yaml \\ + | -i /local/petstore.yaml \\ | -g go \\ | -o /local/out/go | \`\`\`