103 lines
3 KiB
XML
103 lines
3 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
<parent>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||
|
<version>2.7.10</version>
|
||
|
<relativePath/> <!-- lookup parent from repository -->
|
||
|
</parent>
|
||
|
<groupId>de.hftstuttgart.vs</groupId>
|
||
|
<artifactId>task03</artifactId>
|
||
|
<version>0.0.1-SNAPSHOT</version>
|
||
|
<name>task03</name>
|
||
|
<description>task03</description>
|
||
|
<properties>
|
||
|
<java.version>17</java.version>
|
||
|
</properties>
|
||
|
<dependencies>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-web</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-devtools</artifactId>
|
||
|
<scope>runtime</scope>
|
||
|
<optional>true</optional>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-test</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.openapitools</groupId>
|
||
|
<artifactId>jackson-databind-nullable</artifactId>
|
||
|
<version>0.2.6</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springdoc</groupId>
|
||
|
<artifactId>springdoc-openapi-ui</artifactId>
|
||
|
<version>1.7.0</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- <dependency>-->
|
||
|
<!-- <groupId>jakarta.validation</groupId>-->
|
||
|
<!-- <artifactId>jakarta.validation-api</artifactId>-->
|
||
|
<!-- <version>3.0.2</version>-->
|
||
|
<!-- </dependency>-->
|
||
|
<dependency>
|
||
|
<groupId>javax.validation</groupId>
|
||
|
<artifactId>validation-api</artifactId>
|
||
|
<version>2.0.1.Final</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>javax.servlet</groupId>
|
||
|
<artifactId>javax.servlet-api</artifactId>
|
||
|
<version>4.0.1</version>
|
||
|
</dependency>
|
||
|
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.openapitools</groupId>
|
||
|
<artifactId>openapi-generator-maven-plugin</artifactId>
|
||
|
<!-- RELEASE_VERSION -->
|
||
|
<version>6.5.0</version>
|
||
|
<!-- /RELEASE_VERSION -->
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<goals>
|
||
|
<goal>generate</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<!-- <inputSpec>${project.basedir}/src/main/resources/api.yaml</inputSpec>-->
|
||
|
<inputSpec>src/main/resources/api.yaml</inputSpec>
|
||
|
<generatorName>spring</generatorName>
|
||
|
<apiPackage>de.hftstuttgart.vs.task03.openapi.api</apiPackage>
|
||
|
<modelPackage>de.hftstuttgart.vs.task03.openapi.model</modelPackage>
|
||
|
<supportingFilesToGenerate>
|
||
|
ApiUtil.java
|
||
|
</supportingFilesToGenerate>
|
||
|
<configOptions>
|
||
|
<delegatePattern>true</delegatePattern>
|
||
|
</configOptions>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
</project>
|