| 
									
										
										
										
											2022-08-22 00:00:29 +02:00
										 |  |  | <?xml version="1.0" encoding="UTF-8"?> | 
					
						
							|  |  |  | <project xmlns="http://maven.apache.org/POM/4.0.0" | 
					
						
							| 
									
										
										
										
											2022-09-13 21:22:49 +05:30
										 |  |  |     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-22 00:00:29 +02: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> | 
					
						
							| 
									
										
										
										
											2023-02-17 02:16:55 +01:00
										 |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-boot-starter-validation</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2022-08-22 00:00:29 +02:00
										 |  |  |         <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>javax.validation</groupId> | 
					
						
							|  |  |  |             <artifactId>validation-api</artifactId> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2022-09-29 08:10:58 +03:00
										 |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>io.springfox</groupId> | 
					
						
							|  |  |  |             <artifactId>springfox-swagger2</artifactId> | 
					
						
							|  |  |  |             <version>${springfox.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2022-08-22 00:00:29 +02: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> | 
					
						
							| 
									
										
										
										
											2023-02-17 02:16:55 +01:00
										 |  |  |                         <id>two-responses</id> | 
					
						
							| 
									
										
										
										
											2022-08-22 00:00:29 +02:00
										 |  |  |                         <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> | 
					
						
							| 
									
										
										
										
											2023-02-17 02:16:55 +01:00
										 |  |  |                     <execution> | 
					
						
							|  |  |  |                         <id>dates</id> | 
					
						
							|  |  |  |                         <goals> | 
					
						
							|  |  |  |                             <goal>generate</goal> | 
					
						
							|  |  |  |                         </goals> | 
					
						
							|  |  |  |                         <configuration> | 
					
						
							|  |  |  |                             <inputSpec>${project.basedir}/src/main/resources/static/event.yaml</inputSpec> | 
					
						
							|  |  |  |                             <language>spring</language> | 
					
						
							|  |  |  |                             <configOptions> | 
					
						
							|  |  |  |                                 <java8>true</java8> | 
					
						
							|  |  |  |                                 <dateLibrary>custom</dateLibrary> | 
					
						
							|  |  |  |                             </configOptions> | 
					
						
							|  |  |  |                             <typeMappings> | 
					
						
							|  |  |  |                                 <typeMapping>DateTime=Instant</typeMapping> | 
					
						
							|  |  |  |                                 <typeMapping>Date=Date</typeMapping> | 
					
						
							|  |  |  |                             </typeMappings> | 
					
						
							|  |  |  |                             <importMappings> | 
					
						
							|  |  |  |                                 <importMapping>Instant=java.time.Instant</importMapping> | 
					
						
							|  |  |  |                                 <importMapping>Date=java.util.Date</importMapping> | 
					
						
							|  |  |  |                             </importMappings> | 
					
						
							|  |  |  |                         </configuration> | 
					
						
							|  |  |  |                     </execution> | 
					
						
							|  |  |  |                 </executions> | 
					
						
							|  |  |  |             </plugin> | 
					
						
							|  |  |  |             <plugin> | 
					
						
							|  |  |  |                 <groupId>org.openapitools</groupId> | 
					
						
							|  |  |  |                 <artifactId>openapi-generator-maven-plugin</artifactId> | 
					
						
							|  |  |  |                 <version>${openapi-generator.version}</version> | 
					
						
							|  |  |  |                 <executions> | 
					
						
							|  |  |  |                     <execution> | 
					
						
							|  |  |  |                         <goals> | 
					
						
							|  |  |  |                             <goal>generate</goal> | 
					
						
							|  |  |  |                         </goals> | 
					
						
							|  |  |  |                         <configuration> | 
					
						
							|  |  |  |                             <skipValidateSpec>true</skipValidateSpec> | 
					
						
							|  |  |  |                             <inputSpec>${project.basedir}/src/main/resources/static/event.yaml</inputSpec> | 
					
						
							| 
									
										
										
										
											2023-02-28 20:02:41 -03:00
										 |  |  |                             <inputSpec>${project.basedir}/src/main/resources/static/account_api_description.yaml</inputSpec> | 
					
						
							| 
									
										
										
										
											2023-02-17 02:16:55 +01:00
										 |  |  |                             <generatorName>spring</generatorName> | 
					
						
							|  |  |  |                             <configOptions> | 
					
						
							|  |  |  |                                 <java8>true</java8> | 
					
						
							|  |  |  |                                 <dateLibrary>custom</dateLibrary> | 
					
						
							|  |  |  |                                 <openApiNullable>false</openApiNullable> | 
					
						
							|  |  |  |                                 <interfaceOnly>true</interfaceOnly> | 
					
						
							|  |  |  |                             </configOptions> | 
					
						
							|  |  |  |                             <typeMappings> | 
					
						
							|  |  |  |                                 <typeMapping>DateTime=Instant</typeMapping> | 
					
						
							|  |  |  |                                 <typeMapping>Date=Date</typeMapping> | 
					
						
							|  |  |  |                             </typeMappings> | 
					
						
							|  |  |  |                             <importMappings> | 
					
						
							|  |  |  |                                 <importMapping>Instant=java.time.Instant</importMapping> | 
					
						
							|  |  |  |                                 <importMapping>Date=java.util.Date</importMapping> | 
					
						
							|  |  |  |                             </importMappings> | 
					
						
							|  |  |  |                         </configuration> | 
					
						
							|  |  |  |                     </execution> | 
					
						
							| 
									
										
										
										
											2022-08-22 00:00:29 +02:00
										 |  |  |                 </executions> | 
					
						
							|  |  |  |             </plugin> | 
					
						
							| 
									
										
										
										
											2022-09-29 21:16:16 +03:00
										 |  |  |             <plugin> | 
					
						
							| 
									
										
										
										
											2022-11-18 00:26:06 +05:30
										 |  |  |                 <groupId>org.springframework.boot</groupId> | 
					
						
							|  |  |  |                 <artifactId>spring-boot-maven-plugin</artifactId> | 
					
						
							|  |  |  |                 <configuration> | 
					
						
							|  |  |  |                     <mainClass>${start-class}</mainClass> | 
					
						
							|  |  |  |                 </configuration> | 
					
						
							| 
									
										
										
										
											2022-09-29 21:16:16 +03:00
										 |  |  |             </plugin> | 
					
						
							| 
									
										
										
										
											2022-08-22 00:00:29 +02:00
										 |  |  |         </plugins> | 
					
						
							|  |  |  |     </build> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-13 21:22:49 +05:30
										 |  |  |     <properties> | 
					
						
							| 
									
										
										
										
											2023-02-17 02:16:55 +01:00
										 |  |  |         <openapi-generator.version>6.2.1</openapi-generator.version> | 
					
						
							| 
									
										
										
										
											2022-09-13 21:22:49 +05:30
										 |  |  |         <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 08:10:58 +03:00
										 |  |  |         <swagger-maven-plugin.version>3.1.1</swagger-maven-plugin.version> | 
					
						
							| 
									
										
										
										
											2022-09-29 21:16:16 +03:00
										 |  |  |         <start-class>com.baeldung.tworesponses.Application</start-class> | 
					
						
							| 
									
										
										
										
											2022-09-13 21:22:49 +05:30
										 |  |  |     </properties> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-08-22 00:00:29 +02:00
										 |  |  | </project> |