echoapi-converter 0.0.86 → 0.0.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2145,6 +2145,7 @@ const deepModelRef = (originSchema, schemaMap, startSchema, count = 0) => {
|
|
|
2145
2145
|
if (!lodash.includes(lastRequired, item)) {
|
|
2146
2146
|
lastRequired.push(item);
|
|
2147
2147
|
}
|
|
2148
|
+
return lastRequired;
|
|
2148
2149
|
}, (schema === null || schema === void 0 ? void 0 : schema.required) || []);
|
|
2149
2150
|
}
|
|
2150
2151
|
pre = Object.assign(Object.assign({}, pre), ((mapSchema === null || mapSchema === void 0 ? void 0 : mapSchema.properties) || {}));
|