In Bahmni demo server as well as in OpenMRS demo pages, the swagger API documentation error exists. We worked on resolving it and took several links as reference and also the OpenMRS documentation.
We were finally able to resolve the errors, except for the emrapi module (Steps are discussed in detail here)
We are not sure about where to raise the PR. Can someone help out with this?