From cd5ef6bf02fbdc02df605fd18c2da8815bef8862 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Wed, 11 Sep 2024 21:36:44 +1000 Subject: [PATCH] add springdoc config --- src/main/resources/application.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 5f1c12f..0d42816 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -53,4 +53,12 @@ spring: eureka: client: - enabled: false \ No newline at end of file + enabled: false + +springdoc: + swagger-ui: + path: /swagger-ui.html + displayRequestDuration: true + api-docs: + path: /api-docs + show-actuator: true \ No newline at end of file