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>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
<artifactId>springfox-boot-starter</artifactId>
|
2021-03-25 08:12:01 -04:00
|
|
|
<version>${springfox.version}</version>
|
2020-08-23 08:06:23 -04:00
|
|
|
</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>
|
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>
|
|
|
|
<swaggerDirectory>generated/swagger-ui</swaggerDirectory>
|
|
|
|
</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>
|
|
|
|
<springfox.version>3.0.0</springfox.version>
|
2022-02-14 12:43:32 -05:00
|
|
|
<swagger-maven-plugin.version>3.1.1</swagger-maven-plugin.version>
|
2021-03-25 08:12:01 -04:00
|
|
|
</properties>
|
|
|
|
|
2021-11-29 19:26:16 -05:00
|
|
|
</project>
|