From 1c7473afdca9272386d76174dd26e8a12e04a966 Mon Sep 17 00:00:00 2001 From: "Shahid N. Shah" Date: Thu, 27 Jun 2024 23:22:14 -0400 Subject: [PATCH] feat: FHIR APIs should be easier to find in Swagger UI closes #75 --- hub-prime/src/main/resources/application.yml | 2 ++ .../templates/page/docs/swagger-ui.html | 29 ++++++++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/hub-prime/src/main/resources/application.yml b/hub-prime/src/main/resources/application.yml index effa6df8fc6..07a3586b17d 100644 --- a/hub-prime/src/main/resources/application.yml +++ b/hub-prime/src/main/resources/application.yml @@ -43,6 +43,8 @@ springdoc: api-docs: path: /docs/api/openapi swagger-ui.path: /docs/api/interactive/index.html + swagger-ui: + doc-expansion: none show-actuator: true server: diff --git a/hub-prime/src/main/resources/templates/page/docs/swagger-ui.html b/hub-prime/src/main/resources/templates/page/docs/swagger-ui.html index 6b6181cf915..6e94222d7dd 100644 --- a/hub-prime/src/main/resources/templates/page/docs/swagger-ui.html +++ b/hub-prime/src/main/resources/templates/page/docs/swagger-ui.html @@ -4,11 +4,38 @@ Documentation +
- +