[Spring Boot] How to use Swagger UI with Spring Boot

Swagger Configuration
Swagger Dependencies

[UPDATE] Applying Swagger UI with OpenAPI 3.0

For MVC

Add the following dependency and run the application.

pom.xml

For Functional Endpoints (Webflux)

Add the following dependency and run the application.

pom.xml

The API documentation will be displayed at /swagger-ui.html by default. If you want to change the path of the swagger-ui, a value can be set to springdoc.swagger-ui.path in application.properties or yml.

--

--

--

https://www.linkedin.com/in/jaesik-kim-706b4a84

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to conduct user research in a one-week sprint.

How we got feedback for our product

Interaction Design Foundation

Design Hierarchy of Needs

UI/UX Design: How to Read Design Books Fast

BRIGHTEN UP YOUR BEDROOM FOR THE LOOK YOU WANT?….BUT DON’T KNOW HOW?

A designer’s responsibility

Bringing a paradigm shift in UI/UX Training with skill-based programs

Redefining UIUX Training with skill-based learning programs - Digpu News

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
J.Kim

J.Kim

https://www.linkedin.com/in/jaesik-kim-706b4a84

More from Medium

Spring Boot Admin: Initiation

Spring Data JDBC: Implementing Domain Driven Design Aggregate

Getting Started with Apache Kafka and Spring Boot

Tree Entity with JPA and spring-boot