You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: services/alarm-logger/pom.xml
+43Lines changed: 43 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -173,6 +173,49 @@
173
173
</execution>
174
174
</executions>
175
175
</plugin>
176
+
<!-- Plugin declaration -->
177
+
<plugin>
178
+
<groupId>io.github.kbuntrock</groupId>
179
+
<artifactId>openapi-maven-plugin</artifactId>
180
+
<version>0.0.28</version>
181
+
<executions>
182
+
<execution>
183
+
<id>documentation</id>
184
+
<goals>
185
+
<goal>documentation</goal>
186
+
</goals>
187
+
</execution>
188
+
</executions>
189
+
<configuration>
190
+
<!-- This section defines the general configuration, which can be overriden for each generated document. -->
191
+
<apiConfiguration>
192
+
<library>SPRING_MVC</library> <!-- SPRING_MVC is the default value. Here this tag could be deleted. Other possible values are JAKARTA_RS and JAVAX_RS -->
193
+
<fileFormat>json</fileFormat>
194
+
<tagAnnotations> <!-- Only useful if you use Spring MVC -->
195
+
<!-- RestController is the default value, but can be replaced by RequestMapping -->
196
+
<annotation>RestController</annotation>
197
+
</tagAnnotations>
198
+
</apiConfiguration>
199
+
<!-- This section defines which folders contains the source code to be read to extract the javadoc. -->
200
+
<javadocConfiguration>
201
+
<scanLocations>
202
+
<!-- Other 'location' tag can be added to reference javadoc in other modules. -->
203
+
<!-- Path is relative to the project root path. -->
204
+
<location>src/main/java</location>
205
+
</scanLocations>
206
+
</javadocConfiguration>
207
+
<!-- This section defines a list of documentations to generate. In this exemple, only one is generated. -->
208
+
<apis>
209
+
<api>
210
+
<locations>
211
+
<!-- Replace here by a package relevant for your project. -->
0 commit comments