Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion src/docs/asciidoc/v4/getting-started.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

For the integration between spring-boot and swagger-ui, add the library to the list of your project dependencies (No additional configuration is needed)

=== Maven
[source,xml, subs="attributes+"]
----
<dependency>
Expand All @@ -12,6 +13,16 @@ For the integration between spring-boot and swagger-ui, add the library to the l
</dependency>
----

=== Gradle
[source,gradle, subs="attributes+"]
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:{springdoc-upcoming-version}'


For example, using version 2.8.11:
[source,gradle]
----
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.11'
----

This will automatically deploy swagger-ui to a spring-boot application:

Expand Down Expand Up @@ -43,4 +54,4 @@ springdoc.swagger-ui.path=/swagger-ui.html
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
++++
++++