Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Commit f272f75

Browse files
committed
Updates readme
1 parent 0ed4d55 commit f272f75

File tree

2 files changed

+7
-41
lines changed

2 files changed

+7
-41
lines changed

Makefile

Lines changed: 0 additions & 7 deletions
This file was deleted.

README.md

Lines changed: 7 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ This repo is based on v6.2.0 of OpenAPI Generator. This project focuses on makin
3939
- [1.2 - Artifacts on Maven Central](#12---artifacts-on-maven-central)
4040
- [1.3 - Download JAR](#13---download-jar)
4141
- [1.4 - Build Projects](#14---build-projects)
42-
- [1.5 - Homebrew](#15---homebrew)
43-
- [1.6 - Docker](#16---docker)
44-
- [1.7 - NPM](#17---npm)
42+
- [1.5 - Docker](#15---docker)
4543
- [2 - Getting Started](#2---getting-started)
4644
- [3 - Usage](#3---usage)
4745
- [3.1 - Customization](#31---customization)
@@ -161,12 +159,11 @@ The default build contains minimal static analysis (via CheckStyle). To run your
161159
mvn -Pstatic-analysis clean install
162160
```
163161

164-
### [1.6 - Docker](#table-of-contents)
162+
### [1.5 - Docker](#table-of-contents)
165163

166164
#### Public Pre-built Docker images
167165

168-
- [https://hub.docker.com/r/openapitools/openapi-json-schema-generator-cli/](https://hub.docker.com/r/openapitools/openapi-json-schema-generator-cli/) (official CLI)
169-
- [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)
166+
- [https://hub.docker.com/r/openapjsonschematools/openapi-json-schema-generator-cli/](https://hub.docker.com/r/openapjsonschematools/openapi-json-schema-generator-cli/) (official CLI)
170167

171168
#### OpenAPI JSON Schema Generator CLI Docker Image
172169

@@ -177,8 +174,8 @@ To generate code with this image, you'll need to mount a local location as a vol
177174
Example:
178175

179176
```sh
180-
docker run --rm -v "${PWD}:/local" openapitools/openapi-json-schema-generator-cli generate \
181-
-i https://raw.githubusercontent.com/openapitools/openapi-json-schema-generator/master/modules/openapi-json-schema-generator/src/test/resources/3_0/petstore.yaml \
177+
docker run --rm -v "${PWD}:/local" openapjsonschematools/openapi-json-schema-generator-cli generate \
178+
-i https://raw.githubusercontent.com/openapjsonschematools/openapi-json-schema-generator/master/modules/openapi-json-schema-generator/src/test/resources/3_0/petstore.yaml \
182179
-g python \
183180
-o /local/out/python
184181
```
@@ -226,7 +223,7 @@ in the docker container. It also maps `~/.m2/repository` to the appropriate cont
226223
To execute `mvn package`:
227224

228225
```sh
229-
git clone https://github.com/openapitools/openapi-json-schema-generator
226+
git clone https://github.com/openapi-json-schema-tools/openapi-json-schema-generator
230227
cd openapi-json-schema-generator
231228
./run-in-docker.sh mvn package
232229
```
@@ -260,38 +257,14 @@ Right now: no solution for this one :|
260257
#### Run Docker in Vagrant
261258
Prerequisite: install [Vagrant](https://www.vagrantup.com/downloads.html) and [VirtualBox](https://www.virtualbox.org/wiki/Downloads).
262259
```sh
263-
git clone https://github.com/openapitools/openapi-json-schema-generator.git
260+
git clone https://github.com/openapi-json-schema-tools/openapi-json-schema-generator.git
264261
cd openapi-json-schema-generator
265262
vagrant up
266263
vagrant ssh
267264
cd /vagrant
268265
./run-in-docker.sh mvn package
269266
```
270267

271-
### [1.7 - NPM](#table-of-contents)
272-
273-
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)
274-
Please see the [project's README](https://github.com/openapitools/openapi-json-schema-generator-cli) there for more information.
275-
276-
Install it globally to get the CLI available on the command line:
277-
278-
```sh
279-
npm install @openapitools/openapi-json-schema-generator-cli -g
280-
openapi-json-schema-generator-cli version
281-
```
282-
283-
<!-- RELEASE_VERSION -->
284-
To use a specific version of "openapi-json-schema-generator-cli"
285-
286-
```sh
287-
openapi-json-schema-generator-cli version-manager set 6.1.0
288-
```
289-
290-
Or install it as dev-dependency:
291-
292-
```sh
293-
npm install @openapitools/openapi-json-schema-generator-cli -D
294-
```
295268
<!-- /RELEASE_VERSION -->
296269
## [2 - Getting Started](#table-of-contents)
297270

0 commit comments

Comments
 (0)