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
<p><ahref="https://demos.springdoc.org/demo-spring-boot-3-webmvc" target="_blank" rel="noopener">Demo Spring Boot 3 Web MVC with OpenAPI 3</a></p>
40
+
<p><ahref="https://demos.springdoc.org/demo-spring-boot-3-webmvc" target="_blank" rel="noopener">Demo Spring Boot 3 Web MVC with OpenAPI 3 and Swagger-UI</a></p>
41
41
</li>
42
42
<li>
43
-
<p><ahref="https://demos.springdoc.org/demo-spring-boot-3-webflux/swagger-ui.html" target="_blank" rel="noopener">Demo Spring Boot 3 WebFlux with OpenAPI 3</a></p>
43
+
<p><ahref="https://demos.springdoc.org/demo-spring-boot-3-webflux/swagger-ui.html" target="_blank" rel="noopener">Demo Spring Boot 3 WebFlux with OpenAPI 3 and Swagger-UI</a></p>
44
+
</li>
45
+
<li>
46
+
<p><ahref="https://demos.springdoc.org/demo-spring-boot-webmvc-scalar/scalar" target="_blank" rel="noopener">Demo Spring Boot 3 Web MVC with OpenAPI 3 and Scalar</a></p>
47
+
</li>
48
+
<li>
49
+
<p><ahref="https://demos.springdoc.org/demo-spring-boot-webflux-scalar/scalar" target="_blank" rel="noopener">Demo Spring Boot 3 WebFlux with OpenAPI 3 and Scalar</a></p>
44
50
</li>
45
51
<li>
46
52
<p><ahref="https://demos.springdoc.org/demo-spring-boot-3-webflux-functional/swagger-ui.html" target="_blank" rel="noopener">Demo Spring Boot 3 WebFlux with Functional endpoints OpenAPI 3</a></p>
<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>
338
338
</li>
339
339
<li>
340
-
<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>
341
-
</li>
342
-
<li>
343
340
<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>
344
341
</li>
345
-
<li>
346
-
<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>
<p><ahref="https://swagger.io/tools/swagger-ui/">Swagger UI</a> allows anyone — be it your development team or your end consumers — to visualize and interact with the API’s resources without having any of the implementation logic in place. It’s automatically generated from your OpenAPI (formerly known as Swagger) Specification, with the visual documentation making it easy for back end implementation and client side consumption.</p>
137
+
</div>
138
+
<divclass="ulist">
139
+
<ul>
140
+
<li>
141
+
<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>
<p><ahref="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.
175
+
It’s particularly aimed at improving the developer experience when exploring APIs.</p>
176
+
</div>
177
+
<divclass="paragraph">
178
+
<p><code>springdoc-openapi</code> extends <code>Scalar</code> configuration to make it compatible with Spring Boot applications.
179
+
You can rely on native Scalar configuration properties, using the prefix <code>scalar</code>, as explained in the <ahref="https://guides.scalar.com/scalar/scalar-api-references/integrations/spring-boot#configuration-properties">Scalar documentation</a>.</p>
180
+
</div>
181
+
<divclass="ulist">
182
+
<ul>
183
+
<li>
184
+
<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>
<p>If you are using <code>spring-web</code>, simply add the <code>springdoc-openapi-starter-webmvc-ui</code> dependency.</p>
457
+
<p>If you are using <code>spring-web</code>, simply add the <code>springdoc-openapi-starter-webmvc-api</code> dependency.</p>
377
458
</li>
378
459
<li>
379
-
<p>If you are using <code>spring-webflux</code>, simply add the <code>springdoc-openapi-starter-webflux-ui</code> dependency.</p>
460
+
<p>If you are using <code>spring-webflux</code>, simply add the <code>springdoc-openapi-starter-webflux-api</code> dependency.</p>
380
461
</li>
381
462
</ul>
382
463
</div>
@@ -469,14 +550,8 @@ <h3 id="_kotlin_support"><a class="anchor" href="#_kotlin_support"></a>Kotlin su
469
550
<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>
470
551
</li>
471
552
<li>
472
-
<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>
473
-
</li>
474
-
<li>
475
553
<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>
476
554
</li>
477
-
<li>
478
-
<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>
479
-
</li>
480
555
</ul>
481
556
</div>
482
557
<divclass="admonitionblock note">
@@ -511,14 +586,8 @@ <h3 id="_groovy_support"><a class="anchor" href="#_groovy_support"></a>Groovy su
511
586
<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>
512
587
</li>
513
588
<li>
514
-
<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>
515
-
</li>
516
-
<li>
517
589
<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>
518
590
</li>
519
-
<li>
520
-
<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>
<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>
550
619
</li>
551
620
<li>
552
-
<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>
553
-
</li>
554
-
<li>
555
621
<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>
556
622
</li>
557
-
<li>
558
-
<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>
<p><ahref="https://demos1.springdoc.org/demo-spring-boot-webflux/swagger-ui.html" target="_blank" rel="noopener">Demo Spring Boot 4 WebFlux with OpenAPI 3</a></p>
44
44
</li>
45
45
<li>
46
+
<p><ahref="https://demos1.springdoc.org/demo-spring-boot-webmvc-scalar/scalar" target="_blank" rel="noopener">Demo Spring Boot 4 Web MVC with OpenAPI 3 and Scalar</a></p>
47
+
</li>
48
+
<li>
49
+
<p><ahref="https://demos1.springdoc.org/demo-spring-boot-webflux-scalar/scalar" target="_blank" rel="noopener">Demo Spring Boot 4 WebFlux with OpenAPI 3 and Scalar</a></p>
50
+
</li>
51
+
<li>
46
52
<p><ahref="https://demos1.springdoc.org/demo-spring-boot-webflux-functional/swagger-ui.html" target="_blank" rel="noopener">Demo Spring Boot 4 WebFlux with Functional endpoints OpenAPI 3</a></p>
<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>
338
338
</li>
339
339
<li>
340
-
<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>
341
-
</li>
342
-
<li>
343
340
<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>
344
341
</li>
345
-
<li>
346
-
<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>
0 commit comments