From 749395d6a50ca20b78e0d2592c2fe739e129e086 Mon Sep 17 00:00:00 2001 From: Declan Kieran Date: Mon, 29 Jan 2024 11:11:04 +0000 Subject: [PATCH] Added guidance how to access swagger in docker instance of HAPI server. --- input/pagecontent/server-example-add-ra-record.md | 8 ++++++++ input/pagecontent/server-example-retrieve-ra-record.md | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/input/pagecontent/server-example-add-ra-record.md b/input/pagecontent/server-example-add-ra-record.md index 9f868ef..f534f67 100644 --- a/input/pagecontent/server-example-add-ra-record.md +++ b/input/pagecontent/server-example-add-ra-record.md @@ -16,6 +16,14 @@ To pull the latest image, run docker pull hapiproject/hapi:latest ``` +#### Swagger + +The HAPI starter project provides an OAS interface to the supported FHIR API. Assuming the above docker command is used, this would be available at + +``` +http://localhost:8080/fhir/swagger-ui/index.html +``` + #### CI Build These examples are loaded into a running FHIR server during the IG build. Some resources (queries) are dynamically generated and added to the IG at build time. (TODO add a list of dynamically generated resources somewhere). diff --git a/input/pagecontent/server-example-retrieve-ra-record.md b/input/pagecontent/server-example-retrieve-ra-record.md index 1390aee..06f6ed2 100644 --- a/input/pagecontent/server-example-retrieve-ra-record.md +++ b/input/pagecontent/server-example-retrieve-ra-record.md @@ -16,6 +16,14 @@ To pull the latest image, run docker pull hapiproject/hapi:latest ``` +#### Swagger + +The HAPI starter project provides an OAS interface to the supported FHIR API. Assuming the above docker command is used, this would be available at + +``` +http://localhost:8080/fhir/swagger-ui/index.html +``` + #### CI Build These examples are loaded into a running FHIR server during the IG build. Some resources (queries) are dynamically generated and added to the IG at build time. (TODO add a list of dynamically generated resources somewhere).