diff --git a/README.md b/README.md index 25affab334d..52477078b7f 100644 --- a/README.md +++ b/README.md @@ -436,7 +436,7 @@ openapi-generator-cli version To use a specific version of "openapi-generator-cli" ```sh -openapi-generator-cli version-manager set 7.0.1 +openapi-generator-cli version-manager set 7.7.0 ``` Or install it as dev-dependency: @@ -460,7 +460,7 @@ java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generat (if you're on Windows, replace the last command with `java -jar modules\openapi-generator-cli\target\openapi-generator-cli.jar generate -i https://raw.githubusercontent.com/openapitools/openapi-generator/master/modules/openapi-generator/src/test/resources/3_0/petstore.yaml -g php -o c:\temp\php_api_client`) -You can also download the JAR (latest release) directly from [maven.org](https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.0.1/openapi-generator-cli-7.0.1.jar) +You can also download the JAR (latest release) directly from [maven.org](https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.7.0/openapi-generator-cli-7.7.0.jar) To get a list of **general** options available, please run `java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar help generate` @@ -576,9 +576,9 @@ Please refer to [online.md](docs/online.md) on how to run and use the `openapi-g ### [3.4 - License information on Generated Code](#table-of-contents) -The OpenAPI Generator project is intended as a benefit for users of the Open API Specification. The project itself has the [License](#license) as specified. In addition, please understand the following points: +The OpenAPI Generator project is intended as a benefit for users of the Open API Specification. The project itself has the [License](#7---license) as specified. In addition, please understand the following points: -* The templates included with this project are subject to the [License](#license). +* The templates included with this project are subject to the [License](#7---license). * Generated code is intentionally _not_ subject to the parent project license 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. @@ -943,7 +943,7 @@ Here are some companies/projects (alphabetical order) using OpenAPI Generator in What's the design philosophy or principle behind OpenAPI Generator? -We focus on developer experience. The generators should produce code, config, documentation, and more that are easily understandable and consumable by users. We focused on simple use cases to start with (bottom-up approach). Since then the project and the community have grown a lot: 300k weekly downloads via NPM CLI wrapper, 20M downloads via openapi-generator-cli docker image just to highlight a few. We've gradually supported more features (e.g. oneOf, anyOf introduced in OpenAPI 3.0) in various generators and we will continue this approach to deliver something based on our understanding of user demand and what they want, and continue to add support of new features introduced in OpenAPI specification (such as v3.1 and future versions of the OpenAPI specification). +We focus on developer experience. The generators should produce code, config, documentation, and more that are easily understandable and consumable by users. We focused on simple use cases to start with (bottom-up approach). Since then the project and the community have grown a lot: 600k weekly downloads via NPM CLI wrapper, 30M downloads via openapi-generator-cli docker image just to highlight a few. We've gradually supported more features (e.g. oneOf, anyOf introduced in OpenAPI 3.0) in various generators and we will continue this approach to deliver something based on our understanding of user demand and what they want, and continue to add support of new features introduced in OpenAPI specification (such as v3.1 and future versions of the OpenAPI specification). ### [6.1 - OpenAPI Generator Core Team](#table-of-contents) diff --git a/bin/utils/release/release_version_update_docs.sh b/bin/utils/release/release_version_update_docs.sh index b2fb2d16d04..cb95bc2a276 100755 --- a/bin/utils/release/release_version_update_docs.sh +++ b/bin/utils/release/release_version_update_docs.sh @@ -107,6 +107,7 @@ declare -a xml_files=( "${root}/modules/openapi-generator-gradle-plugin/samples/local-spec/README.md" "${root}/README.md" "${root}/docs/installation.md" + "${root}/docs/plugins.md" "${root}/website/src/pages/index.js" ) diff --git a/docs/installation.md b/docs/installation.md index 69e59a70523..db33766926d 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -22,7 +22,7 @@ npm install @openapitools/openapi-generator-cli -g To install a specific version of the tool, pass the version during installation: ```bash -openapi-generator-cli version-manager set 5.3.0 +openapi-generator-cli version-manager set 7.7.0 ``` To install the tool as a dev dependency in your current project: diff --git a/docs/plugins.md b/docs/plugins.md index 62e71586e90..e8e1b65c364 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -11,13 +11,12 @@ A Maven plugin to support the OpenAPI generator project Add to your `build->plugins` section (default phase is `generate-sources` phase) + ```xml org.openapitools openapi-generator-maven-plugin - - 6.6.0 - + 7.7.0 @@ -34,6 +33,7 @@ Add to your `build->plugins` section (default phase is `generate-sources` phase) ``` + Followed by: diff --git a/modules/openapi-generator-maven-plugin/examples/camel.xml b/modules/openapi-generator-maven-plugin/examples/camel.xml deleted file mode 100644 index 4e3d945c513..00000000000 --- a/modules/openapi-generator-maven-plugin/examples/camel.xml +++ /dev/null @@ -1,198 +0,0 @@ - - 4.0.0 - org.openapitools - sample-project - jar - 1.0-SNAPSHOT - sample-project - https://maven.apache.org - - - - - - - org.openapitools - openapi-generator-maven-plugin - - 5.3.1-SNAPSHOT - - - - camel-server - - generate - - - - ${project.basedir}/swagger.yaml - - - camel - - - - - - auto - true - true - json.out.disableFeatures=WRITE_DATES_AS_TIMESTAMPS - true - true - true - - true - true - - - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.8.1 - - 1.8 - 1.8 - none - - - - - - - - - sonatype-snapshots - https://oss.sonatype.org/content/repositories/snapshots/ - - - - - - org.apache.camel - camel-bom - 3.13.0 - pom - import - - - org.apache.camel.springboot - camel-spring-boot-bom - 3.13.0 - pom - import - - - org.springframework.boot - spring-boot-dependencies - 2.6.1 - pom - import - - - - - - - org.apache.camel.springboot - camel-spring-boot-starter - - - - org.apache.camel.springboot - camel-servlet-starter - - - - org.springframework.boot - spring-boot-starter-web - - - - org.openapitools - jackson-databind-nullable - 0.2.1 - - - io.swagger - swagger-annotations - 1.6.3 - - - io.swagger.core.v3 - swagger-annotations - 2.1.11 - - - com.fasterxml.jackson.datatype - jackson-datatype-jsr310 - 2.15.2 - - - com.fasterxml.jackson.datatype - jackson-datatype-jdk8 - 2.15.2 - - - org.apache.camel - camel-jackson - - - org.apache.camel - camel-jacksonxml - - - - org.apache.camel - camel-jaxb - - - org.apache.camel - camel-direct - - - - org.apache.camel - camel-bean-validator - - - - - com.mashape.unirest - unirest-java - 1.4.9 - test - - - - org.apache.camel - camel-test-spring-junit5 - test - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - - 1.5.8 - - 2.2.1.RELEASE - 2.8.0 - - diff --git a/website/src/pages/index.js b/website/src/pages/index.js index d43ff877e4e..5a46117a18b 100755 --- a/website/src/pages/index.js +++ b/website/src/pages/index.js @@ -147,7 +147,7 @@ const callouts = [ |npm install @openapitools/openapi-generator-cli -g | |# use a specific version of "openapi-generator-cli" - |openapi-generator-cli version-manager set 6.2.0 + |openapi-generator-cli version-manager set 7.7.0 | |# Or install it as dev-dependency in your node.js projects |npm install @openapitools/openapi-generator-cli -D