You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 25, 2024. It is now read-only.
See the different versions of the [openapi-json-schema-generator](https://search.maven.org/artifact/org.openapitools/openapi-json-schema-generator) artifact available on maven central.
See the different versions of the [openapi-json-schema-generator-cli](https://search.maven.org/artifact/org.openapitools/openapi-json-schema-generator-cli) artifact available on maven central.
* See the different versions of the [openapi-json-schema-generator-maven-plugin](https://search.maven.org/artifact/org.openapitools/openapi-json-schema-generator-maven-plugin) artifact available on maven central.
* See the different versions of the [openapi-json-schema-generator-gradle-plugin](https://search.maven.org/artifact/org.openapitools/openapi-json-schema-generator-gradle-plugin) artifact available on maven central.
For **Windows** users, you will need to install [wget](http://gnuwin32.sourceforge.net/packages/wget.htm) or you can use Invoke-WebRequest in PowerShell (3.0+), e.g.
After downloading the JAR, run `java -jar openapi-json-schema-generator-cli.jar help` to show the usage.
137
-
138
-
For Mac users, please make sure Java 8 is installed (Tips: run `java -version` to check the version), and export `JAVA_HOME` in order to use the supported Java version:
139
-
```sh
140
-
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
141
-
export PATH=${JAVA_HOME}/bin:$PATH
142
-
```
143
-
<!-- /RELEASE_VERSION -->
144
-
145
-
### [1.4 - Build Projects](#table-of-contents)
71
+
### [1.2 - Build Projects](#table-of-contents)
146
72
147
73
To build from source, you need the following installed and available in your `$PATH:`
148
74
@@ -166,7 +92,7 @@ The default build contains minimal static analysis (via CheckStyle). To run your
166
92
mvn -Pstatic-analysis clean install
167
93
```
168
94
169
-
### [1.5 - Docker](#table-of-contents)
95
+
### [1.3 - Docker](#table-of-contents)
170
96
171
97
#### Public Pre-built Docker images
172
98
@@ -182,7 +108,7 @@ Example:
182
108
183
109
```sh
184
110
docker run --rm -v "${PWD}:/local" openapjsonschematools/openapi-json-schema-generator-cli generate \
To generate a PHP client for [petstore.yaml](https://raw.githubusercontent.com/openapitools/openapi-json-schema-generator/master/modules/openapi-json-schema-generator/src/test/resources/3_0/petstore.yaml), please run the following
204
+
To generate a python client for [petstore.yaml](https://raw.githubusercontent.com/openapi-json-schema-tools/openapi-json-schema-generator/master/modules/openapi-json-schema-generator/src/test/resources/3_0/petstore.yaml), please run the following
(if you're on Windows, replace the last command with `java -jar modules\openapi-json-schema-generator-cli\target\openapi-json-schema-generator-cli.jar generate -i https://raw.githubusercontent.com/openapitools/openapi-json-schema-generator/master/modules/openapi-json-schema-generator/src/test/resources/3_0/petstore.yaml -g php -o c:\temp\php_api_client`)
214
+
(if you're on Windows, replace the last command with `java -jar modules\openapi-json-schema-generator-cli\target\openapi-json-schema-generator-cli.jar generate -i https://raw.githubusercontent.com/openapi-json-schema-tools/openapi-json-schema-generator/master/modules/openapi-json-schema-generator/src/test/resources/3_0/petstore.yaml -g python -o c:\temp\python_api_client`)
289
215
290
216
<!-- RELEASE_VERSION -->
291
217
You can also download the JAR (latest release) directly from [maven.org](https://repo1.maven.org/maven2/org/openapitools/openapi-json-schema-generator-cli/6.1.0/openapi-json-schema-generator-cli-6.1.0.jar)
@@ -397,11 +323,16 @@ The OpenAPI JSON Schema Generator project is intended as a benefit for users of
397
323
398
324
When code is generated from this project, it shall be considered **AS IS** and owned by the user of the software. There are no warranties--expressed or implied--for generated code. You can do what you wish with it, and once generated, the code is your responsibility and subject to the licensing terms that you deem appropriate.
399
325
400
-
### [6 - History of OpenAPI JSON Schema Generator](#table-of-contents)
326
+
## [4 - Companies/Projects using OpenAPI JSON Schema Generator](#table-of-contents)
327
+
328
+
## [5 - About Us](#table-of-contents)
329
+
330
+
## [6 - History of OpenAPI JSON Schema Generator](#table-of-contents)
401
331
402
332
OpenAPI JSON Schema Generator is based on OpenAPI Generator v6.2.0. It focuses on JSON schema support and the output is designed to be 100% compliance with JSON Schema.
0 commit comments