-
Notifications
You must be signed in to change notification settings - Fork 23
/
pom.xml
84 lines (70 loc) · 3.3 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
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>
<parent>
<groupId>com.backbase.oss.boat.example</groupId>
<artifactId>java-server</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>webflux</artifactId>
<name>BOAT :: Generate :: Server Stubs Spring Reactive</name>
<dependencies>
<dependency>
<groupId>com.backbase.oss.boat.example</groupId>
<artifactId>models</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
</dependency>
</dependencies>
<packaging>jar</packaging>
<build>
<plugins>
<plugin>
<groupId>com.backbase.oss</groupId>
<artifactId>boat-maven-plugin</artifactId>
<executions>
<execution>
<id>java-server</id>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/petstore-expanded.yaml</inputSpec>
<generatorName>spring</generatorName>
<generateApiTests>false</generateApiTests>
<generateApis>true</generateApis>
<generateModels>false</generateModels>
<generateSupportingFiles>false</generateSupportingFiles>
<configOptions>
<library>spring-boot</library>
<reactive>true</reactive>
<java8>true</java8>
<dateLibrary>java8</dateLibrary>
<interfaceOnly>true</interfaceOnly>
<skipDefaultInterface>true</skipDefaultInterface>
<useBeanValidation>false</useBeanValidation>
<useJakartaEe>true</useJakartaEe>
<useSpringBoot3>true</useSpringBoot3>
</configOptions>
<modelPackage>com.backbase.oss.boat.example.petstore.model</modelPackage>
<apiPackage>com.backbase.oss.boat.example.petstore.api</apiPackage>
<typeMappings>
<typeMapping>Double=java.math.BigDecimal</typeMapping>
</typeMappings>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>