Pull model description from ctor.settings first
This commit is contained in:
parent
65be2833a2
commit
37179f3e61
|
@ -43,7 +43,8 @@ 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