Adding new REST URL: Unable to getRepresentationDescription for a Class object I created

Hello everyone, I am developing a restful API that deserves some services to a front end module using OpenMRS rest API. For example, I have two Classes Region and District, where one class (District) contains an attribute linked to the other. When attempting to get the list of District using rest API, I got this error. Here is the RequestResource of my classes.

Please could some one can help on this?. Thanks

Did you fix this? I see a commit with message: Fixing issued linked with Representative description. now working

you would create Resources for both the entity data models and then this property would reference the resource Representation of the other Region Resource

like

description.addProperty("region" , Representation.DEFAULT);

instead of

description.addProperty("region");

the latter applies to a primitive data types not an entity model