Skip to content

Instantly share code, notes, and snippets.

@BenjaminKlatt
Created February 14, 2021 10:00
Show Gist options
  • Save BenjaminKlatt/c3578b80acc734afb1712f0a694a4259 to your computer and use it in GitHub Desktop.
Save BenjaminKlatt/c3578b80acc734afb1712f0a694a4259 to your computer and use it in GitHub Desktop.
SpringDoc OpenAPI spec download maven configuration
<plugin>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-maven-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<apiDocsUrl>http://localhost:${tomcat.http.port}/v3/api-docs</apiDocsUrl>
</configuration>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment