osury 0.6.0 → 0.6.1

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "osury",
3
3
  "type": "module",
4
4
  "description": "Generate ReScript types with Sury schemas from OpenAPI specifications",
5
- "version": "0.6.0",
5
+ "version": "0.6.1",
6
6
  "license": "MIT",
7
7
  "bin": {
8
8
  "osury": "./bin/osury.mjs"
@@ -524,6 +524,7 @@ function generateTypeDefWithSkipSet(namedSchema, _skipSet) {
524
524
  let variantBody = generateVariantBody(types._0);
525
525
  return `@genType
526
526
  @tag("_tag")
527
+ @unboxed
527
528
  @schema
528
529
  type ` + typeName + ` = ` + variantBody;
529
530
  }
@@ -540,6 +541,7 @@ function generateTypeDef(namedSchema) {
540
541
  let variantBody = generateVariantBody(types._0);
541
542
  return `@genType
542
543
  @tag("_tag")
544
+ @unboxed
543
545
  @schema
544
546
  type ` + typeName + ` = ` + variantBody;
545
547
  }