Skip to content

Commit c4b9404

Browse files
committed
release 2.8.13
1 parent b1273fd commit c4b9404

24 files changed

+209
-67
lines changed

docs/core-properties.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
<tr>
232232
<td class="tableblock halign-left valign-top"><p class="tableblock">springdoc.use-management-port</p></td>
233233
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>false</code></p></td>
234-
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>Boolean</code>. To expose the swagger-ui on the actuator management port.</p></td>
234+
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>Boolean</code>. To expose the swagger-ui/scalar on the actuator management port.</p></td>
235235
</tr>
236236
<tr>
237237
<td class="tableblock halign-left valign-top"><p class="tableblock">springdoc.disable-i18n</p></td>
@@ -333,7 +333,7 @@
333333
</div>
334334
<div id="footer">
335335
<div id="footer-text">
336-
Last updated 2025-04-21 22:29:56 +0200
336+
Last updated 2025-09-07 17:01:40 +0200
337337
</div>
338338
</div>
339339
</div>

docs/getting-started.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ <h2 id="getting-started"><a class="anchor" href="#getting-started"></a>Getting S
8080
<i class="fa icon-tip" title="Tip"></i>
8181
</td>
8282
<td class="content">
83-
For custom path of the swagger documentation in HTML format, add a custom springdoc property, in your spring-boot configuration file: .
83+
For custom path of the swagger documentation in HTML format, add a custom springdoc property, in your spring-boot configuration file.
8484
</td>
8585
</tr>
8686
</table>
@@ -107,7 +107,7 @@ <h2 id="getting-started"><a class="anchor" href="#getting-started"></a>Getting S
107107
</div>
108108
<div id="footer">
109109
<div id="footer-text">
110-
Last updated 2025-05-04 17:47:09 +0200
110+
Last updated 2025-09-07 17:05:02 +0200
111111
</div>
112112
</div>
113113
</div>

docs/index.html

