Well we don’t have swagger document for FHIR2 but the FhirIG that i shared above.
- You could maybe take a look at Mapped FHIR Resources - Projects - OpenMRS Wiki if you find the IG confusing.
- For the url, you could use
http://localhost:8080/openmrs/ws/fhir2/R4
and add any of the supported resources e.ghttp://localhost:8080/openmrs/ws/fhir2/R4/Patient
. - You can aswell take a look at Developing User Friendly Documentation for FHIR API - GSoD 2020 - #8 by ibacher on how to generate the swagger docs using the CapabilityStatement which you can download at https://qa-refapp.openmrs.org/openmrs/ws/fhir2/metadata.