fix: include parsed .md spec into api.json (#5662)
This commit is contained in:
parent
b253ee80c0
commit
c390f3950f
|
|
@ -49,7 +49,7 @@ function serialize(documentation) {
|
|||
* @param {Documentation.Class} clazz
|
||||
*/
|
||||
function serializeClass(clazz) {
|
||||
const result = { name: clazz.name };
|
||||
const result = { name: clazz.name, spec: clazz.spec };
|
||||
if (clazz.extends)
|
||||
result.extends = clazz.extends;
|
||||
result.langs = clazz.langs;
|
||||
|
|
@ -88,7 +88,6 @@ function sanitize(result) {
|
|||
delete result.argsArray;
|
||||
delete result.clazz;
|
||||
delete result.enclosingMethod;
|
||||
delete result.spec;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue