@openapitools/openapi-generator-cli 2.6.0 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +5 -1
  2. package/main.js +1 -1294
  3. package/package.json +7 -6
package/README.md CHANGED
@@ -10,7 +10,9 @@ OpenAPI Generator allows generation of API client libraries (SDK generation), se
10
10
  configuration automatically given an OpenAPI Spec (both 2.0 and 3.0 are supported). Please see
11
11
  [OpenAPITools/openapi-generator](https://github.com/OpenAPITools/openapi-generator).
12
12
 
13
- The OpenAPI Generator is a Java project. `openapi-generator-cli` will download the approprate JAR file and invoke the `java` executable to run the OpenAPI Generator. You must have the `java` binary executable available on your `PATH` for this to work.
13
+ The OpenAPI Generator is a Java project. `openapi-generator-cli` will download the appropriate JAR file and invoke the `java` executable to run the OpenAPI Generator. You must have the `java` binary executable available on your `PATH` for this to work.
14
+
15
+ If you find this tool useful, please consider sponsoring this project financially via https://opencollective.com/openapi_generator or directly to [Kay Schecker](https://github.com/sponsors/kay-schecker) (the author of this tool) :pray:
14
16
 
15
17
  ---
16
18
 
@@ -213,6 +215,8 @@ If the `version` property param is set it is not necessary to configure the `que
213
215
  }
214
216
  }
215
217
  ```
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`.
216
220
 
217
221
  ## Custom Generators
218
222