java to ts
This commit is contained in:
snoop 2017-07-04 11:09:33 +09:00
parent e3d3a94ab7
commit d086d61ad7

30
pom.xml
View File

@ -173,6 +173,36 @@
</dependencies> </dependencies>
</plugin> </plugin>
<plugin>
<groupId>cz.habarta.typescript-generator</groupId>
<artifactId>typescript-generator-maven-plugin</artifactId>
<version>1.27.339</version>
<executions>
<execution>
<id>generate</id>
<goals>
<goal>generate</goal>
</goals>
<phase>process-classes</phase>
</execution>
</executions>
<configuration>
<jsonLibrary>jackson2</jsonLibrary>
<!--<classes>-->
<!--<class>com.loafle.overflow.module.probe.service.ProbeService</class>-->
<!--</classes>-->
<classPatterns>
<!--<classPattern>com.loafle.overflow.module.**.service.*</classPattern>-->
<classPattern>com.loafle.overflow.module.**.model.*</classPattern>
</classPatterns>
<outputKind>module</outputKind>
<!--<outputFileType>declarationFile</outputFileType>-->
<!--<outputFile>target/typescript-generator/module.d.ts</outputFile>-->
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>