I’ve found the
getGETModel
and associated methods within the resource having looked at how its done in the webservices module, however these don’t appear to be getting called when outside this module
getGETModel, getCREATEModel, getUPDATEModel for any resource are used by the SwaggerSpecificationCreator class of the webservices module.
I’m not sure about the FIXME. Maybe it is there from the beginning. It is not clear to me what your problem is. Can you share the source code for those resources that you want to appear in OpenMRS Swagger Documentation?
Have you seen Documenting REST Resources - Documentation - OpenMRS Wiki?