Changed to possibly pull model description from ctor.settings
This commit is contained in:
parent
820c51fa7a
commit
76057a2ba9
|
@ -43,7 +43,7 @@ var classHelper = module.exports = {
|
|||
generateResourceDocAPIEntry: function(aClass) {
|
||||
return {
|
||||
path: aClass.http.path,
|
||||
description: aClass.ctor.sharedCtor && aClass.ctor.sharedCtor.description
|
||||
description: aClass.ctor.settings.description || aClass.ctor.sharedCtor && aClass.ctor.sharedCtor.description
|
||||
};
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue