File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8585 <goal >build-info</goal >
8686 </goals >
8787 </execution >
88+ <execution >
89+ <id >pre-integration-test</id >
90+ <phase >pre-integration-test</phase >
91+ <goals >
92+ <goal >start</goal >
93+ </goals >
94+ </execution >
95+ <execution >
96+ <id >post-integration-test</id >
97+ <phase >post-integration-test</phase >
98+ <goals >
99+ <goal >stop</goal >
100+ </goals >
101+ </execution >
102+ </executions >
103+ </plugin >
104+ <plugin >
105+ <groupId >org.springdoc</groupId >
106+ <artifactId >springdoc-openapi-maven-plugin</artifactId >
107+ <version >1.5</version >
108+ <executions >
109+ <execution >
110+ <id >generate-openapi</id >
111+ <phase >integration-test</phase >
112+ <goals >
113+ <goal >generate</goal >
114+ </goals >
115+ </execution >
88116 </executions >
117+ <configuration >
118+ <apiDocsUrl >http://localhost:8080/openapi</apiDocsUrl >
119+ <outputDir >${project.build.directory} /open-api</outputDir >
120+ <outputFileName >openapi.json</outputFileName >
121+ </configuration >
89122 </plugin >
90123 </plugins >
91124 </build >
You can’t perform that action at this time.
0 commit comments