@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.
Files changed (2) hide show
  1. package/main.js +3 -1
  2. 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, name2, topLevel).pipe(
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tim-smart/openapi-gen",
3
- "version": "0.4.12",
3
+ "version": "0.4.13",
4
4
  "description": "Generate Effect http clients from OpenAPI specs",
5
5
  "bin": "main.js",
6
6
  "repository": {