forked from OpenAPITools/openapi-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename sagger metadata and more (OpenAPITools#208)
* Rename groupId, artifactId, project name, title, ... * Remove .swagger-codegen/VERSION file
- Loading branch information
Showing
50 changed files
with
128 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,18 +45,18 @@ public abstract class AbstractJavaCodegen extends DefaultCodegen implements Code | |
protected boolean java8Mode = false; | ||
protected boolean withXml = false; | ||
protected String invokerPackage = "io.swagger"; | ||
protected String groupId = "io.swagger"; | ||
protected String artifactId = "swagger-java"; | ||
protected String groupId = "org.openapitools"; | ||
protected String artifactId = "openapi-java"; | ||
protected String artifactVersion = "1.0.0"; | ||
protected String artifactUrl = "https://github.com/swagger-api/swagger-codegen"; | ||
protected String artifactDescription = "Swagger Java"; | ||
protected String developerName = "Swagger"; | ||
protected String developerEmail = "[email protected]"; | ||
protected String developerOrganization = "Swagger"; | ||
protected String developerOrganizationUrl = "http://swagger.io"; | ||
protected String scmConnection = "scm:git:[email protected]:swagger-api/swagger-codegen.git"; | ||
protected String scmDeveloperConnection = "scm:git:[email protected]:swagger-api/swagger-codegen.git"; | ||
protected String scmUrl = "https://github.com/swagger-api/swagger-codegen"; | ||
protected String artifactUrl = "https://github.com/openapitools/openapi-generator"; | ||
protected String artifactDescription = "OpenAPI Java"; | ||
protected String developerName = "OpenAPI"; | ||
protected String developerEmail = "[email protected]"; | ||
protected String developerOrganization = "OpenAPI"; | ||
protected String developerOrganizationUrl = "http://openapitools.org"; | ||
protected String scmConnection = "scm:git:[email protected]:openapitools/openapi-generator.git"; | ||
protected String scmDeveloperConnection = "scm:git:[email protected]:openapitools/openapi-generator.git"; | ||
protected String scmUrl = "https://github.com/openapitools/openapi-generator"; | ||
protected String licenseName = "Unlicense"; | ||
protected String licenseUrl = "http://unlicense.org"; | ||
protected String projectFolder = "src" + File.separator + "main"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,8 @@ | |
public class ConfluenceWikiCodegen extends DefaultCodegen implements CodegenConfig { | ||
private static final String ALL_OPERATIONS = ""; | ||
protected String invokerPackage = "io.swagger.client"; | ||
protected String groupId = "io.swagger"; | ||
protected String artifactId = "swagger-client"; | ||
protected String groupId = "org.openapitools"; | ||
protected String artifactId = "openapi-client"; | ||
protected String artifactVersion = "1.0.0"; | ||
|
||
public ConfluenceWikiCodegen() { | ||
|
@@ -36,8 +36,8 @@ public ConfluenceWikiCodegen() { | |
cliOptions.add(new CliOption(CodegenConstants.ARTIFACT_ID, CodegenConstants.ARTIFACT_ID_DESC)); | ||
cliOptions.add(new CliOption(CodegenConstants.ARTIFACT_VERSION, CodegenConstants.ARTIFACT_VERSION_DESC)); | ||
|
||
additionalProperties.put("appName", "Swagger Sample"); | ||
additionalProperties.put("appDescription", "A sample swagger server"); | ||
additionalProperties.put("appName", "OpenAPI Sample"); | ||
additionalProperties.put("appDescription", "A sample openapi server"); | ||
additionalProperties.put("infoUrl", "https://helloreverb.com"); | ||
additionalProperties.put("infoEmail", "[email protected]"); | ||
additionalProperties.put("licenseInfo", "All rights reserved"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ | |
|
||
public class FinchServerCodegen extends DefaultCodegen implements CodegenConfig { | ||
protected String invokerPackage = "io.swagger.client"; | ||
protected String groupId = "io.swagger"; | ||
protected String groupId = "org.openapitools"; | ||
protected String artifactId = "finch-server"; | ||
protected String artifactVersion = "1.0.0"; | ||
protected String sourceFolder = "src/main/scala"; | ||
|
@@ -106,10 +106,10 @@ public FinchServerCodegen() { | |
|
||
additionalProperties.put("modelPackage", modelPackage()); | ||
additionalProperties.put("apiPackage", apiPackage()); | ||
additionalProperties.put("appName", "Swagger Sample"); | ||
additionalProperties.put("appDescription", "A sample swagger server"); | ||
additionalProperties.put("infoUrl", "http://swagger.io"); | ||
additionalProperties.put("infoEmail", "[email protected]"); | ||
additionalProperties.put("appName", "OpenAPI Sample"); | ||
additionalProperties.put("appDescription", "A sample openapi server"); | ||
additionalProperties.put("infoUrl", "http://org.openapitools"); | ||
additionalProperties.put("infoEmail", "[email protected]"); | ||
additionalProperties.put("licenseInfo", "Apache 2.0"); | ||
additionalProperties.put("licenseUrl", "http://apache.org/licenses/LICENSE-2.0.html"); | ||
additionalProperties.put(CodegenConstants.INVOKER_PACKAGE, invokerPackage); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.