2020-08-23 08:06:23 -04:00
|
|
|
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2021-05-13 13:17:40 -04:00
|
|
|
<artifactId>spring-boot-swagger</artifactId>
|
|
|
|
<version>0.1.0-SNAPSHOT</version>
|
|
|
|
<name>spring-boot-swagger</name>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<description>Module For Spring Boot Swagger</description>
|
2020-08-23 08:06:23 -04:00
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung.spring-boot-modules</groupId>
|
|
|
|
<artifactId>spring-boot-modules</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
2021-05-13 13:17:40 -04:00
|
|
|
|
2020-08-23 08:06:23 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
2022-02-14 12:43:32 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.kongchen</groupId>
|
|
|
|
<artifactId>swagger-maven-plugin</artifactId>
|
|
|
|
<version>${swagger-maven-plugin.version}</version>
|
|
|
|
</dependency>
|
2023-06-25 07:30:13 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
<artifactId>springdoc-openapi-ui</artifactId>
|
|
|
|
<version>${springdoc.version}</version>
|
|
|
|
</dependency>
|
2020-08-23 08:06:23 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
2022-02-14 12:43:32 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.kongchen</groupId>
|
|
|
|
<artifactId>swagger-maven-plugin</artifactId>
|
|
|
|
<version>${swagger-maven-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<apiSources>
|
|
|
|
<apiSource>
|
|
|
|
<springmvc>false</springmvc>
|
|
|
|
<locations>com.baeldung.swaggerenums.controller</locations>
|
|
|
|
<schemes>http,https</schemes>
|
|
|
|
<host>baeldung.com</host>
|
|
|
|
<basePath>/api</basePath>
|
|
|
|
<info>
|
|
|
|
<title>Baeldung - Document Enum</title>
|
|
|
|
<version>v1</version>
|
|
|
|
<description>This is a Baeldung Document Enum Sample Code</description>
|
|
|
|
<contact>
|
|
|
|
<email>pmurria@baeldung.com</email>
|
|
|
|
<name>Parikshit Murria</name>
|
|
|
|
</contact>
|
|
|
|
<license>
|
|
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0.html</url>
|
|
|
|
<name>Apache 2.0</name>
|
|
|
|
</license>
|
|
|
|
</info>
|
2022-02-17 18:30:42 -05:00
|
|
|
<swaggerDirectory>${basedir}/target/swagger-ui</swaggerDirectory>
|
2022-02-14 12:43:32 -05:00
|
|
|
</apiSource>
|
|
|
|
</apiSources>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>generate</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2020-08-23 08:06:23 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2021-03-25 08:12:01 -04:00
|
|
|
<properties>
|
2022-02-14 12:43:32 -05:00
|
|
|
<swagger-maven-plugin.version>3.1.1</swagger-maven-plugin.version>
|
2023-06-25 07:30:13 -04:00
|
|
|
<springdoc.version>1.7.0</springdoc.version>
|
2021-03-25 08:12:01 -04:00
|
|
|
</properties>
|
|
|
|
|
2022-03-13 05:18:44 -04:00
|
|
|
</project>
|