Skip to content

Commit

Permalink
Added springdoc-openapi-maven-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Oct 3, 2023
1 parent 6e67382 commit 80460e9
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,34 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<jvmArguments>-Dspring.application.admin.enabled=true</jvmArguments>
</configuration>
<executions>
<execution>
<goals>
<goal>start</goal>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-maven-plugin</artifactId>
<version>1.4</version>
<configuration>
<apiDocsUrl>http://localhost:8080/ui/api-docs</apiDocsUrl>
<outputFileName>openapi.json</outputFileName>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>io.github.git-commit-id</groupId>
Expand Down

0 comments on commit 80460e9

Please sign in to comment.