-
Notifications
You must be signed in to change notification settings - Fork 7
/
pom.xml
54 lines (48 loc) · 1.84 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>de.enflexit.awb.ws</groupId>
<artifactId>de.enflexit.awb.ws.restapi.codegen</artifactId>
<version>0.2.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<openApiGeneratorVersion>5.4.0</openApiGeneratorVersion>
<yamlFile>RestApi.yaml</yamlFile>
<srcBasePackage>de.enflexit.awb.samples.ws.restapi.client.gen</srcBasePackage>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>${openApiGeneratorVersion}</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>${project.basedir}/${yamlFile}</inputSpec>
<!-- For client code -->
<!-- <language>java</language> -->
<!-- For server code -->
<generatorName>java</generatorName>
<library>jersey2</library>
<apiPackage>${srcBasePackage}</apiPackage>
<modelPackage>${srcBasePackage}.model</modelPackage>
<invokerPackage>${srcBasePackage}.handler</invokerPackage>
<generateApiTests>false</generateApiTests>
<generateApiDocumentation>true</generateApiDocumentation>
<generateModelTests>false</generateModelTests>
<generateModelDocumentation>false</generateModelDocumentation>
<generateSupportingFiles>true</generateSupportingFiles>
<configOptions>
<interfaceOnly>false</interfaceOnly>
<dateLibrary>java8</dateLibrary>
</configOptions>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>