Adding Swagger to new Rest End point of a OpenMRS Module

I am developing some Rest End Points for openmrs Location Based access control Module. I would like to Add Swagger for my endpoints. I want to know is there any way to use the already present swagger implementation in openmrs module webservices rest or should I use swagger module for this module seperately.

1 Like

Did you take a look at this? https://wiki.openmrs.org/display/docs/Documenting+REST+Resources

1 Like

@dkayiwa, Yes I have see that. it adds Swagger Documentation for the Resource Model.

currently I am adding a controller for checking Patient Location Migration, to change LBAC properties etc …