api-core-lib 12.0.59 → 12.0.60
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/cli.cjs +4 -2
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -235,9 +235,11 @@ async function _generateTypesFile(moduleFolderPath, moduleName, typeNames, spec)
|
|
|
235
235
|
};
|
|
236
236
|
const rootSchemaForCompilation = {
|
|
237
237
|
$id: "allSchemas",
|
|
238
|
-
definitions
|
|
238
|
+
// بدلاً من "definitions", قم ببناء المسار الصحيح
|
|
239
|
+
components: {
|
|
240
|
+
schemas: allSchemas
|
|
241
|
+
},
|
|
239
242
|
type: "object",
|
|
240
|
-
// <-- الإصلاح هنا
|
|
241
243
|
properties: {}
|
|
242
244
|
};
|
|
243
245
|
for (const typeName of Array.from(typeNames).sort()) {
|