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>
|
|
|
|
</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>
|
|
|
|
</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>
|
|
|
|
</properties>
|
|
|
|
|
2022-08-21 18:00:29 -04:00
|
|
|
</project>
|