Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions apps/generator-cli/src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Initially the file has the following content:
"$schema": "node_modules/@openapitools/openapi-generator-cli/config.schema.json",
"spaces": 2,
"generator-cli": {
"version": "4.3.1" // or the current latest version ;)
"version": "7.7.0" // or the current latest version ;)
}
}
```
Expand All @@ -124,7 +124,7 @@ This configuration indicates the following:

- the json file shall be formatted using **2 spaces**
- the jar files shall be downloaded to *./my/custom/storage/dir*
- the generator-cli version 4.3.1 is used
- the generator-cli version 7.7.0 is used

Further it is also possible to configure generators, for example:

Expand All @@ -133,7 +133,7 @@ Further it is also possible to configure generators, for example:
"$schema": "node_modules/@openapitools/openapi-generator-cli/config.schema.json",
"spaces": 2,
"generator-cli": {
"version": "4.3.1",
"version": "7.7.0",
"storageDir": "~/my/custom/storage/dir", // optional
"generators": { // optional
"v2.0": { // any name you like (just printed to the console log or reference it using --generator-key)
Expand Down Expand Up @@ -185,7 +185,7 @@ If you're using a private maven registry you can configure the `downloadUrl` and
"$schema": "node_modules/@openapitools/openapi-generator-cli/config.schema.json",
"spaces": 2,
"generator-cli": {
"version": "5.3.0",
"version": "7.7.0",
"repository": {
"queryUrl": "https://private.maven.intern/solrsearch/select?q=g:${group.id}+AND+a:${artifact.id}&core=gav&start=0&rows=200",
"downloadUrl": "https://private.maven.intern/maven2/${groupId}/${artifactId}/${versionName}/${artifactId}-${versionName}.jar"
Expand Down Expand Up @@ -231,14 +231,14 @@ more information about the possible arguments and a detailed usage manual of the

```sh
npm install @openapitools/openapi-generator-cli@previous
npm i @openapitools/openapi-generator-cli@1.0.18-4.3.1
npm i @openapitools/openapi-generator-cli@2.9.0
```

or using yarn

```sh
yarn add @openapitools/openapi-generator-cli@previous
yarn add @openapitools/openapi-generator-cli@1.0.18-4.3.1
yarn add @openapitools/openapi-generator-cli@2.9.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these shouldn't be changed as these are instructions for installing previous version (1.x)

i'll file a new one to update the above.

```

## You like the package?
Expand Down