Skip to content

Commit b071881

Browse files
author
john lilley
authored
Merge pull request #2 from OpenAPITools/master
Catch up to mothership
2 parents a270b98 + 2184a8a commit b071881

File tree

900 files changed

+11010
-2099
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

900 files changed

+11010
-2099
lines changed

README.md

Lines changed: 36 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<div align="center">
44

5-
[Master](https://github.com/OpenAPITools/openapi-generator/tree/master) (`3.3.1`): [![Build Status](https://img.shields.io/travis/OpenAPITools/openapi-generator/master.svg?label=Integration%20Test)](https://travis-ci.org/OpenAPITools/openapi-generator)
5+
[Master](https://github.com/OpenAPITools/openapi-generator/tree/master) (`3.3.2`): [![Build Status](https://img.shields.io/travis/OpenAPITools/openapi-generator/master.svg?label=Integration%20Test)](https://travis-ci.org/OpenAPITools/openapi-generator)
66
[![Integration Test2](https://circleci.com/gh/OpenAPITools/openapi-generator.svg?style=shield)](https://circleci.com/gh/OpenAPITools/openapi-generator)
77
[![Run Status](https://api.shippable.com/projects/5af6bf74e790f4070084a115/badge?branch=master)](https://app.shippable.com/github/OpenAPITools/openapi-generator)
88
[![Windows Test](https://ci.appveyor.com/api/projects/status/github/openapitools/openapi-generator?branch=master&svg=true&passingText=Windows%20Test%20-%20OK&failingText=Windows%20Test%20-%20Fails)](https://ci.appveyor.com/project/WilliamCheng/openapi-generator-wh2wu)
@@ -47,7 +47,7 @@ OpenAPI Generator allows generation of API client libraries (SDK generation), se
4747

4848
| | Languages/Frameworks |
4949
|-|-|
50-
**API clients** | **ActionScript**, **Ada**, **Apex**, **Bash**, **C#** (.net 2.0, 3.5 or later), **C++** (cpprest, Qt5, Tizen), **Clojure**, **Dart (1.x, 2.x)**, **Elixir**, **Elm**, **Eiffel**, **Erlang**, **Go**, **Groovy**, **Haskell** (http-client, Servant), **Java** (Jersey1.x, Jersey2.x, OkHttp, Retrofit1.x, Retrofit2.x, Feign, RestTemplate, RESTEasy, Vertx, Google API Client Library for Java, Rest-assured, Spring 5 Web Client), **Kotlin**, **Lua**, **Node.js** (ES5, ES6, AngularJS with Google Closure Compiler annotations, Flow types) **Objective-C**, **Perl**, **PHP**, **PowerShell**, **Python**, **R**, **Ruby**, **Rust** (rust, rust-server), **Scala** (akka, http4s, scalaz, swagger-async-httpclient), **Swift** (2.x, 3.x, 4.x), **Typescript** (AngularJS, Angular (2.x - 6.x), Aurelia, Axios, Fetch, Inversify, jQuery, Node)
50+
**API clients** | **ActionScript**, **Ada**, **Apex**, **Bash**, **C#** (.net 2.0, 3.5 or later), **C++** (cpprest, Qt5, Tizen), **Clojure**, **Dart (1.x, 2.x)**, **Elixir**, **Elm**, **Eiffel**, **Erlang**, **Go**, **Groovy**, **Haskell** (http-client, Servant), **Java** (Jersey1.x, Jersey2.x, OkHttp, Retrofit1.x, Retrofit2.x, Feign, RestTemplate, RESTEasy, Vertx, Google API Client Library for Java, Rest-assured, Spring 5 Web Client), **Kotlin**, **Lua**, **Node.js** (ES5, ES6, AngularJS with Google Closure Compiler annotations, Flow types) **Objective-C**, **Perl**, **PHP**, **PowerShell**, **Python**, **R**, **Ruby**, **Rust** (rust, rust-server), **Scala** (akka, http4s, scalaz, swagger-async-httpclient), **Swift** (2.x, 3.x, 4.x), **Typescript** (AngularJS, Angular (2.x - 7.x), Aurelia, Axios, Fetch, Inversify, jQuery, Node)
5151
**Server stubs** | **Ada**, **C#** (ASP.NET Core, NancyFx), **C++** (Pistache, Restbed), **Erlang**, **Go** (net/http, Gin), **Haskell** (Servant), **Java** (MSF4J, Spring, Undertow, JAX-RS: CDI, CXF, Inflector, RestEasy, Play Framework, [PKMST](https://github.com/ProKarma-Inc/pkmst-getting-started-examples)), **Kotlin** (Spring Boot), **PHP** (Laravel, Lumen, Slim, Silex, [Symfony](https://symfony.com/), [Zend Expressive](https://github.com/zendframework/zend-expressive)), **Python** (Flask), **NodeJS**, **Ruby** (Sinatra, Rails5), **Rust** (rust-server), **Scala** ([Finch](https://github.com/finagle/finch), [Lagom](https://github.com/lagom/lagom), Scalatra)
5252
**API documentation generators** | **HTML**, **Confluence Wiki**
5353
**Configuration files** | [**Apache2**](https://httpd.apache.org/)
@@ -65,6 +65,7 @@ OpenAPI Generator allows generation of API client libraries (SDK generation), se
6565
- [1.4 - Build Projects](#14---build-projects)
6666
- [1.5 - Homebrew](#15---homebrew)
6767
- [1.6 - Docker](#16---docker)
68+
- [1.7 - NPM](#17---npm)
6869
- [2 - Getting Started](#2---getting-started)
6970
- [3 - Usage](#3---usage)
7071
- [3.1 - Customization](#31---customization)
@@ -89,8 +90,8 @@ OpenAPI Generator Version | Release Date | Notes
8990
---------------------------- | ------------ | -----
9091
4.0.0 (upcoming major release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/4.0.0-SNAPSHOT/)| TBD | Major release with breaking changes (no fallback)
9192
3.4.0 (upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/3.4.0-SNAPSHOT/)| 01.11.2018 | Minor release (breaking changes with fallbacks)
92-
3.3.2 (current master, upcoming patch release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/3.3.2-SNAPSHOT/) | 29.10.2018 | Bugfix release
93-
[3.3.1](https://github.com/OpenAPITools/openapi-generator/releases/tag/v3.3.1) (latest stable release) | 15.10.2018 | Bugfix release
93+
3.3.3 (current master, upcoming patch release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/3.3.3-SNAPSHOT/) | 15.11.2018 | Bugfix release
94+
[3.3.2](https://github.com/OpenAPITools/openapi-generator/releases/tag/v3.3.2) (latest stable release) | 31.10.2018 | Bugfix release
9495

9596
OpenAPI Spec compatibility: 1.0, 1.1, 1.2, 2.0, 3.0
9697

@@ -146,16 +147,16 @@ See the different versions of the [openapi-generator-cli](https://mvnrepository.
146147

147148
If you're looking for the latest stable version, you can grab it directly from Maven.org (Java 8 runtime at a minimum):
148149

149-
JAR location: `http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/3.3.1/openapi-generator-cli-3.3.1.jar`
150+
JAR location: `http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/3.3.2/openapi-generator-cli-3.3.2.jar`
150151

151152
For **Mac/Linux** users:
152153
```sh
153-
wget http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/3.3.1/openapi-generator-cli-3.3.1.jar -O openapi-generator-cli.jar
154+
wget http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/3.3.2/openapi-generator-cli-3.3.2.jar -O openapi-generator-cli.jar
154155
```
155156

156157
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.
157158
```
158-
Invoke-WebRequest -OutFile openapi-generator-cli.jar http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/3.3.1/openapi-generator-cli-3.3.1.jar
159+
Invoke-WebRequest -OutFile openapi-generator-cli.jar http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/3.3.2/openapi-generator-cli-3.3.2.jar
159160
```
160161

161162
After downloading the JAR, run `java -jar openapi-generator-cli.jar help` to show the usage.
@@ -346,6 +347,24 @@ cd /vagrant
346347
./run-in-docker.sh mvn package
347348
```
348349

350+
### [1.7 - NPM](#table-of-contents)
351+
352+
There is also an [NPM package wrapper](https://github.com/HarmoWatch/openapi-generator-cli), available.
353+
Please see the [docs](https://github.com/HarmoWatch/openapi-generator-cli) there for more information.
354+
355+
Install it globally to get the CLI available on the command line:
356+
357+
```sh
358+
npm install @harmowatch/openapi-generator-cli -g
359+
openapi-generator version
360+
```
361+
362+
Or you install it as dev-dependency like this:
363+
364+
```sh
365+
npm install @harmowatch/openapi-generator-cli -D
366+
```
367+
349368
## [2 - Getting Started](#table-of-contents)
350369

351370
To generate a PHP client for [petstore.yaml](https://raw.githubusercontent.com/openapitools/openapi-generator/master/modules/openapi-generator/src/test/resources/2_0/petstore.yaml), please run the following
@@ -482,6 +501,7 @@ Here are some companies/projects (alphabetical order) using OpenAPI Generator in
482501
- [Boxever](https://www.boxever.com/)
483502
- [GMO Pepabo](https://pepabo.com/en/)
484503
- [JustStar](https://www.juststarinfo.com)
504+
- [Klarna](https://www.klarna.com/)
485505
- [Myworkout](https://myworkout.com)
486506
- [Raiffeisen Schweiz Genossenschaft](https://www.raiffeisen.ch)
487507
- [RepreZen API Studio](https://www.reprezen.com/swagger-openapi-code-generation-api-first-microservices-enterprise-development)
@@ -501,6 +521,9 @@ Here are some companies/projects (alphabetical order) using OpenAPI Generator in
501521
- 2018/06/27 - [Lessons Learned from Leading an Open-Source Project Supporting 30+ Programming Languages](https://speakerdeck.com/wing328/lessons-learned-from-leading-an-open-source-project-supporting-30-plus-programming-languages) - [William Cheng](https://github.com/wing328) at [LinuxCon + ContainerCon + CloudOpen China 2018](http://bit.ly/2waDKKX)
502522
- 2018/07/19 - [OpenAPI Generator Contribution Quickstart - RingCentral Go SDK](https://medium.com/ringcentral-developers/openapi-generator-for-go-contribution-quickstart-8cc72bf37b53) by [John Wang](https://github.com/grokify)
503523
- 2018/08/22 - [OpenAPI Generatorのプロジェクト構成などのメモ](https://yinm.info/20180822/) by [Yusuke Iinuma](https://github.com/yinm)
524+
- 2018/10/31 - [A node package wrapper for openapi-generator](https://github.com/HarmoWatch/openapi-generator-cli)
525+
- 2018/11/03 - [OpenAPI Generator + golang + Flutter でアプリ開発](http://ryuichi111std.hatenablog.com/entry/2018/11/03/214005) by [Ryuichi Daigo](https://github.com/ryuichi111)
526+
504527

505528
## [6 - About Us](#table-of-contents)
506529

@@ -537,6 +560,7 @@ Here is a list of template creators:
537560
* Elm: @trenneman
538561
* Eiffel: @jvelilla
539562
* Erlang: @tsloughter
563+
* Erlang (PropEr): @jfacorro @robertoaloi
540564
* Groovy: @victorgit
541565
* Go: @wing328
542566
* Go (rewritten in 2.3.0): @antihax
@@ -568,8 +592,10 @@ Here is a list of template creators:
568592
* Swift: @tkqubo
569593
* Swift 3: @hexelon
570594
* Swift 4: @ehyche
571-
* TypeScript (Angular1): @mhardorf
595+
* TypeScript (Angular1): @mhardorf
572596
* TypeScript (Angular2): @roni-frantchi
597+
* TypeScript (Angular6): @akehir
598+
* TypeScript (Angular7): @topce
573599
* TypeScript (Axios): @nicokoenig
574600
* TypeScript (Fetch): @leonyu
575601
* TypeScript (jQuery): @bherila
@@ -656,7 +682,7 @@ If you want to join the committee, please kindly apply by sending an email to te
656682
| Eiffel | @jvelilla (2017/09) |
657683
| Elixir | |
658684
| Elm | @trenneman (2018/09) |
659-
| Erlang | @tsloughter (2017/11) |
685+
| Erlang | @tsloughter (2017/11) @jfacorro (2018/10) @robertoaloi (2018/10) |
660686
| Go | @antihax (2017/11) @bvwells (2017/12) @grokify (2018/07) @kemokemo (2018/09 |
661687
| Groovy | |
662688
| Haskell | |
@@ -674,7 +700,7 @@ If you want to join the committee, please kindly apply by sending an email to te
674700
| Rust | @frol (2017/07) @farcaller (2017/08) @bjgill (2017/12) |
675701
| Scala | @clasnake (2017/07) @jimschubert (2017/09) @shijinkui (2018/01) @ramzimaalej (2018/03) |
676702
| Swift | @jgavris (2017/07) @ehyche (2017/08) @Edubits (2017/09) @jaz-ah (2017/09) @d-date (2018/03) |
677-
| TypeScript | @TiFu (2017/07) @taxpon (2017/07) @sebastianhaas (2017/07) @kenisteward (2017/07) @Vrolijkx (2017/09) @macjohnny (2018/01) @nicokoenig (2018/09) |
703+
| TypeScript | @TiFu (2017/07) @taxpon (2017/07) @sebastianhaas (2017/07) @kenisteward (2017/07) @Vrolijkx (2017/09) @macjohnny (2018/01) @nicokoenig (2018/09) @topce (2018/10) |
678704

679705
### [6.3 - History of OpenAPI Generator](#table-of-contents)
680706

bin/erlang-petstore-proper.sh

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/bin/sh
2+
3+
SCRIPT="$0"
4+
echo "# START SCRIPT: $SCRIPT"
5+
6+
while [ -h "$SCRIPT" ] ; do
7+
ls=`ls -ld "$SCRIPT"`
8+
link=`expr "$ls" : '.*-> \(.*\)$'`
9+
if expr "$link" : '/.*' > /dev/null; then
10+
SCRIPT="$link"
11+
else
12+
SCRIPT=`dirname "$SCRIPT"`/"$link"
13+
fi
14+
done
15+
16+
if [ ! -d "${APP_DIR}" ]; then
17+
APP_DIR=`dirname "$SCRIPT"`/..
18+
APP_DIR=`cd "${APP_DIR}"; pwd`
19+
fi
20+
21+
executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
22+
23+
if [ ! -f "$executable" ]
24+
then
25+
mvn -B clean package
26+
fi
27+
28+
# if you've executed sbt assembly previously it will use that instead.
29+
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
30+
ags="generate -t modules/openapi-generator/src/main/resources/erlang-proper -DpackageName=petstore -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -g erlang-proper -o samples/client/petstore/erlang-proper $@"
31+
32+
java $JAVA_OPTS -jar $executable $ags

bin/mysql-schema-petstore.sh

100644100755
File mode changed.

bin/openapi3/elm-petstore.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ fi
2727

2828
# if you've executed sbt assembly previously it will use that instead.
2929
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
30-
ags="generate -i modules/openapi-generator/src/test/resources/3_0/petstore.yaml -g elm -o samples/client/petstore/elm $@"
30+
ags="generate -i modules/openapi-generator/src/test/resources/3_0/petstore.yaml -g elm -t modules/openapi-generator/src/main/resources/elm -o samples/openapi3/client/petstore/elm --additional-properties elmPrefixCustomTypeVariants=true $@"
3131

3232
java $JAVA_OPTS -jar $executable $ags

bin/rust-petstore.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ then
2626
fi
2727

2828
# if you've executed sbt assembly previously it will use that instead.
29-
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
30-
ags="generate -t modules/openapi-generator/src/main/resources/rust -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -g rust -o samples/client/petstore/rust -DpackageName=petstore_client $@"
29+
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
30+
ags="generate -t modules/openapi-generator/src/main/resources/rust -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -g rust -o samples/client/petstore/rust -DpackageName=petstore_client --library=hyper $@"
3131

3232
java ${JAVA_OPTS} -jar ${executable} ${ags}

bin/rust-reqwest-petstore.sh

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/bin/sh
2+
3+
SCRIPT="$0"
4+
echo "# START SCRIPT: $SCRIPT"
5+
6+
while [ -h "$SCRIPT" ] ; do
7+
ls=$(ls -ld "$SCRIPT")
8+
link=$(expr "$ls" : '.*-> \(.*\)$')
9+
if expr "$link" : '/.*' > /dev/null; then
10+
SCRIPT="$link"
11+
else
12+
SCRIPT=$(dirname "$SCRIPT")/"$link"
13+
fi
14+
done
15+
16+
if [ ! -d "${APP_DIR}" ]; then
17+
APP_DIR=$(dirname "$SCRIPT")/..
18+
APP_DIR=$(cd "${APP_DIR}"; pwd)
19+
fi
20+
21+
executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
22+
23+
if [ ! -f "$executable" ]
24+
then
25+
mvn -B clean package
26+
fi
27+
28+
# if you've executed sbt assembly previously it will use that instead.
29+
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
30+
ags="generate -t modules/openapi-generator/src/main/resources/rust -i modules/openapi-generator/src/test/resources/2_0/petstore.yaml -g rust -o samples/client/petstore/rust-reqwest -DpackageName=petstore_client --library=reqwest $@"
31+
32+
java ${JAVA_OPTS} -jar ${executable} ${ags}

bin/springboot-virtualan-petstore-server.sh

100644100755
File mode changed.

bin/utils/ensure-up-to-date

Lines changed: 37 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -10,34 +10,43 @@ echo "Please press CTRL+C to stop or the script will continue in 5 seconds."
1010
sleep 5
1111

1212
# LIST OF SCRIPTS:
13-
./bin/openapi3/ruby-client-petstore.sh > /dev/null 2>&1
14-
./bin/java-petstore-all.sh > /dev/null 2>&1
15-
./bin/java-jaxrs-petstore-server-all.sh > /dev/null 2>&1
16-
./bin/openapi3/jaxrs-jersey-petstore.sh > /dev/null 2>&1
17-
./bin/spring-all-pestore.sh > /dev/null 2>&1
18-
./bin/kotlin-client-petstore.sh > /dev/null 2>&1
19-
./bin/kotlin-client-string.sh > /dev/null 2>&1
20-
./bin/kotlin-client-threetenbp.sh > /dev/null 2>&1
21-
./bin/kotlin-server-petstore.sh > /dev/null 2>&1
22-
./bin/mysql-schema-petstore.sh > /dev/null 2>&1
23-
./bin/php-petstore.sh > /dev/null 2>&1
24-
./bin/php-silex-petstore-server.sh > /dev/null 2>&1
25-
./bin/php-symfony-petstore.sh > /dev/null 2>&1
26-
./bin/php-lumen-petstore-server.sh > /dev/null 2>&1
27-
./bin/php-slim-server-petstore.sh > /dev/null 2>&1
28-
./bin/php-ze-ph-petstore-server.sh > /dev/null 2>&1
29-
./bin/openapi3/php-petstore.sh > /dev/null 2>&1
30-
./bin/typescript-angular-petstore-all.sh > /dev/null 2>&1
31-
./bin/typescript-fetch-petstore-all.sh > /dev/null 2>&1
32-
./bin/typescript-node-petstore-all.sh > /dev/null 2>&1
33-
./bin/typescript-inversify-petstore.sh > /dev/null 2>&1
34-
./bin/rust-server-petstore.sh > /dev/null 2>&1
35-
./bin/haskell-http-client-petstore.sh > /dev/null 2>&1
36-
./bin/csharp-petstore.sh > /dev/null 2>&1
37-
./bin/meta-codegen.sh > /dev/null 2>&1
38-
./bin/utils/export_docs_generators.sh > /dev/null 2>&1
39-
./bin/go-petstore.sh > /dev/null 2>&1
40-
./bin/go-gin-petstore-server.sh > /dev/null 2>&1
13+
declare -a scripts=("./bin/openapi3/ruby-client-petstore.sh"
14+
"./bin/java-petstore-all.sh"
15+
"./bin/java-jaxrs-petstore-server-all.sh"
16+
"./bin/openapi3/jaxrs-jersey-petstore.sh"
17+
"./bin/spring-all-pestore.sh"
18+
"./bin/kotlin-client-petstore.sh"
19+
"./bin/kotlin-client-string.sh"
20+
"./bin/kotlin-client-threetenbp.sh"
21+
"./bin/kotlin-server-petstore.sh"
22+
"./bin/mysql-schema-petstore.sh"
23+
"./bin/php-petstore.sh"
24+
"./bin/php-silex-petstore-server.sh"
25+
"./bin/php-symfony-petstore.sh"
26+
"./bin/php-lumen-petstore-server.sh"
27+
"./bin/php-slim-server-petstore.sh"
28+
"./bin/php-ze-ph-petstore-server.sh"
29+
"./bin/openapi3/php-petstore.sh"
30+
"./bin/typescript-angular-petstore-all.sh"
31+
"./bin/typescript-fetch-petstore-all.sh"
32+
"./bin/typescript-node-petstore-all.sh"
33+
"./bin/typescript-inversify-petstore.sh"
34+
"./bin/rust-server-petstore.sh"
35+
"./bin/haskell-http-client-petstore.sh"
36+
"./bin/csharp-petstore.sh"
37+
"./bin/meta-codegen.sh"
38+
"./bin/utils/export_docs_generators.sh"
39+
"./bin/go-petstore.sh"
40+
"./bin/go-gin-petstore-server.sh")
41+
42+
for script in "${scripts[@]}"; do
43+
if eval $script > /dev/null 2>&1; then
44+
echo "Executed $script successfully!"
45+
else
46+
echo "ERROR: Failed to run $script"
47+
exit 1
48+
fi
49+
done
4150

4251
# Check:
4352
if [ -n "$(git status --porcelain)" ]; then

bin/utils/openapi-generator-cli.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jar=${artifactid}-${ver}.jar
4141
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4242

4343
if [ ! -f ${DIR}/${jar} ]; then
44-
repo="central::default::https://repo1.maven.apache.org/maven2"
44+
repo="central::default::https://repo1.maven.org/maven2/"
4545
if [[ ${ver} =~ ^.*-SNAPSHOT$ ]]; then
4646
repo="central::default::https://oss.sonatype.org/content/repositories/snapshots"
4747
fi

bin/utils/release_version_update.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,7 @@ fi
3333

3434
echo "Release preparation: replacing $FROM with $TO in different files"
3535

36-
declare -a files=("CI/pom.xml.bash"
37-
"CI/pom.xml.circleci"
38-
"CI/pom.xml.circleci.java7"
39-
"CI/pom.xml.ios"
40-
"modules/openapi-generator-cli/pom.xml"
36+
declare -a files=("modules/openapi-generator-cli/pom.xml"
4137
"modules/openapi-generator-gradle-plugin/gradle.properties"
4238
"modules/openapi-generator-gradle-plugin/pom.xml"
4339
"modules/openapi-generator-maven-plugin/pom.xml"

0 commit comments

Comments
 (0)