rollback codegen template

This commit is contained in:
wing328 2015-06-09 13:04:03 +08:00
parent f610958209
commit 7b6480f7f8
3 changed files with 253 additions and 258 deletions

View File

@ -86,8 +86,7 @@ modelPackage = "io.swagger.client.model";
/** /**
* Reserved words. Override this with reserved words specific to your language * Reserved words. Override this with reserved words specific to your language
*/ */
reservedWords = new HashSet reservedWords = new HashSet<String> (
<String> (
Arrays.asList( Arrays.asList(
"sample1", // replace with static values "sample1", // replace with static values
"sample2") "sample2")
@ -113,8 +112,7 @@ reservedWords = new HashSet
* Language Specific Primitives. These types will not trigger imports by * Language Specific Primitives. These types will not trigger imports by
* the client generator * the client generator
*/ */
languageSpecificPrimitives = new HashSet languageSpecificPrimitives = new HashSet<String>(
<String>(
Arrays.asList( Arrays.asList(
"Type1", // replace these with your types "Type1", // replace these with your types
"Type2") "Type2")

View File

@ -57,8 +57,7 @@
</goals> </goals>
<configuration> <configuration>
<sources> <sources>
<source> <source>src/main/java</source>
src/main/java</source>
</sources> </sources>
</configuration> </configuration>
</execution> </execution>
@ -70,8 +69,7 @@
</goals> </goals>
<configuration> <configuration>
<sources> <sources>
<source> <source>src/test/java</source>
src/test/java</source>
</sources> </sources>
</configuration> </configuration>
</execution> </execution>
@ -82,8 +80,7 @@
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version> <version>2.3.2</version>
<configuration> <configuration>
<source> <source>1.6</source>
1.6</source>
<target>1.6</target> <target>1.6</target>
</configuration> </configuration>
</plugin> </plugin>