Oh! That’s pretty easy… No the latest FHIR module does not have Swagger documentation for it. That seemed like doubling the amount work we would have to do. Earlier today, however, I stumbled on this NPM package which purports to be able to take a FHIR conformance statement and generate a Swagger json file. So you should be able to use that to generate Swagger docs if you want them. I might look into integrating that at some point.
The fhir_url
would be: http://localhost:8080/openmrs/ws/fhir2/R4
and the conformance_path
would just be /metadata
(we default to supplying JSON).