Skip to content

Commit e183963

Browse files
committed
update spring test
1 parent 4354c15 commit e183963

1 file changed

Lines changed: 7 additions & 18 deletions

File tree

  • modules/openapi-generator-maven-plugin/examples

modules/openapi-generator-maven-plugin/examples/spring.xml

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<parent>
1212
<groupId>org.springframework.boot</groupId>
1313
<artifactId>spring-boot-starter-parent</artifactId>
14-
<version>2.7.15</version>
14+
<version>3.3.13</version>
1515
</parent>
1616
<build>
1717
<plugins>
@@ -40,7 +40,6 @@
4040

4141
<!-- pass any necessary config options -->
4242
<configOptions>
43-
<documentationProvider>springfox</documentationProvider>
4443
<serializableModel>true</serializableModel>
4544
<snapshotVersion>true</snapshotVersion>
4645
</configOptions>
@@ -50,16 +49,6 @@
5049

5150
</executions>
5251
</plugin>
53-
<plugin>
54-
<groupId>org.apache.maven.plugins</groupId>
55-
<artifactId>maven-compiler-plugin</artifactId>
56-
<version>3.11.0</version>
57-
<configuration>
58-
<source>1.8</source>
59-
<target>1.8</target>
60-
<proc>none</proc>
61-
</configuration>
62-
</plugin>
6352
</plugins>
6453
<pluginManagement>
6554
</pluginManagement>
@@ -80,11 +69,6 @@
8069
<artifactId>spring-data-commons</artifactId>
8170
</dependency>
8271
<!--SpringFox dependencies -->
83-
<dependency>
84-
<groupId>io.springfox</groupId>
85-
<artifactId>springfox-swagger2</artifactId>
86-
<version>${springfox.version}</version>
87-
</dependency>
8872
<dependency>
8973
<groupId>org.webjars</groupId>
9074
<artifactId>swagger-ui</artifactId>
@@ -100,6 +84,11 @@
10084
<artifactId>jsr305</artifactId>
10185
<version>3.0.2</version>
10286
</dependency>
87+
<dependency>
88+
<groupId>org.springdoc</groupId>
89+
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
90+
<version>${springdoc.version}</version>
91+
</dependency>
10392
<dependency>
10493
<groupId>com.fasterxml.jackson.dataformat</groupId>
10594
<artifactId>jackson-dataformat-yaml</artifactId>
@@ -129,7 +118,7 @@
129118
</dependency>
130119
</dependencies>
131120
<properties>
132-
<springfox.version>2.9.2</springfox.version>
133121
<swagger-ui.version>4.15.5</swagger-ui.version>
122+
<springdoc.version>2.6.0</springdoc.version>
134123
</properties>
135124
</project>

0 commit comments

Comments
 (0)