ng-openapi 0.2.11 → 0.2.12-pr-57-fix-missing-types-a3127fb.0
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/cli.cjs +1 -2
- package/index.js +0 -1
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -44,7 +44,7 @@ var fs4 = __toESM(require("fs"));
|
|
|
44
44
|
var path12 = __toESM(require("path"));
|
|
45
45
|
|
|
46
46
|
// package.json
|
|
47
|
-
var version = "0.2.
|
|
47
|
+
var version = "0.2.11";
|
|
48
48
|
|
|
49
49
|
// src/lib/core/generator.ts
|
|
50
50
|
var import_ts_morph7 = require("ts-morph");
|
|
@@ -593,7 +593,6 @@ var TypeGenerator = class {
|
|
|
593
593
|
const definitions = this.parser.getDefinitions();
|
|
594
594
|
if (!definitions || Object.keys(definitions).length === 0) {
|
|
595
595
|
console.warn("No definitions found in swagger file");
|
|
596
|
-
return;
|
|
597
596
|
}
|
|
598
597
|
this.collectAllTypeStructures(definitions);
|
|
599
598
|
this.collectSdkTypes();
|
package/index.js
CHANGED
|
@@ -708,7 +708,6 @@ var _TypeGenerator = class _TypeGenerator {
|
|
|
708
708
|
const definitions = this.parser.getDefinitions();
|
|
709
709
|
if (!definitions || Object.keys(definitions).length === 0) {
|
|
710
710
|
console.warn("No definitions found in swagger file");
|
|
711
|
-
return;
|
|
712
711
|
}
|
|
713
712
|
this.collectAllTypeStructures(definitions);
|
|
714
713
|
this.collectSdkTypes();
|
package/package.json
CHANGED