forked from OpenAPITools/openapi-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into generator-validation-option
* master: (26 commits) Prepare 3.0.1 release (OpenAPITools#280) [typescript-angular] strict type checking (OpenAPITools#218) [C++ server] Adjust the names (script, sample folder, generator) to lang option (OpenAPITools#250) Removed warnings for packages included in SDK for Net Core 2.0 (OpenAPITools#269) [cli] Completions command for suggestions (OpenAPITools#213) [Java][RestTemplate] Fix query parameter URL encoding (OpenAPITools#260) [cpp-qt5] Remove std::shared_ptr from Qt5 (OpenAPITools#267) Adds some links to the README (OpenAPITools#261) Update sec.gpg.enc to binary encoded secret Add gpg --check-trustdb, limit gpg to master Re-do encrypted gpg and reference in settings.xml Fix trailing semicolons in after_success Travis CI scripts Use ubuntu keyserver instead of mit (due to timeout) [gradle] Plugin release management (OpenAPITools#201) Updates small typo in qna.md (OpenAPITools#262) Fix ModelUtils.getUnusedSchema() (OpenAPITools#253) Add JaxRS to bin/ensure-up-to-date (OpenAPITools#248) feat(security): add cookie-auth support (OpenAPITools#240) Add 'unblu inc.' to company list (OpenAPITools#246) put company list in alphabetical order (OpenAPITools#244) ...
- Loading branch information
Showing
450 changed files
with
8,396 additions
and
1,801 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
<artifactId>openapi-generator-project</artifactId> | ||
<packaging>pom</packaging> | ||
<name>openapi-generator-project</name> | ||
<version>3.0.1-SNAPSHOT</version> | ||
<version>3.0.1</version> | ||
<url>https://github.com/openapi-tools/openapi-generator</url> | ||
<scm> | ||
<connection>scm:git:[email protected]:openapi-tools/openapi-generator.git</connection> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
<artifactId>openapi-generator-project</artifactId> | ||
<packaging>pom</packaging> | ||
<name>openapi-generator-project</name> | ||
<version>3.0.1-SNAPSHOT</version> | ||
<version>3.0.1</version> | ||
<url>https://github.com/openapitools/openapi-generator</url> | ||
<scm> | ||
<connection>scm:git:[email protected]:openapitools/openapi-generator.git</connection> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
<artifactId>openapi-generator-project</artifactId> | ||
<packaging>pom</packaging> | ||
<name>openapi-generator-project</name> | ||
<version>3.0.1-SNAPSHOT</version> | ||
<version>3.0.1</version> | ||
<url>https://github.com/openapitools/openapi-generator</url> | ||
<scm> | ||
<connection>scm:git:[email protected]:openapitools/openapi-generator.git</connection> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
<artifactId>openapi-generator-project</artifactId> | ||
<packaging>pom</packaging> | ||
<name>openapi-generator-project</name> | ||
<version>3.0.1-SNAPSHOT</version> | ||
<version>3.0.1</version> | ||
<url>https://github.com/openapitools/openapi-generator</url> | ||
<scm> | ||
<connection>scm:git:[email protected]:openapitools/openapi-generator.git</connection> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,10 +6,10 @@ | |
</parent> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>org.openapitools</groupId> | ||
<artifactId>openapi-generator-project</artifactId> | ||
<artifactId>openapi-generator-shippable-pom</artifactId> | ||
<packaging>pom</packaging> | ||
<name>openapi-generator-project</name> | ||
<version>3.0.1-SNAPSHOT</version> | ||
<name>openapi-generator-shippable-pom</name> | ||
<version>3.0.1</version> | ||
<url>https://github.com/openapitools/openapi-generator</url> | ||
<scm> | ||
<connection>scm:git:[email protected]:openapitools/openapi-generator.git</connection> | ||
|
@@ -858,10 +858,7 @@ | |
</profile> | ||
</profiles> | ||
<modules> | ||
<module>../modules/openapi-generator</module> | ||
<module>../modules/openapi-generator-cli</module> | ||
<module>../modules/openapi-generator-maven-plugin</module> | ||
<module>../modules/openapi-generator-online</module> | ||
<module>../</module> | ||
</modules> | ||
<reporting> | ||
<outputDirectory>target/site</outputDirectory> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/sh | ||
# script to run all generators extending AbstractJavaJAXRSServerCodegen | ||
|
||
./bin/jaxrs-petstore-server-datelib-j8.sh | ||
./bin/jaxrs-cxf-cdi-petstore-server.sh | ||
./bin/jaxrs-cxf-petstore-server-annotated-base-path.sh | ||
./bin/jaxrs-cxf-petstore-server-non-spring-application.sh | ||
./bin/jaxrs-cxf-petstore-server.sh | ||
./bin/jaxrs-jersey1-petstore-server.sh | ||
./bin/jaxrs-jersey1-usetags-petstore-server.sh | ||
./bin/jaxrs-petstore-server.sh | ||
./bin/jaxrs-resteasy-eap-java8-petstore-server.sh | ||
./bin/jaxrs-resteasy-eap-joda-petstore-server.sh | ||
./bin/jaxrs-resteasy-eap-petstore-server.sh | ||
./bin/jaxrs-resteasy-joda-petstore-server.sh | ||
./bin/jaxrs-resteasy-petstore-server.sh | ||
./bin/jaxrs-spec-petstore-server-interface.sh | ||
./bin/jaxrs-spec-petstore-server.sh | ||
./bin/jaxrs-usetags-petstore-server.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
#!/bin/bash | ||
# | ||
# usage: ./bin/utils/release_version_update.sh 3.0.1-SNAPSHOT 3.0.1 | ||
# | ||
# Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech) | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
if [[ "$1" != "" ]]; then | ||
FROM="$1" | ||
else | ||
echo "Missing argument. Usage e.g.: ./bin/utils/release_version_update.sh 3.0.1-SNAPSHOT 3.0.1" | ||
exit 1; | ||
fi | ||
|
||
if [[ "$2" != "" ]]; then | ||
TO="$2" | ||
else | ||
echo "Missing argument. Usage e.g.: ./bin/utils/release_version_update.sh 3.0.1-SNAPSHOT 3.0.1" | ||
exit 1; | ||
fi | ||
|
||
|
||
echo "IMPORTANT: this script works on Mac only" | ||
echo "Release preparation: replacing $FROM with $TO in different files" | ||
|
||
declare -a files=("CI/pom.xml.bash" | ||
"CI/pom.xml.circleci" | ||
"CI/pom.xml.circleci.java7" | ||
"CI/pom.xml.ios" | ||
"CI/pom.xml.shippable" | ||
"modules/openapi-generator-cli/pom.xml" | ||
"modules/openapi-generator-gradle-plugin/README.adoc" | ||
"modules/openapi-generator-gradle-plugin/gradle.properties" | ||
"modules/openapi-generator-gradle-plugin/pom.xml" | ||
"modules/openapi-generator-gradle-plugin/samples/local-spec/build.gradle" | ||
"modules/openapi-generator-maven-plugin/pom.xml" | ||
"modules/openapi-generator-online/pom.xml" | ||
"modules/openapi-generator/pom.xml" | ||
"modules/openapi-generator-online/Dockerfile" | ||
"pom.xml" | ||
"README.md") | ||
|
||
for filename in "${files[@]}"; do | ||
# e.g. sed -i '' "s/3.0.1-SNAPSHOT/3.0.1/g" CI/pom.xml.bash | ||
#echo "Running command: sed -i '' "s/$FROM/$TO/g" $filename" | ||
if sed -i '' "s/$FROM/$TO/g" $filename; then | ||
echo "Updated $filename successfully!" | ||
else | ||
echo "ERROR: Failed to update $filename with the following command" | ||
echo "sed -i '' \"s/$FROM/$TO/g\" $filename" | ||
fi | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.