mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 02:55:19 +00:00
Rename default packages in meta (#314)
This commit is contained in:
parent
ea18065447
commit
71d544c9f7
@ -76,12 +76,12 @@ public class {{generatorClass}} extends DefaultCodegen implements CodegenConfig
|
||||
/**
|
||||
* Api Package. Optional, if needed, this can be used in templates
|
||||
*/
|
||||
apiPackage = "io.swagger.client.api";
|
||||
apiPackage = "org.openapitools.api";
|
||||
|
||||
/**
|
||||
* Model Package. Optional, if needed, this can be used in templates
|
||||
*/
|
||||
modelPackage = "io.swagger.client.model";
|
||||
modelPackage = "org.openapitools.model";
|
||||
|
||||
/**
|
||||
* Reserved words. Override this with reserved words specific to your language
|
||||
|
@ -1,7 +1,7 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>io.swagger</groupId>
|
||||
<groupId>org.openapitools</groupId>
|
||||
<artifactId>{{name}}-openapi-generator</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>{{name}}-openapi-generator</name>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>io.swagger</groupId>
|
||||
<groupId>org.openapitools</groupId>
|
||||
<artifactId>myClientCodegen-openapi-generator</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>myClientCodegen-openapi-generator</name>
|
||||
|
@ -76,12 +76,12 @@ public class MyclientcodegenGenerator extends DefaultCodegen implements CodegenC
|
||||
/**
|
||||
* Api Package. Optional, if needed, this can be used in templates
|
||||
*/
|
||||
apiPackage = "io.swagger.client.api";
|
||||
apiPackage = "org.openapitools.api";
|
||||
|
||||
/**
|
||||
* Model Package. Optional, if needed, this can be used in templates
|
||||
*/
|
||||
modelPackage = "io.swagger.client.model";
|
||||
modelPackage = "org.openapitools.model";
|
||||
|
||||
/**
|
||||
* Reserved words. Override this with reserved words specific to your language
|
||||
|
@ -5,7 +5,7 @@
|
||||
# like such:
|
||||
|
||||
# use the package from the `apiPackage` variable
|
||||
package: io.swagger.client.api
|
||||
package: org.openapitools.api
|
||||
|
||||
# operations block
|
||||
classname: PetApi
|
@ -5,7 +5,7 @@
|
||||
# like such:
|
||||
|
||||
# use the package from the `apiPackage` variable
|
||||
package: io.swagger.client.api
|
||||
package: org.openapitools.api
|
||||
|
||||
# operations block
|
||||
classname: StoreApi
|
@ -5,7 +5,7 @@
|
||||
# like such:
|
||||
|
||||
# use the package from the `apiPackage` variable
|
||||
package: io.swagger.client.api
|
||||
package: org.openapitools.api
|
||||
|
||||
# operations block
|
||||
classname: UserApi
|
Loading…
Reference in New Issue
Block a user