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 340340 </snapshots >
341341 </repository >
342342 </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 >
343353</project >
Original file line number Diff line number Diff line change 2929 <groupId >org.springframework.experimental</groupId >
3030 <artifactId >spring-native</artifactId >
3131 </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 >
3239 </dependencies >
3340 <build >
3441 <resources >
4956 </archive >
5057 </configuration >
5158 </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 >
5278 </plugins >
5379 </build >
5480
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