File tree Expand file tree Collapse file tree 3 files changed +53
-0
lines changed
src/test/java/test/org/springdoc/api/app1 Expand file tree Collapse file tree 3 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 340
340
</snapshots >
341
341
</repository >
342
342
</repositories >
343
+ <pluginRepositories >
344
+ <pluginRepository >
345
+ <id >spring-releases</id >
346
+ <name >Spring Releases</name >
347
+ <url >https://repo.spring.io/release</url >
348
+ <snapshots >
349
+ <enabled >false</enabled >
350
+ </snapshots >
351
+ </pluginRepository >
352
+ </pluginRepositories >
343
353
</project >
Original file line number Diff line number Diff line change 29
29
<groupId >org.springframework.experimental</groupId >
30
30
<artifactId >spring-native</artifactId >
31
31
</dependency >
32
+ <!-- springdoc-core -->
33
+ <dependency >
34
+ <groupId >org.springdoc</groupId >
35
+ <artifactId >springdoc-openapi-webmvc-core</artifactId >
36
+ <version >${project.version} </version >
37
+ <scope >test</scope >
38
+ </dependency >
32
39
</dependencies >
33
40
<build >
34
41
<resources >
49
56
</archive >
50
57
</configuration >
51
58
</plugin >
59
+ <plugin >
60
+ <groupId >org.springframework.experimental</groupId >
61
+ <artifactId >spring-aot-maven-plugin</artifactId >
62
+ <version >${spring-native.version} </version >
63
+ <executions >
64
+ <execution >
65
+ <id >test-generate</id >
66
+ <goals >
67
+ <goal >test-generate</goal >
68
+ </goals >
69
+ </execution >
70
+ <execution >
71
+ <id >generate</id >
72
+ <goals >
73
+ <goal >generate</goal >
74
+ </goals >
75
+ </execution >
76
+ </executions >
77
+ </plugin >
52
78
</plugins >
53
79
</build >
54
80
Original file line number Diff line number Diff line change
1
+ package test .org .springdoc .api .app1 ;
2
+
3
+ import org .junit .jupiter .api .Test ;
4
+
5
+ import org .springframework .boot .SpringBootConfiguration ;
6
+ import org .springframework .boot .test .context .SpringBootTest ;
7
+
8
+ @ SpringBootTest
9
+ class TestApplicationTests {
10
+
11
+ @ SpringBootConfiguration
12
+ static class SpringDocTestApp {}
13
+
14
+ @ Test
15
+ void contextLoads () {}
16
+
17
+ }
You can’t perform that action at this time.
0 commit comments