Lines changed: 56 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,9 @@ <h2 id="Introduction"><a class="anchor" href="#Introduction"></a>1. Introduction
287287
<p>Swagger-ui</p>
288288
</li>
289289
<li>
290+
<p>Scalar</p>
291+
</li>
292+
<li>
290293
<p>OAuth 2</p>
291294
</li>
292295
<li>
@@ -358,7 +361,7 @@ <h2 id="getting-started"><a class="anchor" href="#getting-started"></a>2. Gettin
358361
<i class="fa icon-tip" title="Tip"></i>
359362
</td>
360363
<td class="content">
361-
For custom path of the swagger documentation in HTML format, add a custom springdoc property, in your spring-boot configuration file: .
364+
For custom path of the swagger documentation in HTML format, add a custom springdoc property, in your spring-boot configuration file.
362365
</td>
363366
</tr>
364367
</table>
@@ -437,7 +440,7 @@ <h3 id="spring-webmvc-support"><a class="anchor" href="#spring-webmvc-support"><
437440
<i class="fa icon-note" title="Note"></i>
438441
</td>
439442
<td class="content">
440-
This dependency is relevant if you want to generate the OpenAPI description without using the swagger-ui.
443+
This dependency is relevant if you want to generate the OpenAPI description without using the swagger-ui or Scalar.
441444
</td>
442445
</tr>
443446
</table>
@@ -524,7 +527,7 @@ <h3 id="swagger-ui-support"><a class="anchor" href="#swagger-ui-support"></a>3.4
524527
<div class="sect2">
525528
<h3 id="scalar-support"><a class="anchor" href="#scalar-support"></a>3.5. Scalar support</h3>
526529
<div class="paragraph">
527-
<p><a href="https://swagger.io/tools/swagger-ui/">Scalar</a> Scalar is an open-source API platform, designed for creating beautiful, interactive API documentation and providing a built-in REST API client, with first-class support for OpenAPI (formerly Swagger) specifications.
530+
<p><a href="https://scalar.com/">Scalar</a> is an open-source API platform, designed for creating beautiful, interactive API documentation and providing a built-in REST API client, with first-class support for OpenAPI (formerly Swagger) specifications.
528531
It’s particularly aimed at improving the developer experience when exploring APIs.</p>
529532
</div>
530533
<div class="paragraph">
@@ -534,6 +537,22 @@ <h3 id="scalar-support"><a class="anchor" href="#scalar-support"></a>3.5. Scalar
534537
<div class="ulist">
535538
<ul>
536539
<li>
540+
<p>The Swagger UI page will then be available at <code>http://server:port/context-path/scalar</code> and the OpenAPI description will be available at the following url for json format: <code>http://server:port/context-path/v3/api-docs</code></p>
541+
<div class="ulist">
542+
<ul>
543+
<li>
544+
<p>server: The server name or IP</p>
545+
</li>
546+
<li>
547+
<p>port: The server port</p>
548+
</li>
549+
<li>
550+
<p>context-path: The context path of the application</p>
551+
</li>
552+
</ul>
553+
</div>
554+
</li>
555+
<li>
537556
<p>If your project is using <code>spring-boot-starter-web</code> and you need the access to the swagger-ui, add the following dependency:</p>
538557
</li>
539558
</ul>
@@ -619,14 +638,8 @@ <h3 id="spring-security-support"><a class="anchor" href="#spring-security-suppor
619638
<p><code>springdoc-openapi-starter-webmvc-api</code> if they depend on <code>spring-boot-starter-web</code> and they only need the access to the OpenAPI endpoints.</p>
620639
</li>
621640
<li>
622-
<p>OR <code>springdoc-openapi-starter-webmvc-ui</code>, if they depend on <code>spring-boot-starter-web</code> and they also need the access to the swagger-ui.</p>
623-
</li>
624-
<li>
625641
<p>OR <code>springdoc-openapi-starter-webflux-api</code> if they depend on <code>spring-boot-starter-webflux</code> and they only the access to the OpenAPI endpoints.</p>
626642
</li>
627-
<li>
628-
<p>OR <code>springdoc-openapi-starter-webflux-ui</code>, if they depend on <code>spring-boot-starter-webflux</code> and they also need the access to the swagger-ui.</p>
629-
</li>
630643
</ul>
631644
</div>
632645
</div>
@@ -660,13 +673,15 @@ <h3 id="actuator-support"><a class="anchor" href="#actuator-support"></a>3.9. Ac
660673
</table>
661674
</div>
662675
<div class="paragraph">
663-
<p>To expose the swagger-ui, on the management port, you should set</p>
676+
<p>To expose the swagger-ui and Scalar, on the management port, you should set</p>
664677
</div>
665678
<div class="listingblock">
666679
<div class="content">
667680
<pre class="highlight"><code class="language-properties" data-lang="properties">springdoc.use-management-port=true
668681
# This property enables the openapi and swagger-ui endpoints to be exposed beneath the actuator base path.
669-
management.endpoints.web.exposure.include=openapi, swagger-ui</code></pre>
682+
management.endpoints.web.exposure.include=openapi, swagger-ui
683+
# This property enables the openapi and scalar endpoints to be exposed beneath the actuator base path.
684+
management.endpoints.web.exposure.include=openapi, scalar</code></pre>
670685
</div>
671686
</div>
672687
<div class="paragraph">
@@ -677,7 +692,7 @@ <h3 id="actuator-support"><a class="anchor" href="#actuator-support"></a>3.9. Ac
677692
<p>For example, if you have the following settings:</p>
678693
</div>
679694
<div class="paragraph">
680-
<p>Two endpoints will be available:</p>
695+
<p>These endpoints will be available:</p>
681696
</div>
682697
<div class="olist arabic">
683698
<ol class="arabic">
@@ -701,6 +716,16 @@ <h3 id="actuator-support"><a class="anchor" href="#actuator-support"></a>3.9. Ac
701716
</ul>
702717
</div>
703718
</li>
719+
<li>
720+
<p>Or An Endpoint, that routes to the scalar:</p>
721+
<div class="ulist">
722+
<ul>
723+
<li>
724+
<p><code>http://serverName:managementPort/actuator/scalar</code></p>
725+
</li>
726+
</ul>
727+
</div>
728+
</li>
704729
</ol>
705730
</div>
706731
<div class="listingblock">
@@ -709,15 +734,15 @@ <h3 id="actuator-support"><a class="anchor" href="#actuator-support"></a>3.9. Ac
709734
</div>
710735
</div>
711736
<div class="paragraph">
712-
<p>For the example, you should also be able to see the springdoc-openapi endpoints:</p>
737+
<p>For the example, you should also be able to see the springdoc-openapi endpoints depending on the chosen UI:</p>
713738
</div>
714739
<div class="ulist">
715740
<ul>
716741
<li>
717742
<p><code>http://serverName:9090/actuator</code></p>
718743
</li>
719744
<li>
720-
<p><code>http://serverName:9090/actuator/swagger-ui</code></p>
745+
<p><code>http://serverName:9090/actuator/swagger-ui</code> or <code>http://serverName:9090/actuator/scalar</code></p>
721746
</li>
722747
<li>
723748
<p><code>http://serverName:9090/actuator/openapi</code></p>
@@ -734,13 +759,13 @@ <h3 id="actuator-support"><a class="anchor" href="#actuator-support"></a>3.9. Ac
734759
<i class="fa icon-tip" title="Tip"></i>
735760
</td>
736761
<td class="content">
737-
If you want to reach the application endpoints, from the swagger-ui deployed beneath the actuator base path, using a different port from your application, <code>CORS for your endpoints</code> on your application level should be enabled.
762+
If you want to reach the application endpoints, from the swagger-ui/scalar deployed beneath the actuator base path, using a different port from your application, <code>CORS for your endpoints</code> on your application level should be enabled.
738763
</td>
739764
</tr>
740765
</table>
741766
</div>
742767
<div class="paragraph">
743-
<p>Additionally, it is also possible to combine this property, with the existing property to display the actuator endpoints in the swagger-ui.</p>
768+
<p>Additionally, it is also possible to combine this property, with the existing property to display the actuator endpoints in the swagger-ui/scalar.</p>
744769
</div>
745770
<div class="listingblock">
746771
<div class="content">
@@ -763,6 +788,16 @@ <h3 id="actuator-support"><a class="anchor" href="#actuator-support"></a>3.9. Ac
763788
</ul>
764789
</div>
765790
<div class="paragraph">
791+
<p>The scalar UI will be then accessible through the actuator port:</p>
792+
</div>
793+
<div class="ulist">
794+
<ul>
795+
<li>
796+
<p><code>http://serverName:managementPort/actuator/scalar</code></p>
797+
</li>
798+
</ul>
799+
</div>
800+
<div class="paragraph">
766801
<p>If the management port is different from the application port and <code>springdoc.use-management-port</code> is not defined but <code>springdoc.show-actuator</code> is set to true:</p>
767802
</div>
768803
<div class="ulist">
@@ -771,6 +806,9 @@ <h3 id="actuator-support"><a class="anchor" href="#actuator-support"></a>3.9. Ac
771806
<p>The swagger-ui will be then accessible through the application port. For example: <code>http://serverName:applicationPort/swagger-ui.html</code></p>
772807
</li>
773808
<li>
809+
<p>The scalar UI will be then accessible through the application port. For example: <code>http://serverName:applicationPort/scalar</code></p>
810+
</li>
811+
<li>
774812
<p>A dedicated group for the actuator endpoints will be by default added.</p>
775813
</li>
776814
<li>
@@ -1584,7 +1622,7 @@ <h3 id="springdoc-openapi-core-properties"><a class="anchor" href="#springdoc-op
15841622
<tr>
15851623
<td class="tableblock halign-left valign-top"><p class="tableblock">springdoc.use-management-port</p></td>
15861624
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>false</code></p></td>
1587-
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>Boolean</code>. To expose the swagger-ui on the actuator management port.</p></td>
1625+
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>Boolean</code>. To expose the swagger-ui/scalar on the actuator management port.</p></td>
15881626
</tr>
15891627
<tr>
15901628
<td class="tableblock halign-left valign-top"><p class="tableblock">springdoc.disable-i18n</p></td>
@@ -2475,7 +2513,7 @@ <h2 id="migrating-from-springfox"><a class="anchor" href="#migrating-from-spring
24752513
<div class="ulist">
24762514
<ul>
24772515
<li>
2478-
<p>If the swagger-ui is served behind a proxy:</p>
2516+
<p>If the swagger-ui/scalar is served behind a proxy:</p>
24792517
<div class="ulist">
24802518
<ul>
24812519
<li>

