hapifhir / hapi-fhir

🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
http://hapifhir.io
Apache License 2.0
2.04k stars 1.33k forks source link

Failed to load API definition for EvicdenceReport. #4709

Open llopera opened 1 year ago

llopera commented 1 year ago

Describe the bug when accessing the API definitions for an EvidenceReport resource via http://localhost:8080/fhir/swagger-ui/?page=EvidenceReport server responds with a 400 status

To Reproduce Steps to reproduce the behavior:

  1. start an empty hapiproject/hapi docker image with fhir version R5 docker run --e hapi.fhir.fhir_version=R5 -p 8080:8080 hapiproject/hapi:v6.4.0
  2. Using the browser go to http://localhost:8080/fhir/swagger-ui/?page=EvidenceReport
  3. Scroll down to the bottom o the page
  4. See the error "Failed to load API definition."

Expected behavior Interactive access to the API to test operations. Other resources work without problem.

Screenshots image

Environment (please complete the following information):

l2D commented 11 months ago

For my case, I fixed it by re-check server_address in application.yaml 2023-11-27T09-05-23_tU5RWkJY@2x

I changed to https://my-subdomain.my-domain.com/fhir. For your case, it might be http://localhost:8080/fhir

Note: