Skip to content

Commit eae0202

Browse files
nilskuhnwing328
andauthored
📝 ( ): improved README concerning useDocker option (#700)
Co-authored-by: William Cheng <wing328hk@gmail.com>
1 parent dfdf838 commit eae0202

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/generator-cli/src/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ If the `version` property param is set it is not necessary to configure the `que
215215
}
216216
}
217217
```
218+
If `useDocker` option is used, the spec file gets mounted to path `/local/<your-spec-file-location>` within container. So, if you would configure spec file as
219+
`-i openapi/my-api.yml` if running locally, with useDocker option set, you would have to configure it like this: `-i /local/openapi/my-api.yml`.
218220

219221
## Custom Generators
220222

0 commit comments

Comments
 (0)