docs/intro.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ <h2 id="Introduction"><a class="anchor" href="#Introduction"></a>Introduction</h
5858
<p>Swagger-ui</p>
5959
</li>
6060
<li>
61+
<p>Scalar</p>
62+
</li>
63+
<li>
6164
<p>OAuth 2</p>
6265
</li>
6366
<li>
@@ -81,7 +84,7 @@ <h2 id="Introduction"><a class="anchor" href="#Introduction"></a>Introduction</h
8184
</div>
8285
<div id="footer">
8386
<div id="footer-text">
84-
Last updated 2024-10-06 14:24:00 +0200
87+
Last updated 2025-09-07 17:01:40 +0200
8588
</div>
8689
</div>
8790
</div>

docs/migrating-from-springfox.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ <h2 id="migrating-from-springfox"><a class="anchor" href="#migrating-from-spring
181181
<div class="ulist">
182182
<ul>
183183
<li>
184-
<p>If the swagger-ui is served behind a proxy:</p>
184+
<p>If the swagger-ui/scalar is served behind a proxy:</p>
185185
<div class="ulist">
186186
<ul>
187187
<li>
@@ -217,7 +217,7 @@ <h2 id="migrating-from-springfox"><a class="anchor" href="#migrating-from-spring
217217
</div>
218218
<div id="footer">
219219
<div id="footer-text">
220-
Last updated 2024-10-06 14:24:00 +0200
220+
Last updated 2025-09-07 17:01:40 +0200
221221
</div>
222222
</div>
223223
</div>

0 commit comments

Comments
 (0)