@tim-smart/openapi-gen 0.4.12 → 0.4.13
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/main.js +3 -1
- package/package.json +1 -1
package/main.js
CHANGED
|
@@ -34935,7 +34935,9 @@ var make64 = gen2(function* () {
|
|
|
34935
34935
|
isClass,
|
|
34936
34936
|
isEnum
|
|
34937
34937
|
});
|
|
34938
|
-
return toSource(importName, schema
|
|
34938
|
+
return toSource(importName, Object.keys(schema).length ? schema : {
|
|
34939
|
+
properties: {}
|
|
34940
|
+
}, name2, topLevel).pipe(
|
|
34939
34941
|
map2(
|
|
34940
34942
|
(source) => transformer.onTopLevel({
|
|
34941
34943
|
importName,
|