@tim-smart/openapi-gen 0.3.5 → 0.3.6

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 +1 -1
  2. package/package.json +1 -1
package/main.js CHANGED
@@ -29602,7 +29602,7 @@ var make65 = gen2(function* () {
29602
29602
  };
29603
29603
  const applyAnnotations = (S, options3) => (source) => {
29604
29604
  if (options3.isNullable && options3.default === null) {
29605
- return `${S}.optionalWith(${source}, { nullable: true, default: () => null })`;
29605
+ return `${S}.optionalWith(${S}.NullOr(${source}), { default: () => null })`;
29606
29606
  }
29607
29607
  const defaultSource = options3.default !== void 0 && options3.default !== null ? `() => ${JSON.stringify(options3.default)} as const` : void 0;
29608
29608
  if (options3.isOptional) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tim-smart/openapi-gen",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "Generate Effect http clients from OpenAPI specs",
5
5
  "bin": "main.js",
6
6
  "repository": {