summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorputhuparambil.aditya <aditya.puthuparambil@bell.ca>2021-11-23 14:53:43 +0000
committerputhuparambil.aditya <aditya.puthuparambil@bell.ca>2021-11-23 14:53:43 +0000
commit1d90226c31817f562118c2f3d484e000d6c72cae (patch)
tree4d289d3f6a4014d4c23f0123e026ce1a6790c1b9 /src/main
parent54340b00d3560955f67561185c9fbc1b63455d3c (diff)
Generating openapi documentation from openapi.yaml
Issue-ID: CPS-755 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Ib19afce259639d0154e6dbeb825c5da0e3dbfa3a
Diffstat (limited to 'src/main')
-rw-r--r--src/main/resources/application.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 1a3b843f..67cd28ee 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -74,3 +74,11 @@ logging:
console: "%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"
file: "%d %p %c{1.} [%t] %m%n"
file: dmi.log
+
+springdoc:
+ swagger-ui:
+ disable-swagger-default-url: true
+ urlsPrimaryName: query
+ urls:
+ - name: query
+ url: /api-docs/openapi.yaml \ No newline at end of file