@@ -46,9 +46,7 @@ Definitely!
46
46
- [ 1.2 - Artifacts on Maven Central] ( #12---artifacts-on-maven-central )
47
47
- [ 1.3 - Download JAR] ( #13---download-jar )
48
48
- [ 1.4 - Build Projects] ( #14---build-projects )
49
- - [ 1.5 - Homebrew] ( #15---homebrew )
50
- - [ 1.6 - Docker] ( #16---docker )
51
- - [ 1.7 - NPM] ( #17---npm )
49
+ - [ 1.5 - Docker] ( #15---docker )
52
50
- [ 2 - Getting Started] ( #2---getting-started )
53
51
- [ 3 - Usage] ( #3---usage )
54
52
- [ 3.1 - Customization] ( #31---customization )
@@ -168,12 +166,11 @@ The default build contains minimal static analysis (via CheckStyle). To run your
168
166
mvn -Pstatic-analysis clean install
169
167
```
170
168
171
- ### [ 1.6 - Docker] ( #table-of-contents )
169
+ ### [ 1.5 - Docker] ( #table-of-contents )
172
170
173
171
#### Public Pre-built Docker images
174
172
175
- - [ https://hub.docker.com/r/openapitools/openapi-json-schema-generator-cli/ ] ( https://hub.docker.com/r/openapitools/openapi-json-schema-generator-cli/ ) (official CLI)
176
- - [ https://hub.docker.com/r/openapitools/openapi-json-schema-generator-online/ ] ( https://hub.docker.com/r/openapitools/openapi-json-schema-generator-online/ ) (official web service)
173
+ - [ https://hub.docker.com/r/openapjsonschematools/openapi-json-schema-generator-cli/ ] ( https://hub.docker.com/r/openapjsonschematools/openapi-json-schema-generator-cli/ ) (official CLI)
177
174
178
175
#### OpenAPI JSON Schema Generator CLI Docker Image
179
176
@@ -184,8 +181,8 @@ To generate code with this image, you'll need to mount a local location as a vol
184
181
Example:
185
182
186
183
``` sh
187
- docker run --rm -v " ${PWD} :/local" openapitools /openapi-json-schema-generator-cli generate \
188
- -i https://raw.githubusercontent.com/openapitools /openapi-json-schema-generator/master/modules/openapi-json-schema-generator/src/test/resources/3_0/petstore.yaml \
184
+ docker run --rm -v " ${PWD} :/local" openapjsonschematools /openapi-json-schema-generator-cli generate \
185
+ -i https://raw.githubusercontent.com/openapjsonschematools /openapi-json-schema-generator/master/modules/openapi-json-schema-generator/src/test/resources/3_0/petstore.yaml \
189
186
-g python \
190
187
-o /local/out/python
191
188
```
@@ -233,7 +230,7 @@ in the docker container. It also maps `~/.m2/repository` to the appropriate cont
233
230
To execute ` mvn package ` :
234
231
235
232
``` sh
236
- git clone https://github.com/openapitools /openapi-json-schema-generator
233
+ git clone https://github.com/openapi-json-schema-tools /openapi-json-schema-generator
237
234
cd openapi-json-schema-generator
238
235
./run-in-docker.sh mvn package
239
236
```
@@ -267,38 +264,14 @@ Right now: no solution for this one :|
267
264
#### Run Docker in Vagrant
268
265
Prerequisite: install [ Vagrant] ( https://www.vagrantup.com/downloads.html ) and [ VirtualBox] ( https://www.virtualbox.org/wiki/Downloads ) .
269
266
``` sh
270
- git clone https://github.com/openapitools /openapi-json-schema-generator.git
267
+ git clone https://github.com/openapi-json-schema-tools /openapi-json-schema-generator.git
271
268
cd openapi-json-schema-generator
272
269
vagrant up
273
270
vagrant ssh
274
271
cd /vagrant
275
272
./run-in-docker.sh mvn package
276
273
```
277
274
278
- ### [ 1.7 - NPM] ( #table-of-contents )
279
-
280
- There is also an [ NPM package wrapper] ( https://www.npmjs.com/package/@openapitools/openapi-json-schema-generator-cli ) available for different platforms (e.g. Linux, Mac, Windows). (JVM is still required)
281
- Please see the [ project's README] ( https://github.com/openapitools/openapi-json-schema-generator-cli ) there for more information.
282
-
283
- Install it globally to get the CLI available on the command line:
284
-
285
- ``` sh
286
- npm install @openapitools/openapi-json-schema-generator-cli -g
287
- openapi-json-schema-generator-cli version
288
- ```
289
-
290
- <!-- RELEASE_VERSION -->
291
- To use a specific version of "openapi-json-schema-generator-cli"
292
-
293
- ``` sh
294
- openapi-json-schema-generator-cli version-manager set 6.1.0
295
- ```
296
-
297
- Or install it as dev-dependency:
298
-
299
- ``` sh
300
- npm install @openapitools/openapi-json-schema-generator-cli -D
301
- ```
302
275
<!-- /RELEASE_VERSION -->
303
276
## [ 2 - Getting Started] ( #table-of-contents )
304
277
0 commit comments