diff --git a/bin/meta-codegen.sh b/bin/meta-codegen.sh
index b36e1697a19..b42f0beb74e 100755
--- a/bin/meta-codegen.sh
+++ b/bin/meta-codegen.sh
@@ -34,4 +34,4 @@ mvn verify -f samples/meta-codegen/lib/pom.xml
ags2="generate -l myClientCodegen -i modules/openapi-generator/src/test/resources/2_0/petstore.json -o samples/meta-codegen/usage $@"
-java $JAVA_OPTS -cp samples/meta-codegen/lib/target/myClientCodegen-swagger-codegen-1.0.0.jar:$executable org.openapitools.codegen.OpenAPIGenerator $ags2
+java $JAVA_OPTS -cp samples/meta-codegen/lib/target/myClientCodegen-openapi-generator-1.0.0.jar:$executable org.openapitools.codegen.OpenAPIGenerator $ags2
diff --git a/modules/openapi-generator/src/main/resources/Ada/README.mustache b/modules/openapi-generator/src/main/resources/Ada/README.mustache
index e6f363236b7..34702fb9252 100644
--- a/modules/openapi-generator/src/main/resources/Ada/README.mustache
+++ b/modules/openapi-generator/src/main/resources/Ada/README.mustache
@@ -2,7 +2,7 @@
## Overview
-This Ada server was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project.
+This Ada server was generated by the [openapi-generator](https://openapi-generator.tech) project.
By using the [OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification) from a remote server,
you can easily generate a server stub.
diff --git a/modules/openapi-generator/src/main/resources/Ada/gnat-project.mustache b/modules/openapi-generator/src/main/resources/Ada/gnat-project.mustache
index 71376d13649..7bf944cdc30 100644
--- a/modules/openapi-generator/src/main/resources/Ada/gnat-project.mustache
+++ b/modules/openapi-generator/src/main/resources/Ada/gnat-project.mustache
@@ -2,9 +2,9 @@
-- {{{appDescription}}}
-- OpenAPI spec version: 1.0.0
--
--- https://github.com/swagger-api/swagger-codegen.git
+-- https://openapi-generator.tech
--
--- NOTE: Auto generated by the swagger code generator program.
+-- NOTE: Auto generated by OpenAPI Generator (https://openapi-generator.tech).
with "config";
with "util";
with "util_http";
diff --git a/modules/openapi-generator/src/main/resources/Ada/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/Ada/licenseInfo.mustache
index 6c6c4b246e5..7a3e084fc04 100644
--- a/modules/openapi-generator/src/main/resources/Ada/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/Ada/licenseInfo.mustache
@@ -5,5 +5,5 @@
-- {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
--
-- NOTE: This package is auto generated by the swagger code generator {{{generatorVersion}}}.
--- https://github.com/swagger-api/swagger-codegen.git
+-- https://openapi-generator.tech
-- Do not edit the class manually.
\ No newline at end of file
diff --git a/modules/openapi-generator/src/main/resources/Ada/package-spec-level1.mustache b/modules/openapi-generator/src/main/resources/Ada/package-spec-level1.mustache
index e963c21d3bb..fffb5792bd5 100644
--- a/modules/openapi-generator/src/main/resources/Ada/package-spec-level1.mustache
+++ b/modules/openapi-generator/src/main/resources/Ada/package-spec-level1.mustache
@@ -1,7 +1,7 @@
-- {{{appName}}}
-- {{{appDescription}}}
-- ------------ EDIT NOTE ------------
--- This file was generated with swagger-codegen. You can modify it to implement
+-- This file was generated with openapi-generator. You can modify it to implement
-- the server. After you modify this file, you should add the following line
-- to the .openapi-generator-ignore file:
--
diff --git a/modules/openapi-generator/src/main/resources/Ada/package-spec-level2.mustache b/modules/openapi-generator/src/main/resources/Ada/package-spec-level2.mustache
index e1623b2b7fe..51bdc56d72a 100644
--- a/modules/openapi-generator/src/main/resources/Ada/package-spec-level2.mustache
+++ b/modules/openapi-generator/src/main/resources/Ada/package-spec-level2.mustache
@@ -1,7 +1,7 @@
-- {{{appName}}}
-- {{{appDescription}}}
-- ------------ EDIT NOTE ------------
--- This file was generated with swagger-codegen. You can modify it to implement
+-- This file was generated with openapi-generator. You can modify it to implement
-- the server. After you modify this file, you should add the following line
-- to the .openapi-generator-ignore file:
--
diff --git a/modules/openapi-generator/src/main/resources/Ada/server-body.mustache b/modules/openapi-generator/src/main/resources/Ada/server-body.mustache
index 31f2d22d245..08d3125087f 100644
--- a/modules/openapi-generator/src/main/resources/Ada/server-body.mustache
+++ b/modules/openapi-generator/src/main/resources/Ada/server-body.mustache
@@ -1,7 +1,7 @@
-- {{{appName}}}
-- {{{appDescription}}}
-- ------------ EDIT NOTE ------------
--- This file was generated with swagger-codegen. You can modify it to implement
+-- This file was generated with openapi-generator. You can modify it to implement
-- the server. After you modify this file, you should add the following line
-- to the .openapi-generator-ignore file:
--
diff --git a/modules/openapi-generator/src/main/resources/Ada/server-spec.mustache b/modules/openapi-generator/src/main/resources/Ada/server-spec.mustache
index bd9a7dfd8d0..4a39383a119 100644
--- a/modules/openapi-generator/src/main/resources/Ada/server-spec.mustache
+++ b/modules/openapi-generator/src/main/resources/Ada/server-spec.mustache
@@ -1,7 +1,7 @@
-- {{{appName}}}
-- {{{appDescription}}}
-- ------------ EDIT NOTE ------------
--- This file was generated with swagger-codegen. You can modify it to implement
+-- This file was generated with openapi-generator. You can modify it to implement
-- the server. After you modify this file, you should add the following line
-- to the .openapi-generator-ignore file:
--
diff --git a/modules/openapi-generator/src/main/resources/Eiffel/README.mustache b/modules/openapi-generator/src/main/resources/Eiffel/README.mustache
index 9143997024d..6dd0a1c902b 100644
--- a/modules/openapi-generator/src/main/resources/Eiffel/README.mustache
+++ b/modules/openapi-generator/src/main/resources/Eiffel/README.mustache
@@ -5,7 +5,7 @@
{{/appDescription}}
## Overview
-This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client.
+This API client was generated by the [openapi-generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client.
- API version: {{appVersion}}
- Package version: {{packageVersion}}
diff --git a/modules/openapi-generator/src/main/resources/Eiffel/noteinfo.mustache b/modules/openapi-generator/src/main/resources/Eiffel/noteinfo.mustache
index 5f321db5dec..99d77d54efd 100644
--- a/modules/openapi-generator/src/main/resources/Eiffel/noteinfo.mustache
+++ b/modules/openapi-generator/src/main/resources/Eiffel/noteinfo.mustache
@@ -5,10 +5,10 @@ note
{{#version}}OpenAPI spec version: {{{version}}}{{/version}}
{{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
- NOTE: This class is auto generated by the swagger code generator program.
+ NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Do not edit the class manually.
]"
date: "$Date$"
revision: "$Revision$"
- EIS:"Eiffel swagger codegen", "src=https://github.com/swagger-api/swagger-codegen.git", "protocol=uri"
\ No newline at end of file
+ EIS:"Eiffel openapi generator", "src=https://openapi-generator.tech", "protocol=uri"
\ No newline at end of file
diff --git a/modules/openapi-generator/src/main/resources/Groovy/build.gradle.mustache b/modules/openapi-generator/src/main/resources/Groovy/build.gradle.mustache
index 238f5e6e09f..2d8af263e08 100644
--- a/modules/openapi-generator/src/main/resources/Groovy/build.gradle.mustache
+++ b/modules/openapi-generator/src/main/resources/Groovy/build.gradle.mustache
@@ -4,7 +4,7 @@ apply plugin: 'eclipse'
def artifactory = 'buildserver.supportspace.com'
group = 'com.supportspace'
-archivesBaseName = 'swagger-gen-groovy'
+archivesBaseName = 'openapi-gen-groovy'
version = '0.1'
buildscript {
diff --git a/modules/openapi-generator/src/main/resources/Java/README.mustache b/modules/openapi-generator/src/main/resources/Java/README.mustache
index 6ec3efff471..888992bc914 100644
--- a/modules/openapi-generator/src/main/resources/Java/README.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/README.mustache
@@ -12,7 +12,7 @@
For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}})
{{/infoUrl}}
-*Automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen)*
+*Automatically generated by the [OpenAPI Generator](https://openapi-generator.tech)*
## Requirements
diff --git a/modules/openapi-generator/src/main/resources/Java/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/Java/git_push.sh.mustache
index a2d75234837..8a32e53995d 100755
--- a/modules/openapi-generator/src/main/resources/Java/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/feign/EncodingUtils.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/feign/EncodingUtils.mustache
index 6f43e1c3c2a..6bf2a0e4bfb 100644
--- a/modules/openapi-generator/src/main/resources/Java/libraries/feign/EncodingUtils.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/libraries/feign/EncodingUtils.mustache
@@ -31,7 +31,7 @@ public final class EncodingUtils {
* @param collectionFormat The Swagger collection format (eg, "csv", "tsv",
* "pipes"). See the
*
- * Swagger Spec for more details.
+ * OpenAPI Spec for more details.
* @return An object that will be correctly formatted by Feign.
*/
public static Object encodeCollection(Collection> parameters,
diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/resteasy/pom.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/resteasy/pom.mustache
index 456bee18137..26d2431919a 100644
--- a/modules/openapi-generator/src/main/resources/Java/libraries/resteasy/pom.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/libraries/resteasy/pom.mustache
@@ -7,9 +7,9 @@
{{artifactId}}
{{artifactVersion}}
- scm:git:git@github.com:swagger-api/swagger-mustache.git
- scm:git:git@github.com:swagger-api/swagger-codegen.git
- https://github.com/swagger-api/swagger-codegen
+ scm:git:git@github.com:openapitools/openapi-generator.git
+ scm:git:git@github.com:openapitools/openapi-generator.git
+ https://openapi-generator.tech
diff --git a/modules/openapi-generator/src/main/resources/Java/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/Java/licenseInfo.mustache
index 94c36dda3af..335db1c5938 100644
--- a/modules/openapi-generator/src/main/resources/Java/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
diff --git a/modules/openapi-generator/src/main/resources/Java/travis.mustache b/modules/openapi-generator/src/main/resources/Java/travis.mustache
index 70cb81a67c2..80a7f2fc66c 100644
--- a/modules/openapi-generator/src/main/resources/Java/travis.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/travis.mustache
@@ -1,5 +1,5 @@
#
-# Generated by: https://github.com/swagger-api/swagger-codegen.git
+# Generated by: https://openapi-generator.tech
#
language: java
jdk:
diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/README.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/README.mustache
index 8a5b690f9d0..05ee89f555f 100644
--- a/modules/openapi-generator/src/main/resources/JavaJaxRS/README.mustache
+++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/README.mustache
@@ -1,9 +1,9 @@
# Swagger Jersey generated server
## Overview
-This server was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the
-[OpenAPI-Spec](https://github.com/swagger-api/swagger-core/wiki) from a remote server, you can easily generate a server stub. This
-is an example of building a swagger-enabled JAX-RS server.
+This server was generated by the [openapi-generator](https://openapi-generator.tech) project. By using the
+[OpenAPI-Spec](https://openapis.org) from a remote server, you can easily generate a server stub. This
+is an example of building a OpenAPI-enabled JAX-RS server.
This example uses the [JAX-RS](https://jax-rs-spec.java.net/) framework.
diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf/licenseInfo.mustache
index 861d97234cf..bc4442af17e 100644
--- a/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/cxf/licenseInfo.mustache
@@ -5,8 +5,8 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*
* Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/licenseInfo.mustache
index 94c36dda3af..335db1c5938 100644
--- a/modules/openapi-generator/src/main/resources/JavaJaxRS/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/README.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/README.mustache
index b527625484e..d561f9554a4 100644
--- a/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/README.mustache
+++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/README.mustache
@@ -1,9 +1,9 @@
-# Swagger generated server
+# OpenAPI generated server
## Overview
-This server was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the
-[OpenAPI-Spec](https://github.com/swagger-api/swagger-core/wiki) from a remote server, you can easily generate a server stub. This
-is an example of building a swagger-enabled JAX-RS server.
+This server was generated by the [openapi-generator](https://openapi-generator.tech) project. By using the
+[OpenAPI-Spec](https://openapis.org) from a remote server, you can easily generate a server stub. This
+is an example of building a OpenAPI-enabled JAX-RS server.
This example uses the [JAX-RS](https://jax-rs-spec.java.net/) framework.
diff --git a/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/eap/README.mustache b/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/eap/README.mustache
index ee8d22236c5..220adb1daa4 100644
--- a/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/eap/README.mustache
+++ b/modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/eap/README.mustache
@@ -1,9 +1,9 @@
-# Swagger generated server
+# OpenAPI generated server
## Overview
-This server was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the
-[OpenAPI-Spec](https://github.com/swagger-api/swagger-core/wiki) from a remote server, you can easily generate a server stub. This
-is an example of building a swagger-enabled JAX-RS server.
+This server was generated by the [openapi-generator](https://openapi-generator.tech) project. By using the
+[OpenAPI-Spec](https://openapis.org) from a remote server, you can easily generate a server stub. This
+is an example of building a OpenAPI-enabled JAX-RS server.
This example uses the [JAX-RS](https://jax-rs-spec.java.net/) framework for Jboss Resteasy.
diff --git a/modules/openapi-generator/src/main/resources/JavaPlayFramework/application.mustache b/modules/openapi-generator/src/main/resources/JavaPlayFramework/application.mustache
index e160bb25409..0de3e0c668f 100644
--- a/modules/openapi-generator/src/main/resources/JavaPlayFramework/application.mustache
+++ b/modules/openapi-generator/src/main/resources/JavaPlayFramework/application.mustache
@@ -18,7 +18,7 @@
play.filters.headers.contentSecurityPolicy=null
{{#useBeanValidation}}
-# When using bean validation with the swagger api, the validator will check that every constraint is respected
+# When using bean validation with the OpenAPI API, the validator will check that every constraint is respected
# This is very useful when testing but could add a lot of overhead if you return a lot of data. Benchmark have
# shown that the time it takes to validate is exponential.
# If this is a concern in your application, or if you don't want to validate the output coming from your API for
diff --git a/modules/openapi-generator/src/main/resources/JavaSpring/api.mustache b/modules/openapi-generator/src/main/resources/JavaSpring/api.mustache
index cd7f261f981..e609ee7e158 100644
--- a/modules/openapi-generator/src/main/resources/JavaSpring/api.mustache
+++ b/modules/openapi-generator/src/main/resources/JavaSpring/api.mustache
@@ -1,6 +1,6 @@
/**
- * NOTE: This class is auto generated by the swagger code generator program ({{{generatorVersion}}}).
- * https://github.com/swagger-api/swagger-codegen
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) ({{{generatorVersion}}}).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
package {{package}};
diff --git a/modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-boot/README.mustache b/modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-boot/README.mustache
index 02d932b8aca..bbd6a6af6af 100644
--- a/modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-boot/README.mustache
+++ b/modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-boot/README.mustache
@@ -1,14 +1,14 @@
-{{^interfaceOnly}}# Swagger generated server
+{{^interfaceOnly}}# OpenAPI generated server
Spring Boot Server
## Overview
-This server was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project.
-By using the [OpenAPI-Spec](https://github.com/swagger-api/swagger-core), you can easily generate a server stub.
-This is an example of building a swagger-enabled server in Java using the SpringBoot framework.
+This server was generated by the [openapi-generator](https://openapi-generator.tech) project.
+By using the [OpenAPI-Spec](https://openapis.org), you can easily generate a server stub.
+This is an example of building a OpenAPI-enabled server in Java using the SpringBoot framework.
-The underlying library integrating swagger to SpringBoot is [springfox](https://github.com/springfox/springfox)
+The underlying library integrating OpenAPI to SpringBoot is [springfox](https://github.com/springfox/springfox)
Start your server as an simple java application
@@ -16,14 +16,14 @@ You can view the api documentation in swagger-ui by pointing to
http://localhost:8080/
Change default port value in application.properties{{/interfaceOnly}}{{#interfaceOnly}}
-# Swagger generated API stub
+# OpenAPI generated API stub
Spring Framework stub
## Overview
-This code was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project.
-By using the [OpenAPI-Spec](https://github.com/swagger-api/swagger-core), you can easily generate an API stub.
+This code was generated by the [openapi-generator](https://openapi-generator.tech) project.
+By using the [OpenAPI-Spec](https://openapis.org), you can easily generate an API stub.
This is an example of building API stub interfaces in Java using the Spring framework.
The stubs generated can be used in your existing Spring-MVC or Spring-Boot application to create controller endpoints
diff --git a/modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-cloud/README.mustache b/modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-cloud/README.mustache
index 3130b070174..6ace6383120 100644
--- a/modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-cloud/README.mustache
+++ b/modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-cloud/README.mustache
@@ -54,14 +54,14 @@ Then manually install the following JARs:
* target/lib/*.jar
{{/interfaceOnly}}
{{#interfaceOnly}}
-# Swagger generated API stub
+# OpenAPI generated API stub
Spring Framework stub
## Overview
-This code was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project.
-By using the [OpenAPI-Spec](https://github.com/swagger-api/swagger-core), you can easily generate an API stub.
+This code was generated by the [openapi-generator](https://openapi-generator.tech) project.
+By using the [OpenAPI-Spec](https://openapis.org), you can easily generate an API stub.
This is an example of building API stub interfaces in Java using the Spring framework.
The stubs generated can be used in your existing Spring-MVC or Spring-Boot application to create controller endpoints
diff --git a/modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-mvc/README.mustache b/modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-mvc/README.mustache
index aadf40435f9..a58a329673f 100644
--- a/modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-mvc/README.mustache
+++ b/modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-mvc/README.mustache
@@ -1,12 +1,12 @@
-# Swagger generated server
+# OpenAPI generated server
Spring MVC Server
## Overview
-This server was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [OpenAPI-Spec](https://github.com/swagger-api/swagger-core), you can easily generate a server stub. This is an example of building a swagger-enabled server in Java using the Spring MVC framework.
+This server was generated by the [openapi-generator](https://openapi-generator.tech) project. By using the [OpenAPI-Spec](https://openapis.org), you can easily generate a server stub. This is an example of building a OpenAPI-enabled server in Java using the Spring MVC framework.
-The underlying library integrating swagger to Spring-MVC is [springfox](https://github.com/springfox/springfox)
+The underlying library integrating OpenAPI to Spring-MVC is [springfox](https://github.com/springfox/springfox)
You can view the server in swagger-ui by pointing to
http://localhost:{{serverPort}}{{^contextPath}}/{{/contextPath}}{{#contextPath}}{{contextPath}}{{/contextPath}}/swagger-ui.html
\ No newline at end of file
diff --git a/modules/openapi-generator/src/main/resources/Javascript/README.mustache b/modules/openapi-generator/src/main/resources/Javascript/README.mustache
index 9ec9d7bed52..7511114fba5 100644
--- a/modules/openapi-generator/src/main/resources/Javascript/README.mustache
+++ b/modules/openapi-generator/src/main/resources/Javascript/README.mustache
@@ -4,7 +4,7 @@
{{#appDescription}}
{{{appDescription}}}
{{/appDescription}}
-This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
+This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: {{appVersion}}
- Package version: {{projectVersion}}
diff --git a/modules/openapi-generator/src/main/resources/Javascript/es6/README.mustache b/modules/openapi-generator/src/main/resources/Javascript/es6/README.mustache
index 16b849d32d8..e19f9652448 100644
--- a/modules/openapi-generator/src/main/resources/Javascript/es6/README.mustache
+++ b/modules/openapi-generator/src/main/resources/Javascript/es6/README.mustache
@@ -4,7 +4,7 @@
{{#appDescription}}
{{{appDescription}}}
{{/appDescription}}
-This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
+This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: {{appVersion}}
- Package version: {{projectVersion}}
diff --git a/modules/openapi-generator/src/main/resources/Javascript/es6/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/Javascript/es6/git_push.sh.mustache
index 086955d7ca5..3d582557526 100644
--- a/modules/openapi-generator/src/main/resources/Javascript/es6/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/Javascript/es6/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/Javascript/es6/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/Javascript/es6/licenseInfo.mustache
index 24aeae78864..9a6303a9c58 100644
--- a/modules/openapi-generator/src/main/resources/Javascript/es6/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/Javascript/es6/licenseInfo.mustache
@@ -5,8 +5,8 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*
*/
diff --git a/modules/openapi-generator/src/main/resources/Javascript/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/Javascript/git_push.sh.mustache
index 086955d7ca5..3d582557526 100755
--- a/modules/openapi-generator/src/main/resources/Javascript/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/Javascript/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/Javascript/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/Javascript/licenseInfo.mustache
index 58e656eead8..acbfa57d9ab 100644
--- a/modules/openapi-generator/src/main/resources/Javascript/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/Javascript/licenseInfo.mustache
@@ -9,10 +9,10 @@
* Contact: {{{infoEmail}}}
{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
*
- * Swagger Codegen version: {{{generatorVersion}}}
+ * OpenAPI Generator version: {{{generatorVersion}}}
*
* Do not edit the class manually.
*
diff --git a/modules/openapi-generator/src/main/resources/MSF4J/README.mustache b/modules/openapi-generator/src/main/resources/MSF4J/README.mustache
index 9c4267f9302..3b05f60938b 100644
--- a/modules/openapi-generator/src/main/resources/MSF4J/README.mustache
+++ b/modules/openapi-generator/src/main/resources/MSF4J/README.mustache
@@ -1,7 +1,7 @@
# Swagger MSF4J generated server
-WSO2 Microservices Framework for Java (MSF4J) is a lightweight high performance framework for developing & running microservices. WSO2 MSF4J is one of the highest performing lightweight Java microservices frameworks. Now swagger code generator will generate micro service skeleton from swagger definition. So you can use this project to convert your swagger definitions to micro service quickly. With this approach you can develop complete micro service within seconds from your swagger definition.
+WSO2 Microservices Framework for Java (MSF4J) is a lightweight high performance framework for developing & running microservices. WSO2 MSF4J is one of the highest performing lightweight Java microservices frameworks. Now swagger code generator will generate micro service skeleton from OpenAPI definition. So you can use this project to convert your OpenAPI definitions to micro service quickly. With this approach you can develop complete micro service within seconds from your OpenAPI definition.
MSF4J generator uses java-msf4j as the default library.
Before you build/run service replace .deploy(new PetApi()) with your actual service class name in Application.java file like .deploy(new ApisAPI()) then it will start that service. If you have multiple service classes add them in , separated manner.
diff --git a/modules/openapi-generator/src/main/resources/akka-scala/README.mustache b/modules/openapi-generator/src/main/resources/akka-scala/README.mustache
index eb2a9ba67ba..c684af83ab2 100644
--- a/modules/openapi-generator/src/main/resources/akka-scala/README.mustache
+++ b/modules/openapi-generator/src/main/resources/akka-scala/README.mustache
@@ -12,7 +12,7 @@
For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}})
{{/infoUrl}}
-*Automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen)*
+*Automatically generated by the [OpenAPI Generator](https://openapi-generator.tech)*
## Requirements
diff --git a/modules/openapi-generator/src/main/resources/akka-scala/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/akka-scala/licenseInfo.mustache
index 7d61c4ee055..59fecaff126 100644
--- a/modules/openapi-generator/src/main/resources/akka-scala/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/akka-scala/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
\ No newline at end of file
diff --git a/modules/openapi-generator/src/main/resources/android/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/android/git_push.sh.mustache
index f65b794638f..c344020eab5 100755
--- a/modules/openapi-generator/src/main/resources/android/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/android/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/android/libraries/volley/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/android/libraries/volley/git_push.sh.mustache
index 3e868678e81..90e9e063940 100644
--- a/modules/openapi-generator/src/main/resources/android/libraries/volley/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/android/libraries/volley/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/android/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/android/licenseInfo.mustache
index bbd8742e52a..469fb03940f 100644
--- a/modules/openapi-generator/src/main/resources/android/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/android/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
diff --git a/modules/openapi-generator/src/main/resources/android/pom.mustache b/modules/openapi-generator/src/main/resources/android/pom.mustache
index de1ee61bf6a..375a52a374c 100644
--- a/modules/openapi-generator/src/main/resources/android/pom.mustache
+++ b/modules/openapi-generator/src/main/resources/android/pom.mustache
@@ -7,9 +7,9 @@
{{artifactId}}
{{artifactVersion}}
- scm:git:git@github.com:swagger-api/swagger-mustache.git
- scm:git:git@github.com:swagger-api/swagger-codegen.git
- https://github.com/swagger-api/swagger-codegen
+ scm:git:git@github.com:openapitools/openapi-generator.git
+ scm:git:git@github.com:openapitools/openapi-generator.git
+ https://openapi-generator.tech
diff --git a/modules/openapi-generator/src/main/resources/apex/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/apex/git_push.sh.mustache
index a2d75234837..8a32e53995d 100644
--- a/modules/openapi-generator/src/main/resources/apex/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/apex/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/apex/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/apex/licenseInfo.mustache
index 94c36dda3af..335db1c5938 100644
--- a/modules/openapi-generator/src/main/resources/apex/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/apex/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
diff --git a/modules/openapi-generator/src/main/resources/apex/package.mustache b/modules/openapi-generator/src/main/resources/apex/package.mustache
index e13680359ba..e05b18ab7e3 100644
--- a/modules/openapi-generator/src/main/resources/apex/package.mustache
+++ b/modules/openapi-generator/src/main/resources/apex/package.mustache
@@ -3,7 +3,7 @@
{{appName}} API Client
Client library for calling the {{appName}} API.{{#appDescription}}
{{{appDescription}}}{{/appDescription}}
-Generated with Swagger Codegen (github.com/swagger-api/swagger-codegen)
+Generated with OpenAPI Generator (https://openapi-generator.tech)
{{#apiInfo}}
{{#apis}}
diff --git a/modules/openapi-generator/src/main/resources/aspnetcore/Startup.mustache b/modules/openapi-generator/src/main/resources/aspnetcore/Startup.mustache
index a6b414f8e17..07b1b221621 100644
--- a/modules/openapi-generator/src/main/resources/aspnetcore/Startup.mustache
+++ b/modules/openapi-generator/src/main/resources/aspnetcore/Startup.mustache
@@ -61,7 +61,7 @@ namespace {{packageName}}
Description = "{{#appName}}{{{appName}}}{{/appName}}{{^appName}}{{packageName}}{{/appName}} (ASP.NET Core 2.0)",
Contact = new Contact()
{
- Name = "{{#infoName}}{{{infoName}}}{{/infoName}}{{^infoName}}Swagger Codegen Contributors{{/infoName}}",
+ Name = "{{#infoName}}{{{infoName}}}{{/infoName}}{{^infoName}}OpenAPI-Generator Contributors{{/infoName}}",
Url = "{{#infoUrl}}{{{infoUrl}}}{{/infoUrl}}{{^infoUrl}}https://github.com/openapitools/openapi-generator{{/infoUrl}}",
Email = "{{#infoEmail}}{{{infoEmail}}}{{/infoEmail}}"
},
diff --git a/modules/openapi-generator/src/main/resources/aspnetcore/build.bat.mustache b/modules/openapi-generator/src/main/resources/aspnetcore/build.bat.mustache
index 7b6756bc287..c58e018bee3 100644
--- a/modules/openapi-generator/src/main/resources/aspnetcore/build.bat.mustache
+++ b/modules/openapi-generator/src/main/resources/aspnetcore/build.bat.mustache
@@ -1,4 +1,4 @@
-:: Generated by: https://github.com/swagger-api/swagger-codegen.git
+:: Generated by: https://openapi-generator.tech
::
@echo off
diff --git a/modules/openapi-generator/src/main/resources/aspnetcore/build.sh.mustache b/modules/openapi-generator/src/main/resources/aspnetcore/build.sh.mustache
index 561c2cb0812..29ee0e0b7ce 100644
--- a/modules/openapi-generator/src/main/resources/aspnetcore/build.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/aspnetcore/build.sh.mustache
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
-# Generated by: https://github.com/swagger-api/swagger-codegen.git
+# Generated by: https://openapi-generator.tech
#
dotnet restore src/{{packageName}}/ && \
diff --git a/modules/openapi-generator/src/main/resources/aspnetcore/partial_header.mustache b/modules/openapi-generator/src/main/resources/aspnetcore/partial_header.mustache
index 83edccca9b2..4a682818a37 100644
--- a/modules/openapi-generator/src/main/resources/aspnetcore/partial_header.mustache
+++ b/modules/openapi-generator/src/main/resources/aspnetcore/partial_header.mustache
@@ -9,5 +9,5 @@
{{/appDescription}}
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
- * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Generated by: https://openapi-generator.tech
*/
diff --git a/modules/openapi-generator/src/main/resources/bash/bash-completion.mustache b/modules/openapi-generator/src/main/resources/bash/bash-completion.mustache
index b0dda47fcaf..df663229961 100644
--- a/modules/openapi-generator/src/main/resources/bash/bash-completion.mustache
+++ b/modules/openapi-generator/src/main/resources/bash/bash-completion.mustache
@@ -5,8 +5,8 @@
# ! Note:
# !
# ! THIS SCRIPT HAS BEEN AUTOMATICALLY GENERATED USING
-# ! swagger-codegen (https://github.com/swagger-api/swagger-codegen)
-# ! FROM SWAGGER SPECIFICATION IN JSON.
+# ! openapi-generator (https://openapi-generator.tech)
+# ! FROM OPENAPI SPECIFICATION IN JSON.
# !
{{^hideGenerationTimestamp}}# ! Generated on: {{generatedDate}}
{{/hideGenerationTimestamp}}# !
@@ -271,7 +271,7 @@ _{{scriptName}}()
if [[ $cur =~ ^[A-Za-z_0-9]* ]]; then
# If operation has not been yet selected, suggest the list of operations
# otherwise suggest arguments of this operation as declared in the
- # Swagger specification
+ # OpenAPI specification
if [[ -z $operation ]]; then
COMPREPLY=( $(compgen -W '${!operations[*]}' -- ${cur}) )
else
diff --git a/modules/openapi-generator/src/main/resources/bash/client.mustache b/modules/openapi-generator/src/main/resources/bash/client.mustache
index e3acebf5e4f..3ff6f4051dc 100644
--- a/modules/openapi-generator/src/main/resources/bash/client.mustache
+++ b/modules/openapi-generator/src/main/resources/bash/client.mustache
@@ -5,8 +5,8 @@
# ! Note:
# !
# ! THIS SCRIPT HAS BEEN AUTOMATICALLY GENERATED USING
-# ! swagger-codegen (https://github.com/swagger-api/swagger-codegen)
-# ! FROM SWAGGER SPECIFICATION IN JSON.
+# ! openapi-generator (https://openapi-generator.tech)
+# ! FROM OPENAPI SPECIFICATION IN JSON.
# !
{{^hideGenerationTimestamp}}# ! Generated on: {{generatedDate}}
{{/hideGenerationTimestamp}}# !
@@ -783,7 +783,7 @@ call_{{operationId}}() {
#
# Check if the user provided 'Content-type' headers in the
- # command line. If not try to set them based on the Swagger specification
+ # command line. If not try to set them based on the OpenAPI specification
# if values produces and consumes are defined unambigously
#
{{#hasConsumes}}
diff --git a/modules/openapi-generator/src/main/resources/bash/zsh-completion.mustache b/modules/openapi-generator/src/main/resources/bash/zsh-completion.mustache
index 3438d9cf57b..61841577dcc 100644
--- a/modules/openapi-generator/src/main/resources/bash/zsh-completion.mustache
+++ b/modules/openapi-generator/src/main/resources/bash/zsh-completion.mustache
@@ -5,8 +5,8 @@
# ! Note:
# !
# ! THIS SCRIPT HAS BEEN AUTOMATICALLY GENERATED USING
-# ! swagger-codegen (https://github.com/swagger-api/swagger-codegen)
-# ! FROM SWAGGER SPECIFICATION IN JSON.
+# ! openapi-generator (https://openapi-generator.tech)
+# ! FROM OPENAPI SPECIFICATION IN JSON.
# !
# ! Based on: https://github.com/Valodim/zsh-curl-completion/blob/master/_curl
# !
diff --git a/modules/openapi-generator/src/main/resources/clojure/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/clojure/git_push.sh.mustache
index a2d75234837..8a32e53995d 100755
--- a/modules/openapi-generator/src/main/resources/clojure/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/clojure/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/codegen/README.mustache b/modules/openapi-generator/src/main/resources/codegen/README.mustache
index 3564eff8349..9665f78d950 100644
--- a/modules/openapi-generator/src/main/resources/codegen/README.mustache
+++ b/modules/openapi-generator/src/main/resources/codegen/README.mustache
@@ -1,4 +1,4 @@
-# Swagger Codegen for the {{name}} library
+# OpenAPI Generator for the {{name}} library
## Overview
This is a boiler-plate project to generate your own client library with Swagger. Its goal is
@@ -46,7 +46,7 @@ mvn package
In your generator project. A single jar file will be produced in `target`. You can now use that with codegen:
```
-java -cp /path/to/swagger-codegen-cli.jar:/path/to/your.jar org.openapitools.codegen.Codegen -l {{name}} -i /path/to/openapi.yaml -o ./test
+java -cp /path/to/openapi-generator-cli.jar:/path/to/your.jar org.openapitools.codegen.Codegen -l {{name}} -i /path/to/openapi.yaml -o ./test
```
Now your templates are available to the client generator and you can write output values
@@ -67,7 +67,7 @@ the object you have available during client generation:
# -DdebugOperations prints operations passed to the template engine
# -DdebugSupportingFiles prints additional data passed to the template engine
-java -DdebugOperations -cp /path/to/swagger-codegen-cli.jar:/path/to/your.jar org.openapitools.codegen.Codegen -l {{name}} -i /path/to/swagger.yaml -o ./test
+java -DdebugOperations -cp /path/to/openapi-generator-cli.jar:/path/to/your.jar org.openapitools.codegen.Codegen -l {{name}} -i /path/to/swagger.yaml -o ./test
```
Will, for example, output the debug info for operations. You can use this info
diff --git a/modules/openapi-generator/src/main/resources/codegen/pom.mustache b/modules/openapi-generator/src/main/resources/codegen/pom.mustache
index 3346aa41563..75cbc3048ee 100644
--- a/modules/openapi-generator/src/main/resources/codegen/pom.mustache
+++ b/modules/openapi-generator/src/main/resources/codegen/pom.mustache
@@ -2,9 +2,9 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4.0.0
io.swagger
- {{name}}-swagger-codegen
+ {{name}}-openapi-generator
jar
- {{name}}-swagger-codegen
+ {{name}}-openapi-generator
1.0.0
diff --git a/modules/openapi-generator/src/main/resources/cpprest/cmake-lists.mustache b/modules/openapi-generator/src/main/resources/cpprest/cmake-lists.mustache
index 442b04ec660..64124ba7bd9 100644
--- a/modules/openapi-generator/src/main/resources/cpprest/cmake-lists.mustache
+++ b/modules/openapi-generator/src/main/resources/cpprest/cmake-lists.mustache
@@ -4,9 +4,9 @@
#
# OpenAPI spec version: 1.0.0
#
-# https://github.com/swagger-api/swagger-codegen.git
+# https://openapi-generator.tech
#
-# NOTE: Auto generated by the swagger code generator program.
+# NOTE: Auto generated by OpenAPI Generator (https://openapi-generator.tech).
cmake_minimum_required (VERSION 2.8)
diff --git a/modules/openapi-generator/src/main/resources/cpprest/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/cpprest/git_push.sh.mustache
index c7a337655c3..4504311e405 100644
--- a/modules/openapi-generator/src/main/resources/cpprest/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/cpprest/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-cpprest "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-cpprest "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/cpprest/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/cpprest/licenseInfo.mustache
index 2931118038b..5fcadb8a1d7 100644
--- a/modules/openapi-generator/src/main/resources/cpprest/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/cpprest/licenseInfo.mustache
@@ -6,6 +6,6 @@
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
* NOTE: This class is auto generated by the swagger code generator {{{generatorVersion}}}.
- * https://github.com/swagger-api/swagger-codegen.git
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
diff --git a/modules/openapi-generator/src/main/resources/csharp-nancyfx/nuspec.mustache b/modules/openapi-generator/src/main/resources/csharp-nancyfx/nuspec.mustache
index bc7e4d8e8e7..3ef4c7bbe26 100644
--- a/modules/openapi-generator/src/main/resources/csharp-nancyfx/nuspec.mustache
+++ b/modules/openapi-generator/src/main/resources/csharp-nancyfx/nuspec.mustache
@@ -4,8 +4,8 @@
{{packageName}}
{{packageName}}
{{{version}}}
- swagger-codegen
- swagger-codegen
+ openapi-generator
+ openapi-generator
false
NancyFx {{packageName}} API{{#termsOfService}}
{{termsOfService}}{{/termsOfService}}{{#licenseUrl}}
diff --git a/modules/openapi-generator/src/main/resources/dart/README.mustache b/modules/openapi-generator/src/main/resources/dart/README.mustache
index 50c40a4d6da..1766ea72105 100644
--- a/modules/openapi-generator/src/main/resources/dart/README.mustache
+++ b/modules/openapi-generator/src/main/resources/dart/README.mustache
@@ -3,7 +3,7 @@
{{{appDescription}}}
{{/appDescription}}
-This Dart package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
+This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: {{appVersion}}
{{#artifactVersion}}
diff --git a/modules/openapi-generator/src/main/resources/dart/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/dart/git_push.sh.mustache
index a2d75234837..8a32e53995d 100755
--- a/modules/openapi-generator/src/main/resources/dart/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/dart/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/elixir/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/elixir/licenseInfo.mustache
index fea09ae1ed6..b364930dee9 100644
--- a/modules/openapi-generator/src/main/resources/elixir/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/elixir/licenseInfo.mustache
@@ -1,6 +1,6 @@
{{#licenseHeader}}{{licenseHeader}}
{{/licenseHeader}}
-# NOTE: This class is auto generated by the swagger code generator program.
-# https://github.com/swagger-api/swagger-codegen.git
+# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+# https://openapi-generator.tech
# Do not edit the class manually.
diff --git a/modules/openapi-generator/src/main/resources/erlang-client/README.mustache b/modules/openapi-generator/src/main/resources/erlang-client/README.mustache
index f3eab0b5528..0e91946d21d 100644
--- a/modules/openapi-generator/src/main/resources/erlang-client/README.mustache
+++ b/modules/openapi-generator/src/main/resources/erlang-client/README.mustache
@@ -2,4 +2,4 @@
## Overview
-An Erlang client stub generated by [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) given an OpenAPI/Swagger spec.
+An Erlang client stub generated by [OpenAPI Generator](https://openapi-generator.tech) given an OpenAPI spec.
diff --git a/modules/openapi-generator/src/main/resources/erlang-client/app.src.mustache b/modules/openapi-generator/src/main/resources/erlang-client/app.src.mustache
index 00adeeb4757..7d9dc3f55fe 100644
--- a/modules/openapi-generator/src/main/resources/erlang-client/app.src.mustache
+++ b/modules/openapi-generator/src/main/resources/erlang-client/app.src.mustache
@@ -1,5 +1,5 @@
{application, {{packageName}},
- [{description, {{#appDescription}}"{{appDescription}}"{{/appDescription}}{{^appDescription}}"Swagger client library"{{/appDescription}}},
+ [{description, {{#appDescription}}"{{appDescription}}"{{/appDescription}}{{^appDescription}}"OpenAPI client library"{{/appDescription}}},
{vsn, "{{#apiVersion}}{{apiVersion}}{{/apiVersion}}{{^apiVersion}}0.1.0{{/apiVersion}}"},
{registered, []},
{applications,
diff --git a/modules/openapi-generator/src/main/resources/erlang-server/README.mustache b/modules/openapi-generator/src/main/resources/erlang-server/README.mustache
index af53effabc7..604a58459d6 100644
--- a/modules/openapi-generator/src/main/resources/erlang-server/README.mustache
+++ b/modules/openapi-generator/src/main/resources/erlang-server/README.mustache
@@ -2,7 +2,7 @@
## Overview
-An Erlang server stub generated by [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) given an OpenAPI/Swagger spec.
+An Erlang server stub generated by [OpenAPI Generator](https://openapi-generator.tech) given an OpenAPI spec.
Dependency: [Cowboy](https://github.com/ninenines/cowboy)
diff --git a/modules/openapi-generator/src/main/resources/erlang-server/app.src.mustache b/modules/openapi-generator/src/main/resources/erlang-server/app.src.mustache
index 0bc22f45743..5fdef5bf790 100644
--- a/modules/openapi-generator/src/main/resources/erlang-server/app.src.mustache
+++ b/modules/openapi-generator/src/main/resources/erlang-server/app.src.mustache
@@ -1,5 +1,5 @@
{application, {{packageName}}, [
- {description, {{#appDescription}}"{{appDescription}}"{{/appDescription}}{{^appDescription}}"Swagger rest server library"{{/appDescription}}},
+ {description, {{#appDescription}}"{{appDescription}}"{{/appDescription}}{{^appDescription}}"OpenAPI rest server library"{{/appDescription}}},
{vsn, "{{apiVersion}}"},
{registered, []},
{applications, [
diff --git a/modules/openapi-generator/src/main/resources/finch/README.mustache b/modules/openapi-generator/src/main/resources/finch/README.mustache
index 6c9bf19fe7b..9f235b35870 100644
--- a/modules/openapi-generator/src/main/resources/finch/README.mustache
+++ b/modules/openapi-generator/src/main/resources/finch/README.mustache
@@ -1,13 +1,13 @@
-# Swagger generated server
+# OpenAPI generated server
## Overview
-This server was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the
-[OpenAPI-Spec](https://github.com/swagger-api/swagger-core/wiki) from a remote server, you can easily generate a server stub. This
-is an example of building a swagger-enabled scalatra server.
+This server was generated by the [openapi-generator](https://openapi-generator.tech) project. By using the
+[OpenAPI-Spec](https://openapis.org) from a remote server, you can easily generate a server stub. This
+is an example of building a OpenAPI-enabled scalatra server.
This example uses the [finch](http://github.com/finagle/finch/) framework. To see how to make this your own, look here:
-[README](https://github.com/swagger-api/swagger-codegen/tree/master/samples/server-generator/finch)
+[README](https://github.com/openapitools/openapi-generator/master/samples/server-generator/finch)
### After generation
diff --git a/modules/openapi-generator/src/main/resources/flash/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/flash/git_push.sh.mustache
index a2d75234837..8a32e53995d 100755
--- a/modules/openapi-generator/src/main/resources/flash/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/flash/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/flaskConnexion/README.mustache b/modules/openapi-generator/src/main/resources/flaskConnexion/README.mustache
index acaad3fac30..9903cc573aa 100644
--- a/modules/openapi-generator/src/main/resources/flaskConnexion/README.mustache
+++ b/modules/openapi-generator/src/main/resources/flaskConnexion/README.mustache
@@ -1,9 +1,9 @@
-# Swagger generated server
+# OpenAPI generated server
## Overview
-This server was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the
-[OpenAPI-Spec](https://github.com/swagger-api/swagger-core/wiki) from a remote server, you can easily generate a server stub. This
-is an example of building a swagger-enabled Flask server.
+This server was generated by the [openapi-generator](https://openapi-generator.tech) project. By using the
+[OpenAPI-Spec](https://openapis.org) from a remote server, you can easily generate a server stub. This
+is an example of building a OpenAPI-enabled Flask server.
This example uses the [Connexion](https://github.com/zalando/connexion) library on top of Flask.
@@ -35,7 +35,7 @@ and open your browser to here:
http://localhost:{{serverPort}}{{contextPath}}/ui/
```
-Your Swagger definition lives here:
+Your OpenAPI definition lives here:
```
http://localhost:{{serverPort}}{{contextPath}}/openapi.json
diff --git a/modules/openapi-generator/src/main/resources/flaskConnexion/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/flaskConnexion/git_push.sh.mustache
index f65b794638f..c344020eab5 100755
--- a/modules/openapi-generator/src/main/resources/flaskConnexion/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/flaskConnexion/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/flaskConnexion/model.mustache b/modules/openapi-generator/src/main/resources/flaskConnexion/model.mustache
index ba289ef4f8c..ab167dcbab3 100644
--- a/modules/openapi-generator/src/main/resources/flaskConnexion/model.mustache
+++ b/modules/openapi-generator/src/main/resources/flaskConnexion/model.mustache
@@ -14,7 +14,7 @@ from {{packageName}} import util
{{#models}}
{{#model}}
class {{classname}}(Model):
- """NOTE: This class is auto generated by the swagger code generator program.
+ """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Do not edit the class manually.
"""{{#allowableValues}}
diff --git a/modules/openapi-generator/src/main/resources/go-server/README.mustache b/modules/openapi-generator/src/main/resources/go-server/README.mustache
index 89019f8e216..90814cbfb04 100644
--- a/modules/openapi-generator/src/main/resources/go-server/README.mustache
+++ b/modules/openapi-generator/src/main/resources/go-server/README.mustache
@@ -5,14 +5,14 @@
{{/appDescription}}
## Overview
-This server was generated by the [swagger-codegen]
-(https://github.com/swagger-api/swagger-codegen) project.
+This server was generated by the [openapi-generator]
+(https://openapi-generator.tech) project.
By using the [OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification) from a remote server, you can easily generate a server stub.
-
To see how to make this your own, look here:
-[README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md)
+[README]((https://openapi-generator.tech))
- API version: {{appVersion}}{{^hideGenerationTimestamp}}
- Build date: {{generatedDate}}{{/hideGenerationTimestamp}}
diff --git a/modules/openapi-generator/src/main/resources/go-server/partial_header.mustache b/modules/openapi-generator/src/main/resources/go-server/partial_header.mustache
index d24dfec369d..23edcdfb691 100644
--- a/modules/openapi-generator/src/main/resources/go-server/partial_header.mustache
+++ b/modules/openapi-generator/src/main/resources/go-server/partial_header.mustache
@@ -13,5 +13,5 @@
{{#infoEmail}}
* Contact: {{{infoEmail}}}
{{/infoEmail}}
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
+ * Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
diff --git a/modules/openapi-generator/src/main/resources/go/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/go/git_push.sh.mustache
index a2d75234837..8a32e53995d 100755
--- a/modules/openapi-generator/src/main/resources/go/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/go/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/go/partial_header.mustache b/modules/openapi-generator/src/main/resources/go/partial_header.mustache
index d24dfec369d..23edcdfb691 100644
--- a/modules/openapi-generator/src/main/resources/go/partial_header.mustache
+++ b/modules/openapi-generator/src/main/resources/go/partial_header.mustache
@@ -13,5 +13,5 @@
{{#infoEmail}}
* Contact: {{{infoEmail}}}
{{/infoEmail}}
- * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
+ * Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
diff --git a/modules/openapi-generator/src/main/resources/haskell-http-client/Core.mustache b/modules/openapi-generator/src/main/resources/haskell-http-client/Core.mustache
index 804efa892c4..3391efe3bc3 100644
--- a/modules/openapi-generator/src/main/resources/haskell-http-client/Core.mustache
+++ b/modules/openapi-generator/src/main/resources/haskell-http-client/Core.mustache
@@ -306,7 +306,7 @@ toQuery :: WH.ToHttpApiData a => (BC.ByteString, Maybe a) -> [NH.QueryItem]
toQuery x = [(fmap . fmap) toQueryParam x]
where toQueryParam = T.encodeUtf8 . WH.toQueryParam
--- *** Swagger `CollectionFormat` Utils
+-- *** OpenAPI `CollectionFormat` Utils
-- | Determines the format of the array if type array is used.
data CollectionFormat
diff --git a/modules/openapi-generator/src/main/resources/haskell-http-client/README.mustache b/modules/openapi-generator/src/main/resources/haskell-http-client/README.mustache
index fb38b1ca036..15e882371c2 100644
--- a/modules/openapi-generator/src/main/resources/haskell-http-client/README.mustache
+++ b/modules/openapi-generator/src/main/resources/haskell-http-client/README.mustache
@@ -1,6 +1,6 @@
-## Swagger Auto-Generated [http-client](https://www.stackage.org/lts-10.0/package/http-client-0.5.7.1) Bindings to `{{appName}}`
+## OpenAPI Auto-Generated [http-client](https://www.stackage.org/lts-10.0/package/http-client-0.5.7.1) Bindings to `{{appName}}`
-The library in `lib` provides auto-generated-from-Swagger [http-client](https://www.stackage.org/lts-10.0/package/http-client-0.5.7.1) bindings to the {{appName}} API.
+The library in `lib` provides auto-generated-from-OpenAPI [http-client](https://www.stackage.org/lts-10.0/package/http-client-0.5.7.1) bindings to the {{appName}} API.
OpenApi Version: {{openApiVersion}}
@@ -29,12 +29,12 @@ from the stack.yaml file and run `stack haddock` again.
stack test
```
-## Swagger-Codegen
+## OpenAPI-Generator
The code generator that produced this library, and which explains how
-to obtain and use the swagger-codegen cli tool lives at
+to obtain and use the openapi-generator cli tool lives at
-https://github.com/swagger-api/swagger-codegen
+https://openapi-generator.tech
The _language_ argument (`--lang`) passed to the cli tool used should be
@@ -42,7 +42,7 @@ The _language_ argument (`--lang`) passed to the cli tool used should be
haskell-http-client
```
-### Unsupported Swagger Features
+### Unsupported OpenAPI Features
* Model Inheritance
@@ -65,7 +65,7 @@ These options allow some customization of the code generation process.
| configType | Set the name of the type used for configuration | | {{{configType}}} |
| dateFormat | format string used to parse/render a date | %Y-%m-%d | {{{dateFormat}}} |
| dateTimeFormat | format string used to parse/render a datetime. (Defaults to [formatISO8601Millis][1] when not provided) | | {{{dateTimeFormat}}} |
-| generateEnums | Generate specific datatypes for swagger enums | true | {{{generateEnums}}} |
+| generateEnums | Generate specific datatypes for OpenAPI enums | true | {{{generateEnums}}} |
| generateFormUrlEncodedInstances | Generate FromForm/ToForm instances for models used by x-www-form-urlencoded operations (model fields must be primitive types) | true | {{{generateFormUrlEncodedInstances}}} |
| generateLenses | Generate Lens optics for Models | true | {{{generateLenses}}} |
| generateModelConstructors | Generate smart constructors (only supply required fields) for models | true | {{{generateModelConstructors}}} |
@@ -80,28 +80,28 @@ These options allow some customization of the code generation process.
An example setting _strictFields_ and _dateTimeFormat_:
```
-java -jar swagger-codegen-cli.jar generate -i petstore.yaml -l haskell-http-client -o output/haskell-http-client -DstrictFields=true -DdateTimeFormat="%Y-%m-%dT%H:%M:%S%Q%z"
+java -jar openapi-generator-cli.jar generate -i petstore.yaml -l haskell-http-client -o output/haskell-http-client -DstrictFields=true -DdateTimeFormat="%Y-%m-%dT%H:%M:%S%Q%z"
```
View the full list of Codegen "config option" parameters with the command:
```
-java -jar swagger-codegen-cli.jar config-help -l haskell-http-client
+java -jar openapi-generator-cli.jar config-help -l haskell-http-client
```
## Usage Notes
-### Example SwaggerPetstore Haddock documentation
+### Example Petstore Haddock documentation
-An example of the generated haddock documentation targeting the server http://petstore.swagger.io/ (SwaggerPetstore) can be found [here][2]
+An example of the generated haddock documentation targeting the server http://petstore.swagger.io/ (Petstore) can be found [here][2]
[2]: https://hackage.haskell.org/package/swagger-petstore
-### Example SwaggerPetstore App
+### Example Petstore App
An example application using the auto-generated haskell-http-client bindings for the server http://petstore.swagger.io/ can be found [here][3]
-[3]: https://github.com/swagger-api/swagger-codegen/tree/master/samples/client/petstore/haskell-http-client/example-app
+[3]: https://github.com/openapitools/openapi-generator/master/samples/client/petstore/haskell-http-client/example-app
This library is intended to be imported qualified.
@@ -120,7 +120,7 @@ This library is intended to be imported qualified.
### MimeTypes
-This library adds type safety around what swagger specifies as
+This library adds type safety around what OpenAPI specifies as
Produces and Consumes for each Operation (e.g. the list of MIME types an
Operation can Produce (using 'accept' headers) and Consume (using 'content-type' headers).
@@ -153,10 +153,10 @@ this would indicate that:
* the _addFoo_ operation can set it's body param of _FooModel_ via `setBodyParam`
* the _addFoo_ operation can set 2 different optional parameters via `applyOptionalParam`
-If the swagger spec doesn't declare it can accept or produce a certain
+If the OpenAPI spec doesn't declare it can accept or produce a certain
MIME type for a given Operation, you should either add a Produces or
Consumes instance for the desired MIME types (assuming the server
-supports it), use `dispatchLbsUnsafe` or modify the swagger spec and
+supports it), use `dispatchLbsUnsafe` or modify the OpenAPI spec and
run the generator again.
New MIME type instances can be added via MimeType/MimeRender/MimeUnrender
@@ -168,7 +168,7 @@ Operations using x-www-form-urlencoded which use those models.
### Authentication
-A haskell data type will be generated for each swagger authentication type.
+A haskell data type will be generated for each OpenAPI authentication type.
If for example the AuthMethod `AuthOAuthFoo` is generated for OAuth operations, then
`addAuthMethod` should be used to add the AuthMethod config.
diff --git a/modules/openapi-generator/src/main/resources/haskell-http-client/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/haskell-http-client/git_push.sh.mustache
index a2d75234837..8a32e53995d 100644
--- a/modules/openapi-generator/src/main/resources/haskell-http-client/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/haskell-http-client/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/haskell-http-client/haskell-http-client.cabal.mustache b/modules/openapi-generator/src/main/resources/haskell-http-client/haskell-http-client.cabal.mustache
index ab5c034206e..915fdad194e 100644
--- a/modules/openapi-generator/src/main/resources/haskell-http-client/haskell-http-client.cabal.mustache
+++ b/modules/openapi-generator/src/main/resources/haskell-http-client/haskell-http-client.cabal.mustache
@@ -18,7 +18,7 @@ description: .
.
{{/hideGenerationTimestamp}}
category: Web
-homepage: https://github.com/swagger-api/swagger-codegen#readme
+homepage: https://openapi-generator.tech
author: Author Name Here
maintainer: author.name@email.com
copyright: YEAR - AUTHOR
diff --git a/modules/openapi-generator/src/main/resources/haskell-http-client/partial_header.mustache b/modules/openapi-generator/src/main/resources/haskell-http-client/partial_header.mustache
index 0f3742cd656..93e9f60143d 100644
--- a/modules/openapi-generator/src/main/resources/haskell-http-client/partial_header.mustache
+++ b/modules/openapi-generator/src/main/resources/haskell-http-client/partial_header.mustache
@@ -16,5 +16,5 @@
{{#infoEmail}}
Contact: {{{.}}}
{{/infoEmail}}
- Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
-}
diff --git a/modules/openapi-generator/src/main/resources/haskell-servant/API.mustache b/modules/openapi-generator/src/main/resources/haskell-servant/API.mustache
index 14b037cd375..8c3e42de3ae 100644
--- a/modules/openapi-generator/src/main/resources/haskell-servant/API.mustache
+++ b/modules/openapi-generator/src/main/resources/haskell-servant/API.mustache
@@ -76,7 +76,7 @@ lookupEither key assocs =
Right result -> Right $ result
{{#apiInfo}}
--- | Servant type-level API, generated from the Swagger spec for {{title}}.
+-- | Servant type-level API, generated from the OpenAPI spec for {{title}}.
type {{title}}API
= {{#apis}}{{#operations}}{{#operation}}{{& vendorExtensions.x-routeType}} -- '{{operationId}}' route{{#hasMore}}
:<|> {{/hasMore}}{{/operation}}{{/operations}}{{#hasMore}}
@@ -141,7 +141,7 @@ formatSeparatedQueryList char = T.intercalate (T.singleton char) . map toQueryPa
{{#apiInfo}}
-- | Backend for {{title}}.
--- The backend can be used both for the client and the server. The client generated from the {{title}} Swagger spec
+-- The backend can be used both for the client and the server. The client generated from the {{title}} OpenAPI spec
-- is a backend that executes actions by sending HTTP requests (see @create{{title}}Client@). Alternatively, provided
-- a backend, the API can be served using @run{{title}}Server@.
data {{title}}Backend m = {{title}}Backend
diff --git a/modules/openapi-generator/src/main/resources/haskell-servant/README.mustache b/modules/openapi-generator/src/main/resources/haskell-servant/README.mustache
index 67068d96ccd..158c3da9c47 100644
--- a/modules/openapi-generator/src/main/resources/haskell-servant/README.mustache
+++ b/modules/openapi-generator/src/main/resources/haskell-servant/README.mustache
@@ -1,6 +1,6 @@
-# Auto-Generated Swagger Bindings to `{{title}}`
+# Auto-Generated OpenAPI Bindings to `{{title}}`
-The library in `lib` provides auto-generated-from-Swagger bindings to the {{title}} API.
+The library in `lib` provides auto-generated-from-OpenAPI bindings to the {{title}} API.
## Installation
diff --git a/modules/openapi-generator/src/main/resources/haskell-servant/haskell-servant-codegen.mustache b/modules/openapi-generator/src/main/resources/haskell-servant/haskell-servant-codegen.mustache
index 18a29c87db1..963ba6f9d3f 100644
--- a/modules/openapi-generator/src/main/resources/haskell-servant/haskell-servant-codegen.mustache
+++ b/modules/openapi-generator/src/main/resources/haskell-servant/haskell-servant-codegen.mustache
@@ -2,7 +2,7 @@ name: {{package}}
version: 0.1.0.0
synopsis: Auto-generated API bindings for {{package}}
description: Please see README.md
-homepage: https://github.com/swagger-api/swagger-codegen#readme
+homepage: https://openapi-generator.tech
author: Author Name Here
maintainer: author.name@email.com
copyright: YEAR - AUTHOR
diff --git a/modules/openapi-generator/src/main/resources/java-pkmst/api.mustache b/modules/openapi-generator/src/main/resources/java-pkmst/api.mustache
index 27a199fba13..bf5b1dc2688 100644
--- a/modules/openapi-generator/src/main/resources/java-pkmst/api.mustache
+++ b/modules/openapi-generator/src/main/resources/java-pkmst/api.mustache
@@ -1,6 +1,6 @@
/**
- * NOTE: This class is auto generated by the swagger code generator program ({{{generatorVersion}}}).
- * https://github.com/swagger-api/swagger-codegen
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) ({{{generatorVersion}}}).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
package {{package}};
diff --git a/modules/openapi-generator/src/main/resources/java-pkmst/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/java-pkmst/licenseInfo.mustache
index 94c36dda3af..335db1c5938 100644
--- a/modules/openapi-generator/src/main/resources/java-pkmst/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/java-pkmst/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
diff --git a/modules/openapi-generator/src/main/resources/java-pkmst/readme.mustache b/modules/openapi-generator/src/main/resources/java-pkmst/readme.mustache
index 3b0ea216f7c..618f71dc9ef 100644
--- a/modules/openapi-generator/src/main/resources/java-pkmst/readme.mustache
+++ b/modules/openapi-generator/src/main/resources/java-pkmst/readme.mustache
@@ -23,14 +23,14 @@ i)Allow you to configure Oauth2 security based authorization for your microservi
Working:
-Using swagger specification you can convert any definition to spring boot microservice.
+Using OpenAPI specification you can convert any definition to spring boot microservice.
It has the integration with the below services:
eureka registry, zipkin , spring boot admin, circuit breaker.
By default only the circuit breaker annotation is enabled. But one has to write the fallback method. The needed dependency for it is also been enabled. To generate the integration and
related configuration for eureka, zipkin, spring boot admin one has two options:
-1) When generating from UI one has to provide vendor extensions inside the swagger specification as below:
+1) When generating from UI one has to provide vendor extensions inside the OpenAPI specification as below:
swagger: "2.0"
info:
description: "This is a sample Product Catalogue Server.\
@@ -43,11 +43,11 @@ info:
springBootAdminUri: "http://localhost:8000"
pkmstInterceptor: "true"
-PLease note the vendor extensions are inside the info tag of the swagger specification. All the tags are case sensitive. Once given all the related configuration and the dependency
+PLease note the vendor extensions are inside the info tag of the OpenAPI specification. All the tags are case sensitive. Once given all the related configuration and the dependency
will be enabled.
2) When generating from the maven plugin one has to provide configuration inside pom as below:
-inside the swagger codegen maven plugin under the configuration section
+inside the openapi generator maven plugin under the configuration section
product-openapi.yaml
diff --git a/modules/openapi-generator/src/main/resources/kotlin-client/README.mustache b/modules/openapi-generator/src/main/resources/kotlin-client/README.mustache
index 7a10bab6c12..29415aefe4f 100644
--- a/modules/openapi-generator/src/main/resources/kotlin-client/README.mustache
+++ b/modules/openapi-generator/src/main/resources/kotlin-client/README.mustache
@@ -25,7 +25,7 @@ This runs all tests and packages the library.
* Supports JSON inputs/outputs, File inputs, and Form inputs.
* Supports collection formats for query parameters: csv, tsv, ssv, pipes.
-* Some Kotlin and Java types are fully qualified to avoid conflicts with types defined in Swagger definitions.
+* Some Kotlin and Java types are fully qualified to avoid conflicts with types defined in OpenAPI definitions.
* Implementation of ApiClient is intended to reduce method counts, specifically to benefit Android targets.
{{#generateApiDocs}}
diff --git a/modules/openapi-generator/src/main/resources/kotlin-client/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/kotlin-client/licenseInfo.mustache
index aee680977df..f53b5d179fa 100644
--- a/modules/openapi-generator/src/main/resources/kotlin-client/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/kotlin-client/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
-* NOTE: This class is auto generated by the swagger code generator program.
-* https://github.com/swagger-api/swagger-codegen.git
+* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+* https://openapi-generator.tech
* Do not edit the class manually.
*/
\ No newline at end of file
diff --git a/modules/openapi-generator/src/main/resources/kotlin-server/README.mustache b/modules/openapi-generator/src/main/resources/kotlin-server/README.mustache
index 7b53516d383..24c4728fdd3 100644
--- a/modules/openapi-generator/src/main/resources/kotlin-server/README.mustache
+++ b/modules/openapi-generator/src/main/resources/kotlin-server/README.mustache
@@ -25,7 +25,7 @@ This runs all tests and packages the library.
* Supports JSON inputs/outputs, File inputs, and Form inputs.
* Supports collection formats for query parameters: csv, tsv, ssv, pipes.
-* Some Kotlin and Java types are fully qualified to avoid conflicts with types defined in Swagger definitions.
+* Some Kotlin and Java types are fully qualified to avoid conflicts with types defined in OpenAPI definitions.
{{#generateApiDocs}}
diff --git a/modules/openapi-generator/src/main/resources/kotlin-server/libraries/ktor/README.mustache b/modules/openapi-generator/src/main/resources/kotlin-server/libraries/ktor/README.mustache
index 0b7ca34e4ba..854a82a1ea8 100644
--- a/modules/openapi-generator/src/main/resources/kotlin-server/libraries/ktor/README.mustache
+++ b/modules/openapi-generator/src/main/resources/kotlin-server/libraries/ktor/README.mustache
@@ -4,7 +4,7 @@
{{.}}
{{/unescapedAppDescription}}
-Generated by Swagger Codegen {{generatorVersion}} ({{generatedDate}}).
+Generated by OpenAPI Generator {{generatorVersion}} ({{generatedDate}}).
## Requires
@@ -42,7 +42,7 @@ docker run -p 8080:8080 {{artifactId}}
* Supports JSON inputs/outputs, File inputs, and Form inputs (see ktor documentation for more info).
* ~Supports collection formats for query parameters: csv, tsv, ssv, pipes.~
-* Some Kotlin and Java types are fully qualified to avoid conflicts with types defined in Swagger definitions.
+* Some Kotlin and Java types are fully qualified to avoid conflicts with types defined in OpenAPI definitions.
{{#generateApiDocs}}
diff --git a/modules/openapi-generator/src/main/resources/kotlin-server/libraries/ktor/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/kotlin-server/libraries/ktor/licenseInfo.mustache
index aee680977df..f53b5d179fa 100644
--- a/modules/openapi-generator/src/main/resources/kotlin-server/libraries/ktor/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/kotlin-server/libraries/ktor/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
-* NOTE: This class is auto generated by the swagger code generator program.
-* https://github.com/swagger-api/swagger-codegen.git
+* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+* https://openapi-generator.tech
* Do not edit the class manually.
*/
\ No newline at end of file
diff --git a/modules/openapi-generator/src/main/resources/kotlin-server/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/kotlin-server/licenseInfo.mustache
index aee680977df..f53b5d179fa 100644
--- a/modules/openapi-generator/src/main/resources/kotlin-server/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/kotlin-server/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
-* NOTE: This class is auto generated by the swagger code generator program.
-* https://github.com/swagger-api/swagger-codegen.git
+* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+* https://openapi-generator.tech
* Do not edit the class manually.
*/
\ No newline at end of file
diff --git a/modules/openapi-generator/src/main/resources/lua/README.mustache b/modules/openapi-generator/src/main/resources/lua/README.mustache
index c8f08759b4e..7eeac202196 100644
--- a/modules/openapi-generator/src/main/resources/lua/README.mustache
+++ b/modules/openapi-generator/src/main/resources/lua/README.mustache
@@ -5,7 +5,7 @@
{{/appDescription}}
## Overview
-This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client.
+This API client was generated by the [openapi-generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client.
- API version: {{appVersion}}
- Package version: {{packageVersion}}
diff --git a/modules/openapi-generator/src/main/resources/lua/api.mustache b/modules/openapi-generator/src/main/resources/lua/api.mustache
index dad9be40382..d8408da2553 100644
--- a/modules/openapi-generator/src/main/resources/lua/api.mustache
+++ b/modules/openapi-generator/src/main/resources/lua/api.mustache
@@ -49,14 +49,14 @@ function {{classname}}:{{operationId}}({{#allParams}}{{paramName}}{{#hasMore}},
req.headers:upsert(":method", "{{httpMethod}}")
{{#hasConsumes}}
-- TODO: create a function to select proper accept
- -- ref: https://github.com/swagger-api/swagger-codegen/pull/6252#issuecomment-321199879
+ -- ref: https://openapi-generator.tech/pull/6252#issuecomment-321199879
--local var_content_type = { {{#consumes}}"{{{mediaType}}}"{{#hasMore}}, {{/hasMore}}{{/consumes}} }
req.headers:upsert("accept", {{#consumes}}{{#-first}}"{{{mediaType}}}"{{/-first}}{{/consumes}})
{{/hasConsumes}}
{{#hasProduces}}
-- TODO: create a function to select proper content-type
- -- ref: https://github.com/swagger-api/swagger-codegen/pull/6252#issuecomment-321199879
+ -- ref: https://openapi-generator.tech/pull/6252#issuecomment-321199879
--local var_accept = { {{#produces}}"{{{mediaType}}}"{{#hasMore}}, {{/hasMore}}{{/produces}} }
req.headers:upsert("content-type", {{#produces}}{{#-first}}"{{{mediaType}}}"{{/-first}}{{/produces}})
diff --git a/modules/openapi-generator/src/main/resources/lua/api_test.mustache b/modules/openapi-generator/src/main/resources/lua/api_test.mustache
index f7da0c08551..6afaffccb49 100644
--- a/modules/openapi-generator/src/main/resources/lua/api_test.mustache
+++ b/modules/openapi-generator/src/main/resources/lua/api_test.mustache
@@ -1,7 +1,7 @@
{{> partial_header}}
--[[
Unit tests for {{{packageName}}}.api.{{{classname}}}
-Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
+Automatically generated by openapi-generator (https://openapi-generator.tech)
Please update as you see appropriate
]]
{{#operations}}
diff --git a/modules/openapi-generator/src/main/resources/lua/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/lua/git_push.sh.mustache
index f65b794638f..c344020eab5 100755
--- a/modules/openapi-generator/src/main/resources/lua/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/lua/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/lua/luarocks.mustache b/modules/openapi-generator/src/main/resources/lua/luarocks.mustache
index 5d7fbea739c..8a6325e738a 100644
--- a/modules/openapi-generator/src/main/resources/lua/luarocks.mustache
+++ b/modules/openapi-generator/src/main/resources/lua/luarocks.mustache
@@ -5,12 +5,12 @@ source = {
}
description = {
- summary = "API client genreated by Swagger Codegen",
+ summary = "API client genreated by OpenAPI Generator",
detailed = [[
{{{appDescription}}}]],
- homepage = "https://github.com/swagger-api/swagger-codegen",
+ homepage = "https://openapi-generator.tech",
license = "Unlicense",
- maintainer = "Swagger Codegen contributors",
+ maintainer = "OpenAPI Generator contributors",
}
dependencies = {
diff --git a/modules/openapi-generator/src/main/resources/lua/model_test.mustache b/modules/openapi-generator/src/main/resources/lua/model_test.mustache
index b4ffc01e144..9608f7037d3 100644
--- a/modules/openapi-generator/src/main/resources/lua/model_test.mustache
+++ b/modules/openapi-generator/src/main/resources/lua/model_test.mustache
@@ -3,7 +3,7 @@
{{#model}}
--[[
Unit tests for {{{packageName}}}.model.{{{classname}}}
-Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
+Automatically generated by openapi-generator (https://openapi-generator.tech)
Please update as you see appropriate
]]
describe("{{classname}}", function()
diff --git a/modules/openapi-generator/src/main/resources/lua/partial_header.mustache b/modules/openapi-generator/src/main/resources/lua/partial_header.mustache
index b09571bf642..a8565159a6b 100644
--- a/modules/openapi-generator/src/main/resources/lua/partial_header.mustache
+++ b/modules/openapi-generator/src/main/resources/lua/partial_header.mustache
@@ -9,5 +9,5 @@
{{/appDescription}}
{{#version}}OpenAPI spec version: {{{version}}}{{/version}}
{{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
- Generated by: https://github.com/swagger-api/swagger-codegen.git
+ Generated by: https://openapi-generator.tech
]]
diff --git a/modules/openapi-generator/src/main/resources/lumen/composer.mustache b/modules/openapi-generator/src/main/resources/lumen/composer.mustache
index cae45ac2623..f74e1f575b7 100644
--- a/modules/openapi-generator/src/main/resources/lumen/composer.mustache
+++ b/modules/openapi-generator/src/main/resources/lumen/composer.mustache
@@ -10,12 +10,12 @@
"sdk",
"api"
],
- "homepage": "http://swagger.io",
+ "homepage": "http://openapi-generator.tech",
"license": "proprietary",
"authors": [
{
- "name": "Swagger and contributors",
- "homepage": "https://github.com/swagger-api/swagger-codegen"
+ "name": "OpenAPI-Generator contributors",
+ "homepage": "https://openapi-generator.tech"
}
],
"require": {
diff --git a/modules/openapi-generator/src/main/resources/lumen/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/lumen/licenseInfo.mustache
index bbd8742e52a..469fb03940f 100644
--- a/modules/openapi-generator/src/main/resources/lumen/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/lumen/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
diff --git a/modules/openapi-generator/src/main/resources/nodejs/README.mustache b/modules/openapi-generator/src/main/resources/nodejs/README.mustache
index b7df8abcd3e..f2bdc41ca55 100644
--- a/modules/openapi-generator/src/main/resources/nodejs/README.mustache
+++ b/modules/openapi-generator/src/main/resources/nodejs/README.mustache
@@ -1,7 +1,7 @@
-# Swagger generated server
+# OpenAPI generated server
## Overview
-This server was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification) from a remote server, you can easily generate a server stub.
+This server was generated by the [openapi-generator](https://openapi-generator.tech) project. By using the [OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification) from a remote server, you can easily generate a server stub.
{{^googleCloudFunctions}}
### Running the server
diff --git a/modules/openapi-generator/src/main/resources/objc/BasicAuthTokenProvider-header.mustache b/modules/openapi-generator/src/main/resources/objc/BasicAuthTokenProvider-header.mustache
index dfb287568a0..1969135e148 100644
--- a/modules/openapi-generator/src/main/resources/objc/BasicAuthTokenProvider-header.mustache
+++ b/modules/openapi-generator/src/main/resources/objc/BasicAuthTokenProvider-header.mustache
@@ -1,7 +1,7 @@
/** The `{{classPrefix}}BasicAuthTokenProvider` class creates a basic auth token from username and password.
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
diff --git a/modules/openapi-generator/src/main/resources/objc/NSManagedObject-body.mustache b/modules/openapi-generator/src/main/resources/objc/NSManagedObject-body.mustache
index 205a692af5e..78bd71afa8c 100644
--- a/modules/openapi-generator/src/main/resources/objc/NSManagedObject-body.mustache
+++ b/modules/openapi-generator/src/main/resources/objc/NSManagedObject-body.mustache
@@ -3,8 +3,8 @@
#import "{{classname}}ManagedObject.h"
/**
-* NOTE: This class is auto generated by the swagger code generator program.
-* https://github.com/swagger-api/swagger-codegen
+* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+* https://openapi-generator.tech
* Do not edit the class manually.
*/
@implementation {{classname}}ManagedObject
diff --git a/modules/openapi-generator/src/main/resources/objc/NSManagedObjectBuilder-body.mustache b/modules/openapi-generator/src/main/resources/objc/NSManagedObjectBuilder-body.mustache
index 37df8840027..9407eb027ef 100644
--- a/modules/openapi-generator/src/main/resources/objc/NSManagedObjectBuilder-body.mustache
+++ b/modules/openapi-generator/src/main/resources/objc/NSManagedObjectBuilder-body.mustache
@@ -3,8 +3,8 @@
#import "{{classname}}ManagedObjectBuilder.h"
/**
-* NOTE: This class is auto generated by the swagger code generator program.
-* https://github.com/swagger-api/swagger-codegen
+* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+* https://openapi-generator.tech
* Do not edit the class manually.
*/
diff --git a/modules/openapi-generator/src/main/resources/objc/README.mustache b/modules/openapi-generator/src/main/resources/objc/README.mustache
index 59300fd9d02..d516140f735 100644
--- a/modules/openapi-generator/src/main/resources/objc/README.mustache
+++ b/modules/openapi-generator/src/main/resources/objc/README.mustache
@@ -4,7 +4,7 @@
{{{appDescription}}}
{{/appDescription}}
-This ObjC package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
+This ObjC package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: {{appVersion}}
- Package version: {{artifactVersion}}
diff --git a/modules/openapi-generator/src/main/resources/objc/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/objc/git_push.sh.mustache
index a2d75234837..8a32e53995d 100644
--- a/modules/openapi-generator/src/main/resources/objc/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/objc/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/objc/licenceInfo.mustache b/modules/openapi-generator/src/main/resources/objc/licenceInfo.mustache
index 4796cbb534f..12c61a11164 100644
--- a/modules/openapi-generator/src/main/resources/objc/licenceInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/objc/licenceInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
-* NOTE: This class is auto generated by the swagger code generator program.
-* https://github.com/swagger-api/swagger-codegen.git
+* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+* https://openapi-generator.tech
* Do not edit the class manually.
*/
diff --git a/modules/openapi-generator/src/main/resources/perl/ApiClient.mustache b/modules/openapi-generator/src/main/resources/perl/ApiClient.mustache
index e4e43b725c1..505be7e7d25 100644
--- a/modules/openapi-generator/src/main/resources/perl/ApiClient.mustache
+++ b/modules/openapi-generator/src/main/resources/perl/ApiClient.mustache
@@ -1,8 +1,8 @@
{{>partial_license}}
#
-# NOTE: This class is auto generated by the swagger code generator program.
+# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
# Do not edit the class manually.
-# Ref: https://github.com/swagger-api/swagger-codegen
+# Ref: https://openapi-generator.tech
#
package {{moduleName}}::ApiClient;
diff --git a/modules/openapi-generator/src/main/resources/perl/ApiFactory.mustache b/modules/openapi-generator/src/main/resources/perl/ApiFactory.mustache
index 62e1dd13c49..aee2a2a9882 100644
--- a/modules/openapi-generator/src/main/resources/perl/ApiFactory.mustache
+++ b/modules/openapi-generator/src/main/resources/perl/ApiFactory.mustache
@@ -1,8 +1,8 @@
{{>partial_license}}
#
-# NOTE: This class is auto generated by the swagger code generator program.
+# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
# Do not edit the class manually.
-# Ref: https://github.com/swagger-api/swagger-codegen
+# Ref: https://openapi-generator.tech
#
package {{moduleName}}::ApiFactory;
diff --git a/modules/openapi-generator/src/main/resources/perl/AutoDoc.mustache b/modules/openapi-generator/src/main/resources/perl/AutoDoc.mustache
index 2d5eb5208cf..585ad93ccb3 100644
--- a/modules/openapi-generator/src/main/resources/perl/AutoDoc.mustache
+++ b/modules/openapi-generator/src/main/resources/perl/AutoDoc.mustache
@@ -1,8 +1,8 @@
{{>partial_license}}
#
-# NOTE: This class is auto generated by the swagger code generator program.
+# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
# Do not edit the class manually.
-# Ref: https://github.com/swagger-api/swagger-codegen
+# Ref: https://openapi-generator.tech
#
package {{moduleName}}::Role::AutoDoc;
use List::MoreUtils qw(uniq);
@@ -98,7 +98,7 @@ $myclass
=head2 @* version: @*
$app_name, $app_version
-Automatically generated by the Perl Swagger Codegen project:
+Automatically generated by the Perl Generator in the OpenAPI Generator project:
=over 4
diff --git a/modules/openapi-generator/src/main/resources/perl/BaseObject.mustache b/modules/openapi-generator/src/main/resources/perl/BaseObject.mustache
index 80ecda42a4d..9f720981e19 100644
--- a/modules/openapi-generator/src/main/resources/perl/BaseObject.mustache
+++ b/modules/openapi-generator/src/main/resources/perl/BaseObject.mustache
@@ -1,8 +1,8 @@
{{>partial_license}}
#
-# NOTE: This class is auto generated by the swagger code generator program.
+# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
# Do not edit the class manually.
-# Ref: https://github.com/swagger-api/swagger-codegen
+# Ref: https://openapi-generator.tech
#
__PACKAGE__->mk_classdata('attribute_map' => {});
__PACKAGE__->mk_classdata('swagger_types' => {});
diff --git a/modules/openapi-generator/src/main/resources/perl/Configuration.mustache b/modules/openapi-generator/src/main/resources/perl/Configuration.mustache
index c91fdd39786..3f783ce4af2 100644
--- a/modules/openapi-generator/src/main/resources/perl/Configuration.mustache
+++ b/modules/openapi-generator/src/main/resources/perl/Configuration.mustache
@@ -1,8 +1,8 @@
{{>partial_license}}
#
-# NOTE: This class is auto generated by the swagger code generator program.
+# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
# Do not edit the class manually.
-# Ref: https://github.com/swagger-api/swagger-codegen
+# Ref: https://openapi-generator.tech
#
package {{moduleName}}::Configuration;
diff --git a/modules/openapi-generator/src/main/resources/perl/README.mustache b/modules/openapi-generator/src/main/resources/perl/README.mustache
index beff33444b9..8484222a80b 100644
--- a/modules/openapi-generator/src/main/resources/perl/README.mustache
+++ b/modules/openapi-generator/src/main/resources/perl/README.mustache
@@ -6,7 +6,7 @@
# VERSION
-Automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
+Automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: {{appVersion}}
- Package version: {{moduleVersion}}
@@ -25,7 +25,7 @@ This role is the only component of the library that uses Moose. See
# SYNOPSIS
-The Perl Swagger Codegen project builds a library of Perl modules to interact with
+The Perl Generator in the OpenAPI Generator project builds a library of Perl modules to interact with
a web service defined by a OpenAPI Specification. See below for how to build the
library.
@@ -165,7 +165,7 @@ you could also call them on class names.
# BUILDING YOUR LIBRARY
-See the homepage `https://github.com/swagger-api/swagger-codegen` for full details.
+See the homepage `https://openapi-generator.tech` for full details.
But briefly, clone the git repository, build the codegen codebase, set up your build
config file, then run the API build script. You will need git, Java 7 or 8 and Apache
maven 3.0.3 or better already installed.
@@ -176,10 +176,10 @@ The config file should specify the project name for the generated library:
Your library files will be built under `WWW::MyProjectName`.
- $ git clone https://github.com/swagger-api/swagger-codegen.git
- $ cd swagger-codegen
+ $ git clone https://github.com/openapitools/openapi-generator
+ $ cd openapi-generator
$ mvn package
- $ java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate \
+ $ java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \
-i [URL or file path to JSON swagger API spec] \
-l perl \
-c /path/to/config/file.json \
diff --git a/modules/openapi-generator/src/main/resources/perl/Role.mustache b/modules/openapi-generator/src/main/resources/perl/Role.mustache
index c8d86f57dff..e5a8004339d 100644
--- a/modules/openapi-generator/src/main/resources/perl/Role.mustache
+++ b/modules/openapi-generator/src/main/resources/perl/Role.mustache
@@ -1,8 +1,8 @@
{{>partial_license}}
#
-# NOTE: This class is auto generated by the swagger code generator program.
+# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
# Do not edit the class manually.
-# Ref: https://github.com/swagger-api/swagger-codegen
+# Ref: https://openapi-generator.tech
#
package {{moduleName}}::Role;
use utf8;
@@ -107,7 +107,7 @@ sub _build_af {
=head1 VERSION
-Automatically generated by the Perl Swagger Codegen project:
+Automatically generated by the Perl OpenAPI Generator project:
=over 4
{{^hideGenerationTimestamp}}
@@ -128,7 +128,7 @@ This role is the only component of the library that uses Moose. See
=head1 SYNOPSIS
-The Perl Swagger Codegen project builds a library of Perl modules to interact with
+The Perl Generator in the OpenAPI Generator project builds a library of Perl modules to interact with
a web service defined by a OpenAPI Specification. See below for how to build the
library.
@@ -271,7 +271,7 @@ you could also call them on class names.
=head1 BUILDING YOUR LIBRARY
-See the homepage C for full details.
+See the homepage C for full details.
But briefly, clone the git repository, build the codegen codebase, set up your build
config file, then run the API build script. You will need git, Java 7 or 8 and Apache
maven 3.0.3 or better already installed.
@@ -282,10 +282,10 @@ The config file should specify the project name for the generated library:
Your library files will be built under C.
- $ git clone https://github.com/swagger-api/swagger-codegen.git
- $ cd swagger-codegen
+ $ git clone https://github.com/openapitools/openapi-generator
+ $ cd openapi-generator
$ mvn package
- $ java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate \
+ $ java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \
-i [URL or file path to JSON swagger API spec] \
-l perl \
-c /path/to/config/file.json \
diff --git a/modules/openapi-generator/src/main/resources/perl/api.mustache b/modules/openapi-generator/src/main/resources/perl/api.mustache
index 7aeb164dbf3..e7e2c7db670 100644
--- a/modules/openapi-generator/src/main/resources/perl/api.mustache
+++ b/modules/openapi-generator/src/main/resources/perl/api.mustache
@@ -1,8 +1,8 @@
{{>partial_license}}
#
-# NOTE: This class is auto generated by the swagger code generator program.
+# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
# Do not edit the class manually.
-# Ref: https://github.com/swagger-api/swagger-codegen
+# Ref: https://openapi-generator.tech
#
package {{moduleName}}::{{classname}};
diff --git a/modules/openapi-generator/src/main/resources/perl/api_test.mustache b/modules/openapi-generator/src/main/resources/perl/api_test.mustache
index 6ae0a8b286a..63481172cde 100644
--- a/modules/openapi-generator/src/main/resources/perl/api_test.mustache
+++ b/modules/openapi-generator/src/main/resources/perl/api_test.mustache
@@ -1,8 +1,8 @@
{{>partial_license}}
#
-# NOTE: This class is auto generated by Swagger Codegen
+# NOTE: This class is auto generated by OpenAPI Generator
# Please update the test cases below to test the API endpoints.
-# Ref: https://github.com/swagger-api/swagger-codegen
+# Ref: https://openapi-generator.tech
#
use Test::More tests => 1; #TODO update number of test cases
use Test::Exception;
diff --git a/modules/openapi-generator/src/main/resources/perl/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/perl/git_push.sh.mustache
index a2d75234837..8a32e53995d 100755
--- a/modules/openapi-generator/src/main/resources/perl/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/perl/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/perl/object.mustache b/modules/openapi-generator/src/main/resources/perl/object.mustache
index d5d8fdd8f40..71942b61b04 100644
--- a/modules/openapi-generator/src/main/resources/perl/object.mustache
+++ b/modules/openapi-generator/src/main/resources/perl/object.mustache
@@ -1,8 +1,8 @@
{{>partial_license}}
#
-# NOTE: This class is auto generated by the swagger code generator program.
+# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
# Do not edit the class manually.
-# Ref: https://github.com/swagger-api/swagger-codegen
+# Ref: https://openapi-generator.tech
#
{{#models}}
{{#model}}
@@ -29,8 +29,8 @@ use base ("Class::Accessor", "Class::Data::Inheritable");
#
#{{description}}
#
-# NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
-# REF: https://github.com/swagger-api/swagger-codegen
+# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). Do not edit the class manually.
+# REF: https://openapi-generator.tech
#
{{>BaseObject}}
diff --git a/modules/openapi-generator/src/main/resources/perl/object_test.mustache b/modules/openapi-generator/src/main/resources/perl/object_test.mustache
index 08ea9200a0a..368998d0feb 100644
--- a/modules/openapi-generator/src/main/resources/perl/object_test.mustache
+++ b/modules/openapi-generator/src/main/resources/perl/object_test.mustache
@@ -1,8 +1,8 @@
{{>partial_license}}
#
-# NOTE: This class is auto generated by the Swagger Codegen
+# NOTE: This class is auto generated by the OpenAPI Generator
# Please update the test cases below to test the model.
-# Ref: https://github.com/swagger-api/swagger-codegen
+# Ref: https://openapi-generator.tech
#
use Test::More tests => 2;
use Test::Exception;
diff --git a/modules/openapi-generator/src/main/resources/perl/partial_license.mustache b/modules/openapi-generator/src/main/resources/perl/partial_license.mustache
index 12128496044..93e3b88911c 100644
--- a/modules/openapi-generator/src/main/resources/perl/partial_license.mustache
+++ b/modules/openapi-generator/src/main/resources/perl/partial_license.mustache
@@ -10,7 +10,7 @@
{{/appDescription}}
{{#version}}OpenAPI spec version: {{version}}{{/version}}
{{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
-Generated by: https://github.com/swagger-api/swagger-codegen.git
+Generated by: https://openapi-generator.tech
=end comment
diff --git a/modules/openapi-generator/src/main/resources/php/ApiException.mustache b/modules/openapi-generator/src/main/resources/php/ApiException.mustache
index e8115d2238c..d4c5d316d1b 100644
--- a/modules/openapi-generator/src/main/resources/php/ApiException.mustache
+++ b/modules/openapi-generator/src/main/resources/php/ApiException.mustache
@@ -5,14 +5,14 @@
*
* @category Class
* @package {{invokerPackage}}
- * @author Swagger Codegen team
- * @link https://github.com/swagger-api/swagger-codegen
+ * @author OpenAPI Generator team
+ * @link https://openapi-generator.tech
*/
{{>partial_header}}
/**
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
@@ -25,8 +25,8 @@ use \Exception;
*
* @category Class
* @package {{invokerPackage}}
- * @author Swagger Codegen team
- * @link https://github.com/swagger-api/swagger-codegen
+ * @author OpenAPI Generator team
+ * @link https://openapi-generator.tech
*/
class ApiException extends Exception
{
diff --git a/modules/openapi-generator/src/main/resources/php/Configuration.mustache b/modules/openapi-generator/src/main/resources/php/Configuration.mustache
index 77a729cd429..6a2561b50c5 100644
--- a/modules/openapi-generator/src/main/resources/php/Configuration.mustache
+++ b/modules/openapi-generator/src/main/resources/php/Configuration.mustache
@@ -5,14 +5,14 @@
*
* @category Class
* @package {{invokerPackage}}
- * @author Swagger Codegen team
- * @link https://github.com/swagger-api/swagger-codegen
+ * @author OpenAPI Generator team
+ * @link https://openapi-generator.tech
*/
{{>partial_header}}
/**
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
@@ -24,8 +24,8 @@ namespace {{invokerPackage}};
*
* @category Class
* @package {{invokerPackage}}
- * @author Swagger Codegen team
- * @link https://github.com/swagger-api/swagger-codegen
+ * @author OpenAPI Generator team
+ * @link https://openapi-generator.tech
*/
class Configuration
{
diff --git a/modules/openapi-generator/src/main/resources/php/HeaderSelector.mustache b/modules/openapi-generator/src/main/resources/php/HeaderSelector.mustache
index 909beb134d2..76f82b67dbe 100644
--- a/modules/openapi-generator/src/main/resources/php/HeaderSelector.mustache
+++ b/modules/openapi-generator/src/main/resources/php/HeaderSelector.mustache
@@ -5,14 +5,14 @@
*
* @category Class
* @package {{invokerPackage}}
- * @author Swagger Codegen team
- * @link https://github.com/swagger-api/swagger-codegen
+ * @author OpenAPI Generator team
+ * @link https://openapi-generator.tech
*/
{{>partial_header}}
/**
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
@@ -25,8 +25,8 @@ use \Exception;
*
* @category Class
* @package {{invokerPackage}}
- * @author Swagger Codegen team
- * @link https://github.com/swagger-api/swagger-codegen
+ * @author OpenAPI Generator team
+ * @link https://openapi-generator.tech
*/
class HeaderSelector
{
diff --git a/modules/openapi-generator/src/main/resources/php/ModelInterface.mustache b/modules/openapi-generator/src/main/resources/php/ModelInterface.mustache
index 538bf661693..01a26a1243f 100644
--- a/modules/openapi-generator/src/main/resources/php/ModelInterface.mustache
+++ b/modules/openapi-generator/src/main/resources/php/ModelInterface.mustache
@@ -6,14 +6,14 @@
*
* @category Class
* @package {{modelPackage}}
- * @author Swagger Codegen team
- * @link https://github.com/swagger-api/swagger-codegen
+ * @author OpenAPI Generator team
+ * @link https://openapi-generator.tech
*/
{{>partial_header}}
/**
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
@@ -23,7 +23,7 @@ namespace {{modelPackage}};
* Interface abstracting model access.
*
* @package {{modelPackage}}
- * @author Swagger Codegen team
+ * @author OpenAPI Generator team
*/
interface ModelInterface
{
diff --git a/modules/openapi-generator/src/main/resources/php/ObjectSerializer.mustache b/modules/openapi-generator/src/main/resources/php/ObjectSerializer.mustache
index 460b69b705b..70e5a620612 100644
--- a/modules/openapi-generator/src/main/resources/php/ObjectSerializer.mustache
+++ b/modules/openapi-generator/src/main/resources/php/ObjectSerializer.mustache
@@ -6,14 +6,14 @@
*
* @category Class
* @package {{invokerPackage}}
- * @author Swagger Codegen team
- * @link https://github.com/swagger-api/swagger-codegen
+ * @author OpenAPI Generator team
+ * @link https://openapi-generator.tech
*/
{{>partial_header}}
/**
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
@@ -24,8 +24,8 @@ namespace {{invokerPackage}};
*
* @category Class
* @package {{invokerPackage}}
- * @author Swagger Codegen team
- * @link https://github.com/swagger-api/swagger-codegen
+ * @author OpenAPI Generator team
+ * @link https://openapi-generator.tech
*/
class ObjectSerializer
{
diff --git a/modules/openapi-generator/src/main/resources/php/README.mustache b/modules/openapi-generator/src/main/resources/php/README.mustache
index e17247ef7a2..459e6f4347c 100644
--- a/modules/openapi-generator/src/main/resources/php/README.mustache
+++ b/modules/openapi-generator/src/main/resources/php/README.mustache
@@ -3,7 +3,7 @@
{{{appDescription}}}
{{/appDescription}}
-This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
+This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: {{appVersion}}
{{#artifactVersion}}
diff --git a/modules/openapi-generator/src/main/resources/php/api.mustache b/modules/openapi-generator/src/main/resources/php/api.mustache
index e94d766c336..15a18da56bf 100644
--- a/modules/openapi-generator/src/main/resources/php/api.mustache
+++ b/modules/openapi-generator/src/main/resources/php/api.mustache
@@ -5,14 +5,14 @@
*
* @category Class
* @package {{invokerPackage}}
- * @author Swagger Codegen team
- * @link https://github.com/swagger-api/swagger-codegen
+ * @author OpenAPI Generator team
+ * @link https://openapi-generator.tech
*/
{{>partial_header}}
/**
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
@@ -34,8 +34,8 @@ use {{invokerPackage}}\ObjectSerializer;
*
* @category Class
* @package {{invokerPackage}}
- * @author Swagger Codegen team
- * @link https://github.com/swagger-api/swagger-codegen
+ * @author OpenAPI Generator team
+ * @link https://openapi-generator.tech
*/
{{#operations}}class {{classname}}
{
diff --git a/modules/openapi-generator/src/main/resources/php/api_test.mustache b/modules/openapi-generator/src/main/resources/php/api_test.mustache
index af93752482d..2a1c11368c3 100644
--- a/modules/openapi-generator/src/main/resources/php/api_test.mustache
+++ b/modules/openapi-generator/src/main/resources/php/api_test.mustache
@@ -5,14 +5,14 @@
*
* @category Class
* @package {{invokerPackage}}
- * @author Swagger Codegen team
- * @link https://github.com/swagger-api/swagger-codegen
+ * @author OpenAPI Generator team
+ * @link https://openapi-generator.tech
*/
{{>partial_header}}
/**
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Please update the test case below to test the endpoint.
*/
@@ -27,8 +27,8 @@ use \{{invokerPackage}}\ObjectSerializer;
*
* @category Class
* @package {{invokerPackage}}
- * @author Swagger Codegen team
- * @link https://github.com/swagger-api/swagger-codegen
+ * @author OpenAPI Generator team
+ * @link https://openapi-generator.tech
*/
{{#operations}}class {{classname}}Test extends \PHPUnit_Framework_TestCase
{
diff --git a/modules/openapi-generator/src/main/resources/php/composer.mustache b/modules/openapi-generator/src/main/resources/php/composer.mustache
index 0a7732fafea..0b120be5b45 100644
--- a/modules/openapi-generator/src/main/resources/php/composer.mustache
+++ b/modules/openapi-generator/src/main/resources/php/composer.mustache
@@ -10,12 +10,12 @@
"sdk",
"api"
],
- "homepage": "http://swagger.io",
+ "homepage": "http://openapi-generator.tech",
"license": "proprietary",
"authors": [
{
- "name": "Swagger and contributors",
- "homepage": "https://github.com/swagger-api/swagger-codegen"
+ "name": "OpenAPI-Generator contributors",
+ "homepage": "https://openapi-generator.tech"
}
],
"require": {
diff --git a/modules/openapi-generator/src/main/resources/php/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/php/git_push.sh.mustache
index f65b794638f..c344020eab5 100755
--- a/modules/openapi-generator/src/main/resources/php/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/php/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/php/model.mustache b/modules/openapi-generator/src/main/resources/php/model.mustache
index 9382cfa5ff5..c93c4cafe6b 100644
--- a/modules/openapi-generator/src/main/resources/php/model.mustache
+++ b/modules/openapi-generator/src/main/resources/php/model.mustache
@@ -8,14 +8,14 @@
*
* @category Class
* @package {{invokerPackage}}
- * @author Swagger Codegen team
- * @link https://github.com/swagger-api/swagger-codegen
+ * @author OpenAPI Generator team
+ * @link https://openapi-generator.tech
*/
{{>partial_header}}
/**
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
@@ -36,8 +36,8 @@ use \{{invokerPackage}}\ObjectSerializer;
* @description {{description}}
{{/description}}
* @package {{invokerPackage}}
- * @author Swagger Codegen team
- * @link https://github.com/swagger-api/swagger-codegen
+ * @author OpenAPI Generator team
+ * @link https://openapi-generator.tech
*/
{{#isEnum}}{{>model_enum}}{{/isEnum}}{{^isEnum}}{{>model_generic}}{{/isEnum}}
{{/model}}{{/models}}
diff --git a/modules/openapi-generator/src/main/resources/php/model_test.mustache b/modules/openapi-generator/src/main/resources/php/model_test.mustache
index 99064308f5f..d84105dfffc 100644
--- a/modules/openapi-generator/src/main/resources/php/model_test.mustache
+++ b/modules/openapi-generator/src/main/resources/php/model_test.mustache
@@ -8,14 +8,14 @@
*
* @category Class
* @package {{invokerPackage}}
- * @author Swagger Codegen team
- * @link https://github.com/swagger-api/swagger-codegen
+ * @author OpenAPI Generator team
+ * @link https://openapi-generator.tech
*/
{{>partial_header}}
/**
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Please update the test case below to test the model.
*/
@@ -27,8 +27,8 @@ namespace {{invokerPackage}};
* @category Class
* @description {{#description}}{{description}}{{/description}}{{^description}}{{classname}}{{/description}}
* @package {{invokerPackage}}
- * @author Swagger Codegen team
- * @link https://github.com/swagger-api/swagger-codegen
+ * @author OpenAPI Generator team
+ * @link https://openapi-generator.tech
*/
class {{classname}}Test extends \PHPUnit_Framework_TestCase
{
diff --git a/modules/openapi-generator/src/main/resources/php/partial_header.mustache b/modules/openapi-generator/src/main/resources/php/partial_header.mustache
index 4cf2337cace..90b8e6608f8 100644
--- a/modules/openapi-generator/src/main/resources/php/partial_header.mustache
+++ b/modules/openapi-generator/src/main/resources/php/partial_header.mustache
@@ -9,6 +9,6 @@
{{/appDescription}}
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
- * Generated by: https://github.com/swagger-api/swagger-codegen.git
- * Swagger Codegen version: {{{generatorVersion}}}
+ * Generated by: https://openapi-generator.tech
+ * OpenAPI Generator version: {{{generatorVersion}}}
*/
diff --git a/modules/openapi-generator/src/main/resources/pistache-server/README.mustache b/modules/openapi-generator/src/main/resources/pistache-server/README.mustache
index f2ef56d8b5b..687e6748333 100644
--- a/modules/openapi-generator/src/main/resources/pistache-server/README.mustache
+++ b/modules/openapi-generator/src/main/resources/pistache-server/README.mustache
@@ -1,13 +1,13 @@
# REST API Server for {{appName}}
## Overview
-This API Server was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project.
+This API Server was generated by the [openapi-generator](https://openapi-generator.tech) project.
It uses the [Pistache](https://github.com/oktal/pistache) Framework.
## Files organization
The Pistache C++ REST server generator creates three folders:
-- `api`: This folder contains the handlers for each method specified in the swagger definition. Every handler extracts
+- `api`: This folder contains the handlers for each method specified in the OpenAPI definition. Every handler extracts
the path and body parameters (if any) from the requests and tries to parse and possibly validate them.
Once this step is completed, the main API class calls the corresponding abstract method that should be implemented
by the developer (a basic implementation is provided under the `impl` folder)
@@ -16,7 +16,7 @@ which extends the main API class and implements the abstract methods.
Every method receives the path and body parameters as constant reference variables and a reference to the response
object, that should be filled with the right response and sent at the end of the method with the command:
response.send(returnCode, responseBody, [mimeType])
-- `model`: This folder contains the corresponding class for every object schema found in the swagger specification.
+- `model`: This folder contains the corresponding class for every object schema found in the OpenAPI specification.
The main folder contains also a file with a main that can be used to start the server.
Of course, is you should customize this file based on your needs
diff --git a/modules/openapi-generator/src/main/resources/pistache-server/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/pistache-server/licenseInfo.mustache
index aee680977df..f53b5d179fa 100644
--- a/modules/openapi-generator/src/main/resources/pistache-server/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/pistache-server/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
-* NOTE: This class is auto generated by the swagger code generator program.
-* https://github.com/swagger-api/swagger-codegen.git
+* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+* https://openapi-generator.tech
* Do not edit the class manually.
*/
\ No newline at end of file
diff --git a/modules/openapi-generator/src/main/resources/powershell/Build.ps1.mustache b/modules/openapi-generator/src/main/resources/powershell/Build.ps1.mustache
index 4cb78dce827..e69a7a07948 100644
--- a/modules/openapi-generator/src/main/resources/powershell/Build.ps1.mustache
+++ b/modules/openapi-generator/src/main/resources/powershell/Build.ps1.mustache
@@ -53,7 +53,7 @@ Copy-Item "$ClientPath\bin\*.dll" $BinPath
$Manifest = @{
Path = "$ScriptDir\src\{{{packageName}}}\{{{packageName}}}.psd1"
- Author = 'Swagger Codegen Team'
+ Author = 'OpenAPI Generator Team'
CompanyName = 'swagger.io'
Description = '{{{packageName}}} - the PowerShell module for {{{appName}}}'
diff --git a/modules/openapi-generator/src/main/resources/powershell/README.mustache b/modules/openapi-generator/src/main/resources/powershell/README.mustache
index e1351f54373..0ff7e5d25f3 100644
--- a/modules/openapi-generator/src/main/resources/powershell/README.mustache
+++ b/modules/openapi-generator/src/main/resources/powershell/README.mustache
@@ -4,7 +4,7 @@
{{{appDescription}}}
{{/appDescription}}
-This PowerShell module is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
+This PowerShell module is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: {{appVersion}}
- SDK version: {{packageVersion}}
@@ -22,7 +22,7 @@ This PowerShell module is automatically generated by the [Swagger Codegen](https
## Dependencies
-- C# API client generated by Swagger Codegen AND should be located in {{{csharpClientPath}}} as stated in Build.ps1
+- C# API client generated by OpenAPI Generator AND should be located in {{{csharpClientPath}}} as stated in Build.ps1
## Installation
diff --git a/modules/openapi-generator/src/main/resources/powershell/about_IO.Swagger.help.txt.mustache b/modules/openapi-generator/src/main/resources/powershell/about_IO.Swagger.help.txt.mustache
index c711fad9169..10b226f136e 100644
--- a/modules/openapi-generator/src/main/resources/powershell/about_IO.Swagger.help.txt.mustache
+++ b/modules/openapi-generator/src/main/resources/powershell/about_IO.Swagger.help.txt.mustache
@@ -9,7 +9,7 @@ LONG DESCRIPTION
{{{appDescription}}}
{{/appDescription}}
- This PowerShell module is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
+ This PowerShell module is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: {{appVersion}}
- SDK version: {{packageVersion}}
diff --git a/modules/openapi-generator/src/main/resources/powershell/api_test.mustache b/modules/openapi-generator/src/main/resources/powershell/api_test.mustache
index b85e6df53df..faa54d5e17f 100644
--- a/modules/openapi-generator/src/main/resources/powershell/api_test.mustache
+++ b/modules/openapi-generator/src/main/resources/powershell/api_test.mustache
@@ -1,4 +1,4 @@
-# This file is auto-generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen)
+# This file is auto-generated by OpenAPI Generator (https://openapi-generator.tech)
# Please replace "TEST_VALUE" with a proper value and uncomment the code for testing the function
Describe '{{{packageName}}} {{{classname}}}' {
diff --git a/modules/openapi-generator/src/main/resources/python/README.mustache b/modules/openapi-generator/src/main/resources/python/README.mustache
index c1355be7784..184dbdc61d3 100644
--- a/modules/openapi-generator/src/main/resources/python/README.mustache
+++ b/modules/openapi-generator/src/main/resources/python/README.mustache
@@ -3,7 +3,7 @@
{{{appDescription}}}
{{/appDescription}}
-This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
+This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: {{appVersion}}
- Package version: {{packageVersion}}
diff --git a/modules/openapi-generator/src/main/resources/python/api.mustache b/modules/openapi-generator/src/main/resources/python/api.mustache
index 512d2570b12..1925d4d1644 100644
--- a/modules/openapi-generator/src/main/resources/python/api.mustache
+++ b/modules/openapi-generator/src/main/resources/python/api.mustache
@@ -14,10 +14,10 @@ from {{packageName}}.api_client import ApiClient
{{#operations}}
class {{classname}}(object):
- """NOTE: This class is auto generated by the swagger code generator program.
+ """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Do not edit the class manually.
- Ref: https://github.com/swagger-api/swagger-codegen
+ Ref: https://openapi-generator.tech
"""
def __init__(self, api_client=None):
diff --git a/modules/openapi-generator/src/main/resources/python/api_client.mustache b/modules/openapi-generator/src/main/resources/python/api_client.mustache
index 0339fbd81ab..4b7b2bf86af 100644
--- a/modules/openapi-generator/src/main/resources/python/api_client.mustache
+++ b/modules/openapi-generator/src/main/resources/python/api_client.mustache
@@ -30,8 +30,8 @@ class ApiClient(object):
the methods and models for each application are generated from the Swagger
templates.
- NOTE: This class is auto generated by the swagger code generator program.
- Ref: https://github.com/swagger-api/swagger-codegen
+ NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ Ref: https://openapi-generator.tech
Do not edit the class manually.
:param configuration: .Configuration object for this client
diff --git a/modules/openapi-generator/src/main/resources/python/configuration.mustache b/modules/openapi-generator/src/main/resources/python/configuration.mustache
index 84e6ad4d208..72702d8d1f1 100644
--- a/modules/openapi-generator/src/main/resources/python/configuration.mustache
+++ b/modules/openapi-generator/src/main/resources/python/configuration.mustache
@@ -29,9 +29,9 @@ class TypeWithDefault(type):
class Configuration(six.with_metaclass(TypeWithDefault, object)):
- """NOTE: This class is auto generated by the swagger code generator program.
+ """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
- Ref: https://github.com/swagger-api/swagger-codegen
+ Ref: https://openapi-generator.tech
Do not edit the class manually.
"""
diff --git a/modules/openapi-generator/src/main/resources/python/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/python/git_push.sh.mustache
index a2d75234837..8a32e53995d 100755
--- a/modules/openapi-generator/src/main/resources/python/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/python/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/python/model.mustache b/modules/openapi-generator/src/main/resources/python/model.mustache
index 7184f4192ab..9d7a6f9a6be 100644
--- a/modules/openapi-generator/src/main/resources/python/model.mustache
+++ b/modules/openapi-generator/src/main/resources/python/model.mustache
@@ -15,7 +15,7 @@ import six
{{#models}}
{{#model}}
class {{classname}}(object):
- """NOTE: This class is auto generated by the swagger code generator program.
+ """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Do not edit the class manually.
"""{{#allowableValues}}
diff --git a/modules/openapi-generator/src/main/resources/python/partial_header.mustache b/modules/openapi-generator/src/main/resources/python/partial_header.mustache
index 513ad04cdbd..929e512e08a 100644
--- a/modules/openapi-generator/src/main/resources/python/partial_header.mustache
+++ b/modules/openapi-generator/src/main/resources/python/partial_header.mustache
@@ -9,5 +9,5 @@
{{#version}}OpenAPI spec version: {{{version}}}{{/version}}
{{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
- Generated by: https://github.com/swagger-api/swagger-codegen.git
+ Generated by: https://openapi-generator.tech
"""
diff --git a/modules/openapi-generator/src/main/resources/qt5cpp/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/qt5cpp/licenseInfo.mustache
index bbd8742e52a..469fb03940f 100644
--- a/modules/openapi-generator/src/main/resources/qt5cpp/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/qt5cpp/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
diff --git a/modules/openapi-generator/src/main/resources/r/NAMESPACE.mustache b/modules/openapi-generator/src/main/resources/r/NAMESPACE.mustache
index 0fe95acd6df..b5fb4b0fa88 100644
--- a/modules/openapi-generator/src/main/resources/r/NAMESPACE.mustache
+++ b/modules/openapi-generator/src/main/resources/r/NAMESPACE.mustache
@@ -1,4 +1,4 @@
-# Generated by swagger-codegen: https://github.com/swagger-api/swagger-codegen
+# Generated by openapi-generator: https://openapi-generator.tech
# Do not edit by hand
{{#models}}
diff --git a/modules/openapi-generator/src/main/resources/r/README.mustache b/modules/openapi-generator/src/main/resources/r/README.mustache
index a79bef44805..06b71ec9288 100644
--- a/modules/openapi-generator/src/main/resources/r/README.mustache
+++ b/modules/openapi-generator/src/main/resources/r/README.mustache
@@ -5,7 +5,7 @@
{{/appDescription}}
## Overview
-This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [OpenAPI/Swagger spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client.
+This API client was generated by the [openapi-generator](https://openapi-generator.tech) project. By using the [OpenAPI spec](https://openapis.org) from a remote server, you can easily generate an API client.
- API version: {{appVersion}}
- Package version: {{packageVersion}}
diff --git a/modules/openapi-generator/src/main/resources/r/api_client.mustache b/modules/openapi-generator/src/main/resources/r/api_client.mustache
index 3d2db59bbed..4b2a33af251 100644
--- a/modules/openapi-generator/src/main/resources/r/api_client.mustache
+++ b/modules/openapi-generator/src/main/resources/r/api_client.mustache
@@ -8,8 +8,8 @@
#' the methods and models for each application are generated from the Swagger
#' templates.
#'
-#' NOTE: This class is auto generated by the swagger code generator program.
-#' Ref: https://github.com/swagger-api/swagger-codegen
+#' NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+#' Ref: https://openapi-generator.tech
#' Do not edit the class manually.
#'
#' @export
diff --git a/modules/openapi-generator/src/main/resources/r/description.mustache b/modules/openapi-generator/src/main/resources/r/description.mustache
index d79645cdafe..630619e38bc 100644
--- a/modules/openapi-generator/src/main/resources/r/description.mustache
+++ b/modules/openapi-generator/src/main/resources/r/description.mustache
@@ -1,7 +1,7 @@
Package: {{{packageName}}}
Title: R Package Client for {{{appName}}}
Version: {{packageVersion}}
-Authors@R: person("Swagger Codegen community", email = "apiteam@swagger.io", role = c("aut", "cre"))
+Authors@R: person("OpenAPI Generator community", email = "apiteam@swagger.io", role = c("aut", "cre"))
Description: {{{appDescription}}}{{^appDescription}}R Package Client for {{{appName}}}{{/appDescription}}
Depends: R (>= 3.3.3)
Encoding: UTF-8
diff --git a/modules/openapi-generator/src/main/resources/r/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/r/git_push.sh.mustache
index f65b794638f..c344020eab5 100755
--- a/modules/openapi-generator/src/main/resources/r/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/r/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/r/partial_header.mustache b/modules/openapi-generator/src/main/resources/r/partial_header.mustache
index 7e8a2e0a27b..d4e16330339 100644
--- a/modules/openapi-generator/src/main/resources/r/partial_header.mustache
+++ b/modules/openapi-generator/src/main/resources/r/partial_header.mustache
@@ -8,4 +8,4 @@
{{/appDescription}}
# {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
# {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
-# Generated by: https://github.com/swagger-api/swagger-codegen.git
+# Generated by: https://openapi-generator.tech
diff --git a/modules/openapi-generator/src/main/resources/restbed/README.mustache b/modules/openapi-generator/src/main/resources/restbed/README.mustache
index a8850271a9b..4151b013568 100644
--- a/modules/openapi-generator/src/main/resources/restbed/README.mustache
+++ b/modules/openapi-generator/src/main/resources/restbed/README.mustache
@@ -1,7 +1,7 @@
# REST API Server for {{appName}}
## Overview
-This API Server was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project.
+This API Server was generated by the [openapi-generator](https://openapi-generator.tech) project.
It uses the [Restbed](https://github.com/Corvusoft/restbed) Framework.
diff --git a/modules/openapi-generator/src/main/resources/restbed/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/restbed/git_push.sh.mustache
index c7a337655c3..4504311e405 100644
--- a/modules/openapi-generator/src/main/resources/restbed/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/restbed/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-cpprest "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-cpprest "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/restbed/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/restbed/licenseInfo.mustache
index 2931118038b..5fcadb8a1d7 100644
--- a/modules/openapi-generator/src/main/resources/restbed/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/restbed/licenseInfo.mustache
@@ -6,6 +6,6 @@
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
* NOTE: This class is auto generated by the swagger code generator {{{generatorVersion}}}.
- * https://github.com/swagger-api/swagger-codegen.git
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
diff --git a/modules/openapi-generator/src/main/resources/ruby/README.mustache b/modules/openapi-generator/src/main/resources/ruby/README.mustache
index 0b3cbf94638..42e0f170ccf 100644
--- a/modules/openapi-generator/src/main/resources/ruby/README.mustache
+++ b/modules/openapi-generator/src/main/resources/ruby/README.mustache
@@ -6,7 +6,7 @@
{{{appDescription}}}
{{/appDescription}}
-This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
+This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: {{appVersion}}
- Package version: {{gemVersion}}
diff --git a/modules/openapi-generator/src/main/resources/ruby/api_client.mustache b/modules/openapi-generator/src/main/resources/ruby/api_client.mustache
index cddd6498f9d..33feac7acdf 100644
--- a/modules/openapi-generator/src/main/resources/ruby/api_client.mustache
+++ b/modules/openapi-generator/src/main/resources/ruby/api_client.mustache
@@ -308,7 +308,7 @@ module {{moduleName}}
# Sets user agent in HTTP header
#
- # @param [String] user_agent User agent (e.g. swagger-codegen/ruby/1.0.0)
+ # @param [String] user_agent User agent (e.g. openapi-generator/ruby/1.0.0)
def user_agent=(user_agent)
@user_agent = user_agent
@default_headers['User-Agent'] = @user_agent
diff --git a/modules/openapi-generator/src/main/resources/ruby/api_info.mustache b/modules/openapi-generator/src/main/resources/ruby/api_info.mustache
index d308d7576c1..207e8fb31c6 100644
--- a/modules/openapi-generator/src/main/resources/ruby/api_info.mustache
+++ b/modules/openapi-generator/src/main/resources/ruby/api_info.mustache
@@ -8,5 +8,5 @@
{{/appDescription}}
{{#version}}OpenAPI spec version: {{version}}{{/version}}
{{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
-Generated by: https://github.com/swagger-api/swagger-codegen.git
-Swagger Codegen version: {{{generatorVersion}}}
+Generated by: https://openapi-generator.tech
+OpenAPI Generator version: {{{generatorVersion}}}
diff --git a/modules/openapi-generator/src/main/resources/ruby/api_test.mustache b/modules/openapi-generator/src/main/resources/ruby/api_test.mustache
index 3e564492365..ee3c6e18b55 100644
--- a/modules/openapi-generator/src/main/resources/ruby/api_test.mustache
+++ b/modules/openapi-generator/src/main/resources/ruby/api_test.mustache
@@ -6,7 +6,7 @@ require 'spec_helper'
require 'json'
# Unit tests for {{moduleName}}::{{classname}}
-# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
+# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
{{#operations}}describe '{{classname}}' do
before do
diff --git a/modules/openapi-generator/src/main/resources/ruby/gemspec.mustache b/modules/openapi-generator/src/main/resources/ruby/gemspec.mustache
index b17260ca527..b77bbb50367 100644
--- a/modules/openapi-generator/src/main/resources/ruby/gemspec.mustache
+++ b/modules/openapi-generator/src/main/resources/ruby/gemspec.mustache
@@ -11,9 +11,9 @@ Gem::Specification.new do |s|
s.name = "{{gemName}}{{^gemName}}{{{appName}}}{{/gemName}}"
s.version = {{moduleName}}::VERSION
s.platform = Gem::Platform::RUBY
- s.authors = ["{{gemAuthor}}{{^gemAuthor}}Swagger-Codegen{{/gemAuthor}}"]
+ s.authors = ["{{gemAuthor}}{{^gemAuthor}}OpenAPI-Generator{{/gemAuthor}}"]
s.email = ["{{gemAuthorEmail}}{{^gemAuthorEmail}}{{infoEmail}}{{/gemAuthorEmail}}"]
- s.homepage = "{{gemHomepage}}{{^gemHomepage}}https://github.com/swagger-api/swagger-codegen{{/gemHomepage}}"
+ s.homepage = "{{gemHomepage}}{{^gemHomepage}}https://openapi-generator.tech{{/gemHomepage}}"
s.summary = "{{gemSummary}}{{^gemSummary}}{{{appName}}} Ruby Gem{{/gemSummary}}"
s.description = "{{gemDescription}}{{^gemDescription}}{{{appDescription}}}{{^appDescription}}{{{appName}}} Ruby Gem{{/appDescription}}{{/gemDescription}}"
{{#gemLicense}}
diff --git a/modules/openapi-generator/src/main/resources/ruby/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/ruby/git_push.sh.mustache
index 62855652e65..5807579d6ef 100755
--- a/modules/openapi-generator/src/main/resources/ruby/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/ruby/git_push.sh.mustache
@@ -1,10 +1,10 @@
#!/bin/sh
#
-# Generated by: https://github.com/swagger-api/swagger-codegen.git
+# Generated by: https://openapi-generator.tech
#
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/ruby/gitignore.mustache b/modules/openapi-generator/src/main/resources/ruby/gitignore.mustache
index c021594bf3f..05a17cb8f0a 100644
--- a/modules/openapi-generator/src/main/resources/ruby/gitignore.mustache
+++ b/modules/openapi-generator/src/main/resources/ruby/gitignore.mustache
@@ -1,4 +1,4 @@
-# Generated by: https://github.com/swagger-api/swagger-codegen.git
+# Generated by: https://openapi-generator.tech
#
*.gem
diff --git a/modules/openapi-generator/src/main/resources/ruby/model_test.mustache b/modules/openapi-generator/src/main/resources/ruby/model_test.mustache
index 60105c0db6a..c31afc3fab3 100644
--- a/modules/openapi-generator/src/main/resources/ruby/model_test.mustache
+++ b/modules/openapi-generator/src/main/resources/ruby/model_test.mustache
@@ -7,7 +7,7 @@ require 'json'
require 'date'
# Unit tests for {{moduleName}}::{{classname}}
-# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
+# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
{{#models}}
{{#model}}
diff --git a/modules/openapi-generator/src/main/resources/ruby/rubocop.mustache b/modules/openapi-generator/src/main/resources/ruby/rubocop.mustache
index 19a777e1615..9bc9d341d8b 100644
--- a/modules/openapi-generator/src/main/resources/ruby/rubocop.mustache
+++ b/modules/openapi-generator/src/main/resources/ruby/rubocop.mustache
@@ -1,5 +1,5 @@
# This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
-# Automatically generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen)
+# Automatically generated by OpenAPI Generator (https://openapi-generator.tech)
AllCops:
TargetRubyVersion: 2.2
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
diff --git a/modules/openapi-generator/src/main/resources/rust-server/README.mustache b/modules/openapi-generator/src/main/resources/rust-server/README.mustache
index 6e220ec9c2c..8d0986e4c45 100644
--- a/modules/openapi-generator/src/main/resources/rust-server/README.mustache
+++ b/modules/openapi-generator/src/main/resources/rust-server/README.mustache
@@ -5,14 +5,14 @@
{{/appDescription}}
## Overview
-This client/server was generated by the [swagger-codegen]
-(https://github.com/swagger-api/swagger-codegen) project.
+This client/server was generated by the [openapi-generator]
+(https://openapi-generator.tech) project.
By using the [OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification) from a remote server, you can easily generate a server stub.
-
To see how to make this your own, look here:
-[README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md)
+[README]((https://openapi-generator.tech))
- API version: {{appVersion}}
- Build date: {{generatedDate}}
diff --git a/modules/openapi-generator/src/main/resources/rust-server/models.mustache b/modules/openapi-generator/src/main/resources/rust-server/models.mustache
index 51f25a2accd..eae49d6e7cb 100644
--- a/modules/openapi-generator/src/main/resources/rust-server/models.mustache
+++ b/modules/openapi-generator/src/main/resources/rust-server/models.mustache
@@ -142,7 +142,7 @@ impl ::std::ops::DerefMut for {{classname}} {
#[serde(rename = "{{xmlName}}")]{{/xmlName}}
pub struct {{classname}} {
{{#vars}}{{#description}} /// {{{description}}}
-{{/description}}{{#isEnum}} // Note: inline enums are not fully supported by swagger-codegen
+{{/description}}{{#isEnum}} // Note: inline enums are not fully supported by openapi-generator
{{/isEnum}} #[serde(rename = "{{baseName}}")]{{#vendorExtensions}}{{#itemXmlName}}
#[serde(serialize_with = "wrap_in_{{itemXmlName}}")]{{/itemXmlName}}{{/vendorExtensions}}{{#required}}
pub {{name}}: {{#vendorExtensions}}{{#x-nullable}}swagger::Nullable<{{/x-nullable}}{{/vendorExtensions}}{{{datatype}}}{{#vendorExtensions}}{{#x-nullable}}>{{/x-nullable}}{{/vendorExtensions}},
diff --git a/modules/openapi-generator/src/main/resources/rust/Cargo.mustache b/modules/openapi-generator/src/main/resources/rust/Cargo.mustache
index f3b94581c17..6b524874aad 100644
--- a/modules/openapi-generator/src/main/resources/rust/Cargo.mustache
+++ b/modules/openapi-generator/src/main/resources/rust/Cargo.mustache
@@ -1,7 +1,7 @@
[package]
name = "{{{packageName}}}"
version = "{{{packageVersion}}}"
-authors = ["Swagger Codegen team and contributors"]
+authors = ["OpenAPI Generator team and contributors"]
[dependencies]
serde = "1.0"
diff --git a/modules/openapi-generator/src/main/resources/rust/README.mustache b/modules/openapi-generator/src/main/resources/rust/README.mustache
index 3b58ac40715..edc3011f8df 100644
--- a/modules/openapi-generator/src/main/resources/rust/README.mustache
+++ b/modules/openapi-generator/src/main/resources/rust/README.mustache
@@ -5,7 +5,7 @@
{{/appDescription}}
## Overview
-This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client.
+This API client was generated by the [openapi-generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client.
- API version: {{appVersion}}
- Package version: {{packageVersion}}
diff --git a/modules/openapi-generator/src/main/resources/rust/configuration.mustache b/modules/openapi-generator/src/main/resources/rust/configuration.mustache
index ff2d673b27c..a30f5014e35 100644
--- a/modules/openapi-generator/src/main/resources/rust/configuration.mustache
+++ b/modules/openapi-generator/src/main/resources/rust/configuration.mustache
@@ -23,7 +23,7 @@ impl Configuration {
pub fn new(client: hyper::client::Client) -> Configuration {
Configuration {
base_path: "{{{basePath}}}".to_owned(),
- user_agent: {{#httpUserAgent}}Some("{{{.}}}".to_owned()){{/httpUserAgent}}{{^httpUserAgent}}Some("Swagger-Codegen/{{version}}/rust".to_owned()){{/httpUserAgent}},
+ user_agent: {{#httpUserAgent}}Some("{{{.}}}".to_owned()){{/httpUserAgent}}{{^httpUserAgent}}Some("OpenAPI-Generator/{{version}}/rust".to_owned()){{/httpUserAgent}},
client: client,
basic_auth: None,
oauth_access_token: None,
diff --git a/modules/openapi-generator/src/main/resources/rust/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/rust/git_push.sh.mustache
index a2d75234837..8a32e53995d 100755
--- a/modules/openapi-generator/src/main/resources/rust/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/rust/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/rust/partial_header.mustache b/modules/openapi-generator/src/main/resources/rust/partial_header.mustache
index b655ebb8269..39b11514ee9 100644
--- a/modules/openapi-generator/src/main/resources/rust/partial_header.mustache
+++ b/modules/openapi-generator/src/main/resources/rust/partial_header.mustache
@@ -9,5 +9,5 @@
{{/appDescription}}
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
- * Generated by: https://github.com/swagger-api/swagger-codegen.git
+ * Generated by: https://openapi-generator.tech
*/
diff --git a/modules/openapi-generator/src/main/resources/scala-lagom-server/README.mustache b/modules/openapi-generator/src/main/resources/scala-lagom-server/README.mustache
index 938d7331cb7..d2f6fc36521 100644
--- a/modules/openapi-generator/src/main/resources/scala-lagom-server/README.mustache
+++ b/modules/openapi-generator/src/main/resources/scala-lagom-server/README.mustache
@@ -1,9 +1,9 @@
-# Swagger generated scala-lagomApi
+# OpenAPI generated scala-lagomApi
## Overview
-This server was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the
-[OpenAPI-Spec](https://github.com/swagger-api/swagger-core/wiki) from a remote server, you can easily generate a server stub. This
-is an example of building a swagger-enabled lagon-api.
+This server was generated by the [openapi-generator](https://openapi-generator.tech) project. By using the
+[OpenAPI-Spec](https://openapis.org) from a remote server, you can easily generate a server stub. This
+is an example of building a OpenAPI-enabled lagon-api.
This example uses the [lagomframework](https://www.lagomframework.com) lagomframework.
diff --git a/modules/openapi-generator/src/main/resources/scala-lagom-server/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/scala-lagom-server/licenseInfo.mustache
index bbd8742e52a..469fb03940f 100644
--- a/modules/openapi-generator/src/main/resources/scala-lagom-server/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/scala-lagom-server/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
diff --git a/modules/openapi-generator/src/main/resources/scala/README.mustache b/modules/openapi-generator/src/main/resources/scala/README.mustache
index 85c72cd1d16..2ace2602c68 100644
--- a/modules/openapi-generator/src/main/resources/scala/README.mustache
+++ b/modules/openapi-generator/src/main/resources/scala/README.mustache
@@ -6,7 +6,7 @@
# VERSION
-Automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
+Automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: {{appVersion}}
- Package version: {{moduleVersion}}
@@ -104,17 +104,17 @@ Class | Method | HTTP request | Description
# BUILDING YOUR LIBRARY
-See the homepage `https://github.com/swagger-api/swagger-codegen` for full details.
+See the homepage `https://openapi-generator.tech` for full details.
But briefly, clone the git repository, build the codegen codebase, set up your build
config file, then run the API build script. You will need git, Java 7 or 8 and Apache
maven 3.0.3 or better already installed.
Your library files will be built under `WWW::MyProjectName`.
- $ git clone https://github.com/swagger-api/swagger-codegen.git
- $ cd swagger-codegen
+ $ git clone https://github.com/openapitools/openapi-generator
+ $ cd openapi-generator
$ mvn package
- $ java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate \
+ $ java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate \
-i [URL or file path to JSON swagger API spec] \
-l akka-scala \
-c /path/to/config/file.json \
diff --git a/modules/openapi-generator/src/main/resources/scala/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/scala/git_push.sh.mustache
index a2d75234837..8a32e53995d 100755
--- a/modules/openapi-generator/src/main/resources/scala/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/scala/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/scala/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/scala/licenseInfo.mustache
index bbd8742e52a..469fb03940f 100644
--- a/modules/openapi-generator/src/main/resources/scala/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/scala/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
diff --git a/modules/openapi-generator/src/main/resources/scalatra/README.mustache b/modules/openapi-generator/src/main/resources/scalatra/README.mustache
index a6ac34b03e0..95891dd40f5 100644
--- a/modules/openapi-generator/src/main/resources/scalatra/README.mustache
+++ b/modules/openapi-generator/src/main/resources/scalatra/README.mustache
@@ -1,8 +1,8 @@
-# Swagger generated server
+# OpenAPI generated server
## Overview
-This server was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the
-[OpenAPI-Spec](https://github.com/swagger-api/swagger-core/wiki) from a remote server, you can easily generate a server stub. This
-is an example of building a swagger-enabled scalatra server.
+This server was generated by the [openapi-generator](https://openapi-generator.tech) project. By using the
+[OpenAPI-Spec](https://openapis.org) from a remote server, you can easily generate a server stub. This
+is an example of building a OpenAPI-enabled scalatra server.
This example uses the [scalatra](http://scalatra.org/) framework.
diff --git a/modules/openapi-generator/src/main/resources/scalatra/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/scalatra/licenseInfo.mustache
index adabafe0728..a00e7910015 100644
--- a/modules/openapi-generator/src/main/resources/scalatra/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/scalatra/licenseInfo.mustache
@@ -5,6 +5,6 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
*/
diff --git a/modules/openapi-generator/src/main/resources/swagger-static/index.mustache b/modules/openapi-generator/src/main/resources/swagger-static/index.mustache
index 3cfbea753c8..bce16c47ea3 100644
--- a/modules/openapi-generator/src/main/resources/swagger-static/index.mustache
+++ b/modules/openapi-generator/src/main/resources/swagger-static/index.mustache
@@ -14,7 +14,7 @@
diff --git a/modules/openapi-generator/src/main/resources/swagger-static/package.mustache b/modules/openapi-generator/src/main/resources/swagger-static/package.mustache
index 890b29a0555..4ee029067f4 100644
--- a/modules/openapi-generator/src/main/resources/swagger-static/package.mustache
+++ b/modules/openapi-generator/src/main/resources/swagger-static/package.mustache
@@ -1,5 +1,5 @@
{
- "name": "swagger-docs",
+ "name": "openapi-docs",
"version": "1.0.0",
"main": "main.js",
"engines": {
diff --git a/modules/openapi-generator/src/main/resources/swift/APIHelper.mustache b/modules/openapi-generator/src/main/resources/swift/APIHelper.mustache
index b91cd27851a..2e354e54181 100644
--- a/modules/openapi-generator/src/main/resources/swift/APIHelper.mustache
+++ b/modules/openapi-generator/src/main/resources/swift/APIHelper.mustache
@@ -1,7 +1,7 @@
// APIHelper.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
class APIHelper {
diff --git a/modules/openapi-generator/src/main/resources/swift/APIs.mustache b/modules/openapi-generator/src/main/resources/swift/APIs.mustache
index e6f6e82479a..327752277de 100644
--- a/modules/openapi-generator/src/main/resources/swift/APIs.mustache
+++ b/modules/openapi-generator/src/main/resources/swift/APIs.mustache
@@ -1,7 +1,7 @@
// APIs.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift/AlamofireImplementations.mustache b/modules/openapi-generator/src/main/resources/swift/AlamofireImplementations.mustache
index 506770347a7..e1a9756fba0 100644
--- a/modules/openapi-generator/src/main/resources/swift/AlamofireImplementations.mustache
+++ b/modules/openapi-generator/src/main/resources/swift/AlamofireImplementations.mustache
@@ -1,7 +1,7 @@
// AlamofireImplementations.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Alamofire
diff --git a/modules/openapi-generator/src/main/resources/swift/Extensions.mustache b/modules/openapi-generator/src/main/resources/swift/Extensions.mustache
index 40b7e813657..786154ee1bb 100644
--- a/modules/openapi-generator/src/main/resources/swift/Extensions.mustache
+++ b/modules/openapi-generator/src/main/resources/swift/Extensions.mustache
@@ -1,7 +1,7 @@
// Extensions.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Alamofire{{#usePromiseKit}}
diff --git a/modules/openapi-generator/src/main/resources/swift/Models.mustache b/modules/openapi-generator/src/main/resources/swift/Models.mustache
index 66b172f342e..700cb2a4a50 100644
--- a/modules/openapi-generator/src/main/resources/swift/Models.mustache
+++ b/modules/openapi-generator/src/main/resources/swift/Models.mustache
@@ -1,7 +1,7 @@
// Models.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift/Podspec.mustache b/modules/openapi-generator/src/main/resources/swift/Podspec.mustache
index 98704427681..8037dec3874 100644
--- a/modules/openapi-generator/src/main/resources/swift/Podspec.mustache
+++ b/modules/openapi-generator/src/main/resources/swift/Podspec.mustache
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
s.docset_url = '{{podDocsetURL}}'
{{/podDocsetURL}}
s.license = {{#podLicense}}{{& podLicense}}{{/podLicense}}{{^podLicense}}'Proprietary'{{/podLicense}}
- s.homepage = '{{podHomepage}}{{^podHomepage}}https://github.com/swagger-api/swagger-codegen{{/podHomepage}}'
+ s.homepage = '{{podHomepage}}{{^podHomepage}}https://openapi-generator.tech{{/podHomepage}}'
s.summary = '{{podSummary}}{{^podSummary}}{{projectName}} Swift SDK{{/podSummary}}'
{{#podDescription}}
s.description = '{{podDescription}}'
diff --git a/modules/openapi-generator/src/main/resources/swift/api.mustache b/modules/openapi-generator/src/main/resources/swift/api.mustache
index 763269f1342..463faeb890c 100644
--- a/modules/openapi-generator/src/main/resources/swift/api.mustache
+++ b/modules/openapi-generator/src/main/resources/swift/api.mustache
@@ -1,8 +1,8 @@
{{#operations}}//
// {{classname}}.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Alamofire{{#usePromiseKit}}
diff --git a/modules/openapi-generator/src/main/resources/swift/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/swift/git_push.sh.mustache
index a2d75234837..8a32e53995d 100755
--- a/modules/openapi-generator/src/main/resources/swift/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/swift/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/swift/model.mustache b/modules/openapi-generator/src/main/resources/swift/model.mustache
index d182a5f0962..c9cd5984e0b 100644
--- a/modules/openapi-generator/src/main/resources/swift/model.mustache
+++ b/modules/openapi-generator/src/main/resources/swift/model.mustache
@@ -1,8 +1,8 @@
{{#models}}{{#model}}//
// {{classname}}.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift3/APIHelper.mustache b/modules/openapi-generator/src/main/resources/swift3/APIHelper.mustache
index 4b90cfc5b4e..d99d4858ff8 100644
--- a/modules/openapi-generator/src/main/resources/swift3/APIHelper.mustache
+++ b/modules/openapi-generator/src/main/resources/swift3/APIHelper.mustache
@@ -1,7 +1,7 @@
// APIHelper.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift3/APIs.mustache b/modules/openapi-generator/src/main/resources/swift3/APIs.mustache
index 557ba31efb6..be0d9b9a86e 100644
--- a/modules/openapi-generator/src/main/resources/swift3/APIs.mustache
+++ b/modules/openapi-generator/src/main/resources/swift3/APIs.mustache
@@ -1,7 +1,7 @@
// APIs.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift3/AlamofireImplementations.mustache b/modules/openapi-generator/src/main/resources/swift3/AlamofireImplementations.mustache
index 863f618326d..8aadb016f1b 100644
--- a/modules/openapi-generator/src/main/resources/swift3/AlamofireImplementations.mustache
+++ b/modules/openapi-generator/src/main/resources/swift3/AlamofireImplementations.mustache
@@ -1,7 +1,7 @@
// AlamofireImplementations.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift3/Configuration.mustache b/modules/openapi-generator/src/main/resources/swift3/Configuration.mustache
index 7f777932fe9..b9e2e497683 100644
--- a/modules/openapi-generator/src/main/resources/swift3/Configuration.mustache
+++ b/modules/openapi-generator/src/main/resources/swift3/Configuration.mustache
@@ -1,7 +1,7 @@
// Configuration.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift3/Extensions.mustache b/modules/openapi-generator/src/main/resources/swift3/Extensions.mustache
index 4d91fa2e443..59bdf93b21d 100644
--- a/modules/openapi-generator/src/main/resources/swift3/Extensions.mustache
+++ b/modules/openapi-generator/src/main/resources/swift3/Extensions.mustache
@@ -1,7 +1,7 @@
// Extensions.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift3/Models.mustache b/modules/openapi-generator/src/main/resources/swift3/Models.mustache
index c2e21d5d81d..b5925ee10c7 100644
--- a/modules/openapi-generator/src/main/resources/swift3/Models.mustache
+++ b/modules/openapi-generator/src/main/resources/swift3/Models.mustache
@@ -1,7 +1,7 @@
// Models.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift3/api.mustache b/modules/openapi-generator/src/main/resources/swift3/api.mustache
index 074f96f432f..308df947b56 100644
--- a/modules/openapi-generator/src/main/resources/swift3/api.mustache
+++ b/modules/openapi-generator/src/main/resources/swift3/api.mustache
@@ -1,8 +1,8 @@
{{#operations}}//
// {{classname}}.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift3/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/swift3/git_push.sh.mustache
index f65b794638f..c344020eab5 100755
--- a/modules/openapi-generator/src/main/resources/swift3/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/swift3/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/swift3/model.mustache b/modules/openapi-generator/src/main/resources/swift3/model.mustache
index 129ecc15275..e5f43ef7b27 100644
--- a/modules/openapi-generator/src/main/resources/swift3/model.mustache
+++ b/modules/openapi-generator/src/main/resources/swift3/model.mustache
@@ -3,8 +3,8 @@
//
// {{classname}}.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift4/APIHelper.mustache b/modules/openapi-generator/src/main/resources/swift4/APIHelper.mustache
index 81e7286d6d4..3c7b53f8149 100644
--- a/modules/openapi-generator/src/main/resources/swift4/APIHelper.mustache
+++ b/modules/openapi-generator/src/main/resources/swift4/APIHelper.mustache
@@ -1,7 +1,7 @@
// APIHelper.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift4/APIs.mustache b/modules/openapi-generator/src/main/resources/swift4/APIs.mustache
index fe88150cc1e..fb2a7791e71 100644
--- a/modules/openapi-generator/src/main/resources/swift4/APIs.mustache
+++ b/modules/openapi-generator/src/main/resources/swift4/APIs.mustache
@@ -1,7 +1,7 @@
// APIs.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift4/AlamofireImplementations.mustache b/modules/openapi-generator/src/main/resources/swift4/AlamofireImplementations.mustache
index 381fddcc81f..280b4e53389 100644
--- a/modules/openapi-generator/src/main/resources/swift4/AlamofireImplementations.mustache
+++ b/modules/openapi-generator/src/main/resources/swift4/AlamofireImplementations.mustache
@@ -1,7 +1,7 @@
// AlamofireImplementations.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift4/CodableHelper.mustache b/modules/openapi-generator/src/main/resources/swift4/CodableHelper.mustache
index 323715c5f94..2d50e463ae1 100644
--- a/modules/openapi-generator/src/main/resources/swift4/CodableHelper.mustache
+++ b/modules/openapi-generator/src/main/resources/swift4/CodableHelper.mustache
@@ -1,8 +1,8 @@
//
// CodableHelper.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift4/Configuration.mustache b/modules/openapi-generator/src/main/resources/swift4/Configuration.mustache
index c03a10b930c..f8180752b67 100644
--- a/modules/openapi-generator/src/main/resources/swift4/Configuration.mustache
+++ b/modules/openapi-generator/src/main/resources/swift4/Configuration.mustache
@@ -1,7 +1,7 @@
// Configuration.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift4/Extensions.mustache b/modules/openapi-generator/src/main/resources/swift4/Extensions.mustache
index d5a43b407de..7f5e1c1f739 100644
--- a/modules/openapi-generator/src/main/resources/swift4/Extensions.mustache
+++ b/modules/openapi-generator/src/main/resources/swift4/Extensions.mustache
@@ -1,7 +1,7 @@
// Extensions.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift4/JSONEncodableEncoding.mustache b/modules/openapi-generator/src/main/resources/swift4/JSONEncodableEncoding.mustache
index 472e955ee8e..ca05906d420 100644
--- a/modules/openapi-generator/src/main/resources/swift4/JSONEncodableEncoding.mustache
+++ b/modules/openapi-generator/src/main/resources/swift4/JSONEncodableEncoding.mustache
@@ -1,8 +1,8 @@
//
// JSONDataEncoding.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift4/JSONEncodingHelper.mustache b/modules/openapi-generator/src/main/resources/swift4/JSONEncodingHelper.mustache
index 19ee06b1f48..70449515842 100644
--- a/modules/openapi-generator/src/main/resources/swift4/JSONEncodingHelper.mustache
+++ b/modules/openapi-generator/src/main/resources/swift4/JSONEncodingHelper.mustache
@@ -1,8 +1,8 @@
//
// JSONEncodingHelper.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift4/Models.mustache b/modules/openapi-generator/src/main/resources/swift4/Models.mustache
index 4962405f029..42f8186ae4a 100644
--- a/modules/openapi-generator/src/main/resources/swift4/Models.mustache
+++ b/modules/openapi-generator/src/main/resources/swift4/Models.mustache
@@ -1,7 +1,7 @@
// Models.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift4/README.mustache b/modules/openapi-generator/src/main/resources/swift4/README.mustache
index 933e46039aa..2a03351e633 100644
--- a/modules/openapi-generator/src/main/resources/swift4/README.mustache
+++ b/modules/openapi-generator/src/main/resources/swift4/README.mustache
@@ -5,7 +5,7 @@
{{/appDescription}}
## Overview
-This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client.
+This API client was generated by the [openapi-generator](https://openapi-generator.tech) project. By using the [openapi-spec from a remote server, you can easily generate an API client.
- API version: {{appVersion}}
- Package version: {{packageVersion}}
diff --git a/modules/openapi-generator/src/main/resources/swift4/api.mustache b/modules/openapi-generator/src/main/resources/swift4/api.mustache
index 5f5b0d4ebc1..4a505596c60 100644
--- a/modules/openapi-generator/src/main/resources/swift4/api.mustache
+++ b/modules/openapi-generator/src/main/resources/swift4/api.mustache
@@ -1,8 +1,8 @@
{{#operations}}//
// {{classname}}.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/swift4/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/swift4/git_push.sh.mustache
index a2d75234837..8a32e53995d 100755
--- a/modules/openapi-generator/src/main/resources/swift4/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/swift4/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/swift4/model.mustache b/modules/openapi-generator/src/main/resources/swift4/model.mustache
index 189acedc53d..806cc969b54 100644
--- a/modules/openapi-generator/src/main/resources/swift4/model.mustache
+++ b/modules/openapi-generator/src/main/resources/swift4/model.mustache
@@ -1,8 +1,8 @@
{{#models}}{{#model}}//
// {{classname}}.swift
//
-// Generated by swagger-codegen
-// https://github.com/swagger-api/swagger-codegen
+// Generated by openapi-generator
+// https://openapi-generator.tech
//
import Foundation
diff --git a/modules/openapi-generator/src/main/resources/tizen/doc-readme.mustache b/modules/openapi-generator/src/main/resources/tizen/doc-readme.mustache
index 3a94698818d..1e0a5f52803 100644
--- a/modules/openapi-generator/src/main/resources/tizen/doc-readme.mustache
+++ b/modules/openapi-generator/src/main/resources/tizen/doc-readme.mustache
@@ -1,7 +1,7 @@
# Documentation for {{#swagger}}{{#info}}{{title}} {{version}} Tizen Client SDK{{/info}}{{/swagger}}
## How do I get the doc files?
-First generate source code by running `swagger-codegen`
+First generate source code by running `openapi-generator`
Then run `doc/generateDocumentation.sh` from the output folder. It will generate all the doc files and put them in the `doc/SDK` directory.
To successfully generate documentation it needs `Doxygen` installed in the path.
*Note* - Before generating the documentation, put the logo of the project as the file `doc/logo.png` before running `doxygen`.
diff --git a/modules/openapi-generator/src/main/resources/typescript-angular/README.mustache b/modules/openapi-generator/src/main/resources/typescript-angular/README.mustache
index 7f7acecf7fe..c701faf6be6 100644
--- a/modules/openapi-generator/src/main/resources/typescript-angular/README.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-angular/README.mustache
@@ -116,8 +116,8 @@ export class AppComponent {
Note: The ApiModule is restricted to being instantiated once app wide.
This is to ensure that all services are treated as singletons.
-#### Using multiple swagger files / APIs / ApiModules
-In order to use multiple `ApiModules` generated from different swagger files,
+#### Using multiple OpenAPI files / APIs / ApiModules
+In order to use multiple `ApiModules` generated from different OpenAPI files,
you can create an alias name when importing the modules
in order to avoid naming conflicts:
```
diff --git a/modules/openapi-generator/src/main/resources/typescript-angular/api.service.mustache b/modules/openapi-generator/src/main/resources/typescript-angular/api.service.mustache
index 7d8e4b567cc..52680fa13de 100644
--- a/modules/openapi-generator/src/main/resources/typescript-angular/api.service.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-angular/api.service.mustache
@@ -325,7 +325,7 @@ export class {{classname}} {
{{/hasQueryParams}}
withCredentials:this.configuration.withCredentials
});
- // https://github.com/swagger-api/swagger-codegen/issues/4037
+ // issues#4037
if (extraHttpRequestParams) {
requestOptions = (Object).assign(requestOptions, extraHttpRequestParams);
}
diff --git a/modules/openapi-generator/src/main/resources/typescript-angular/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/typescript-angular/git_push.sh.mustache
index a2d75234837..8a32e53995d 100755
--- a/modules/openapi-generator/src/main/resources/typescript-angular/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-angular/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/typescript-angular/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/typescript-angular/licenseInfo.mustache
index 7d61c4ee055..59fecaff126 100644
--- a/modules/openapi-generator/src/main/resources/typescript-angular/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-angular/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
\ No newline at end of file
diff --git a/modules/openapi-generator/src/main/resources/typescript-angular/package.mustache b/modules/openapi-generator/src/main/resources/typescript-angular/package.mustache
index afc69fb7146..a8a2a1bebb8 100644
--- a/modules/openapi-generator/src/main/resources/typescript-angular/package.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-angular/package.mustache
@@ -1,10 +1,11 @@
{
"name": "{{{npmName}}}",
"version": "{{{npmVersion}}}",
- "description": "swagger client for {{{npmName}}}",
- "author": "Swagger Codegen Contributors",
+ "description": "OpenAPI client for {{{npmName}}}",
+ "author": "OpenAPI-Generator Contributors",
"keywords": [
- "swagger-client"
+ "openapi-client",
+ "openapi-generator"
],
"license": "Unlicense",
{{#useNgPackagr}}
diff --git a/modules/openapi-generator/src/main/resources/typescript-angularjs/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/typescript-angularjs/git_push.sh.mustache
index a2d75234837..8a32e53995d 100755
--- a/modules/openapi-generator/src/main/resources/typescript-angularjs/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-angularjs/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/typescript-angularjs/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/typescript-angularjs/licenseInfo.mustache
index bbd8742e52a..469fb03940f 100644
--- a/modules/openapi-generator/src/main/resources/typescript-angularjs/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-angularjs/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
diff --git a/modules/openapi-generator/src/main/resources/typescript-aurelia/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/typescript-aurelia/git_push.sh.mustache
index a2d75234837..8a32e53995d 100755
--- a/modules/openapi-generator/src/main/resources/typescript-aurelia/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-aurelia/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/typescript-aurelia/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/typescript-aurelia/licenseInfo.mustache
index bbd8742e52a..469fb03940f 100644
--- a/modules/openapi-generator/src/main/resources/typescript-aurelia/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-aurelia/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
diff --git a/modules/openapi-generator/src/main/resources/typescript-fetch/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/typescript-fetch/git_push.sh.mustache
index dd342baf078..4db97099b75 100755
--- a/modules/openapi-generator/src/main/resources/typescript-fetch/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-fetch/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/typescript-fetch/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/typescript-fetch/licenseInfo.mustache
index bbd8742e52a..469fb03940f 100644
--- a/modules/openapi-generator/src/main/resources/typescript-fetch/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-fetch/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
diff --git a/modules/openapi-generator/src/main/resources/typescript-fetch/package.mustache b/modules/openapi-generator/src/main/resources/typescript-fetch/package.mustache
index 1eae586cf42..88c86ffde58 100644
--- a/modules/openapi-generator/src/main/resources/typescript-fetch/package.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-fetch/package.mustache
@@ -1,12 +1,13 @@
{
"name": "{{npmName}}",
"version": "{{npmVersion}}",
- "description": "swagger client for {{npmName}}",
- "author": "Swagger Codegen Contributors",
+ "description": "OpenAPI client for {{npmName}}",
+ "author": "OpenAPI-Generator Contributors",
"keywords": [
"fetch",
"typescript",
- "swagger-client",
+ "openapi-client",
+ "openapi-generator",
"{{npmName}}"
],
"license": "Unlicense",
diff --git a/modules/openapi-generator/src/main/resources/typescript-inversify/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/typescript-inversify/git_push.sh.mustache
index a2d75234837..8a32e53995d 100755
--- a/modules/openapi-generator/src/main/resources/typescript-inversify/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-inversify/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/typescript-inversify/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/typescript-inversify/licenseInfo.mustache
index 7d61c4ee055..59fecaff126 100644
--- a/modules/openapi-generator/src/main/resources/typescript-inversify/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-inversify/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
\ No newline at end of file
diff --git a/modules/openapi-generator/src/main/resources/typescript-inversify/package.mustache b/modules/openapi-generator/src/main/resources/typescript-inversify/package.mustache
index 9733f2058a5..9f60773c2f0 100644
--- a/modules/openapi-generator/src/main/resources/typescript-inversify/package.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-inversify/package.mustache
@@ -1,10 +1,11 @@
{
"name": "{{{npmName}}}",
"version": "{{{npmVersion}}}",
- "description": "swagger client for {{{npmName}}}",
- "author": "Swagger Codegen Contributors",
+ "description": "OpenAPI client for {{{npmName}}}",
+ "author": "OpenAPI-Generator Contributors",
"keywords": [
- "swagger-client"
+ "openapi-client",
+ "openapi-generator"
],
"license": "Unlicense",
"main": "dist/index.js",
diff --git a/modules/openapi-generator/src/main/resources/typescript-jquery/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/typescript-jquery/git_push.sh.mustache
index a2d75234837..8a32e53995d 100755
--- a/modules/openapi-generator/src/main/resources/typescript-jquery/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-jquery/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/typescript-jquery/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/typescript-jquery/licenseInfo.mustache
index bbd8742e52a..469fb03940f 100644
--- a/modules/openapi-generator/src/main/resources/typescript-jquery/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-jquery/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
diff --git a/modules/openapi-generator/src/main/resources/typescript-jquery/package.mustache b/modules/openapi-generator/src/main/resources/typescript-jquery/package.mustache
index 753b37fb769..46ba3da15d8 100644
--- a/modules/openapi-generator/src/main/resources/typescript-jquery/package.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-jquery/package.mustache
@@ -6,7 +6,7 @@
"scripts": {
"build": "tsc"
},
- "author": "Swagger Codegen Contributors",
+ "author": "OpenAPI-Generator Contributors",
"license": "MIT",
"dependencies": {
"bluebird": "^3.3.5",
diff --git a/modules/openapi-generator/src/main/resources/typescript-node/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/typescript-node/git_push.sh.mustache
index a2d75234837..8a32e53995d 100755
--- a/modules/openapi-generator/src/main/resources/typescript-node/git_push.sh.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-node/git_push.sh.mustache
@@ -1,7 +1,7 @@
#!/bin/sh
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
#
-# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
git_user_id=$1
git_repo_id=$2
diff --git a/modules/openapi-generator/src/main/resources/typescript-node/licenseInfo.mustache b/modules/openapi-generator/src/main/resources/typescript-node/licenseInfo.mustache
index bbd8742e52a..469fb03940f 100644
--- a/modules/openapi-generator/src/main/resources/typescript-node/licenseInfo.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-node/licenseInfo.mustache
@@ -5,7 +5,7 @@
* {{#version}}OpenAPI spec version: {{{version}}}{{/version}}
* {{#infoEmail}}Contact: {{{infoEmail}}}{{/infoEmail}}
*
- * NOTE: This class is auto generated by the swagger code generator program.
- * https://github.com/swagger-api/swagger-codegen.git
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
* Do not edit the class manually.
*/
diff --git a/modules/openapi-generator/src/main/resources/typescript-node/package.mustache b/modules/openapi-generator/src/main/resources/typescript-node/package.mustache
index abb089af45c..74936a63284 100644
--- a/modules/openapi-generator/src/main/resources/typescript-node/package.mustache
+++ b/modules/openapi-generator/src/main/resources/typescript-node/package.mustache
@@ -10,7 +10,7 @@
"build": "tsc",
"test": "npm run build && node client.js"
},
- "author": "Swagger Codegen Contributors",
+ "author": "OpenAPI-Generator Contributors",
"license": "Unlicense",
"dependencies": {
"bluebird": "^3.5.0",
diff --git a/modules/openapi-generator/src/main/resources/validator/index.mustache b/modules/openapi-generator/src/main/resources/validator/index.mustache
index 0a1a5438774..a79355d274c 100644
--- a/modules/openapi-generator/src/main/resources/validator/index.mustache
+++ b/modules/openapi-generator/src/main/resources/validator/index.mustache
@@ -207,12 +207,12 @@