Skip to content

Swagger UI

SirajChaudhary edited this page Sep 24, 2022 · 3 revisions

Step1: Add maven depedency in pom.xml of every microservice

<!-- openapi ui (swagger-ui) -->
<dependency>
	<groupId>org.springdoc</groupId>
	<artifactId>springdoc-openapi-ui</artifactId>
	<version>1.5.10</version>
</dependency>

Step2: Add swagger-ui custom URL in application.yml

springdoc:
  swagger-ui:
    path: /swagger-ui.html

Step3: http://localhost:8081/swagger-ui.html http://localhost:8081/swagger-ui.html http://localhost:8081/swagger-ui.html

Clone this wiki locally