2022-08-21 18:00:29 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2022-09-13 11:52:49 -04:00
|
|
|
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">
|
2022-08-21 18:00:29 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>spring-boot-swagger-2</artifactId>
|
|
|
|
<version>0.1.0-SNAPSHOT</version>
|
|
|
|
<name>spring-boot-swagger-2</name>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<description>Module For Spring Boot Swagger</description>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung.spring-boot-modules</groupId>
|
|
|
|
<artifactId>spring-boot-modules</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
<artifactId>springdoc-openapi-ui</artifactId>
|
|
|
|
<version>${springdoc.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
<artifactId>springfox-oas</artifactId>
|
|
|
|
<version>${springfox.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
|
|
<version>${springfox.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.validation</groupId>
|
|
|
|
<artifactId>validation-api</artifactId>
|
|
|
|
</dependency>
|
2022-09-29 01:10:58 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
|
|
<version>${springfox.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
<artifactId>springfox-spring-webmvc</artifactId>
|
|
|
|
<version>${springfox.version}</version>
|
|
|
|
</dependency>
|
2022-08-21 18:00:29 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>io.swagger.codegen.v3</groupId>
|
|
|
|
<artifactId>swagger-codegen-maven-plugin</artifactId>
|
|
|
|
<version>${swagger-codegen-maven-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>generate</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<inputSpec>${project.basedir}/src/main/resources/static/api_3.yaml</inputSpec>
|
|
|
|
<language>spring</language>
|
|
|
|
<configOptions>
|
|
|
|
<java8>true</java8>
|
|
|
|
<interfaceOnly>true</interfaceOnly>
|
|
|
|
</configOptions>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2022-09-29 14:16:16 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<mainClass>${start-class}</mainClass>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2022-08-21 18:00:29 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2022-09-13 11:52:49 -04:00
|
|
|
<properties>
|
|
|
|
<springfox.version>3.0.0</springfox.version>
|
|
|
|
<swagger-codegen-maven-plugin.version>3.0.34</swagger-codegen-maven-plugin.version>
|
|
|
|
<springdoc.version>1.6.10</springdoc.version>
|
2022-09-29 01:10:58 -04:00
|
|
|
<swagger-maven-plugin.version>3.1.1</swagger-maven-plugin.version>
|
2022-09-29 14:16:16 -04:00
|
|
|
<start-class>com.baeldung.tworesponses.Application</start-class>
|
2022-09-13 11:52:49 -04:00
|
|
|
</properties>
|
|
|
|
|
2022-08-21 18:00:29 -04:00
|
|
|
</project>
|