Added OpenAPI / Swagger option

This commit is contained in:
jkv
2021-11-10 20:57:31 +01:00
parent eaffce0d42
commit ea3f10ec86
4 changed files with 22 additions and 0 deletions

View File

@@ -36,6 +36,8 @@ spring:
allow-bean-definition-overriding: true
hapi:
fhir:
### This enables the swagger-ui at /fhir/swagger-ui/index.html as well as the /fhir/api-docs (see https://hapifhir.io/hapi-fhir/docs/server_plain/openapi.html)
openapi_enabled: true
### This is the FHIR version. Choose between, DSTU2, DSTU3, R4 or R5
fhir_version: R4
### enable to use the ApacheProxyAddressStrategy which uses X-Forwarded-* headers