diff --git a/cloud-modules/cloud-modules-system/pom.xml b/cloud-modules/cloud-modules-system/pom.xml index bb668d5..43f0b1f 100644 --- a/cloud-modules/cloud-modules-system/pom.xml +++ b/cloud-modules/cloud-modules-system/pom.xml @@ -82,6 +82,12 @@ org.springframework.boot spring-boot-starter-web + + + org.springdoc + springdoc-openapi-starter-webmvc-ui + 2.6.0 + diff --git a/cloud-modules/cloud-modules-system/src/main/resources/bootstrap.yml b/cloud-modules/cloud-modules-system/src/main/resources/bootstrap.yml index a43725d..b57c6de 100644 --- a/cloud-modules/cloud-modules-system/src/main/resources/bootstrap.yml +++ b/cloud-modules/cloud-modules-system/src/main/resources/bootstrap.yml @@ -8,6 +8,10 @@ nacos: user-name: nacos password: nacos namespace: muyu-cloud +# swagger-ui custom path +springdoc: + swagger-ui: + path: /swagger-ui.html # Spring spring: