quicktype-core 23.0.97 → 23.0.99

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.
@@ -670,7 +670,7 @@ function addTypesInSchema(resolver, typeBuilder, references, attributeProducers)
670
670
  const itemsLoc = loc.push("items");
671
671
  itemType = yield toType(checkJSONSchema(items, itemsLoc.canonicalRef), itemsLoc, singularAttributes);
672
672
  }
673
- else if (items !== undefined) {
673
+ else if (items !== undefined && items !== true) {
674
674
  return (0, Messages_1.messageError)("SchemaArrayItemsMustBeStringOrArray", withRef(loc, { actual: items }));
675
675
  }
676
676
  else {
@@ -120,7 +120,7 @@ exports.cSharpOptions = {
120
120
  ["Object", undefined]
121
121
  ], "Object", "secondary"),
122
122
  checkRequired: new RendererOptions_1.BooleanOption("check-required", "Fail if required properties are missing", false),
123
- keepPropertyName: new RendererOptions_1.BooleanOption("keep-property-name", "Keep original field name generate", false),
123
+ keepPropertyName: new RendererOptions_1.BooleanOption("keep-property-name", "Keep original field name generate", false)
124
124
  };
125
125
  class CSharpTargetLanguage extends TargetLanguage_1.TargetLanguage {
126
126
  constructor() {
@@ -278,7 +278,7 @@ function csNameStyleKeep(original) {
278
278
  "virtual",
279
279
  "void",
280
280
  "volatile",
281
- "while",
281
+ "while"
282
282
  ];
283
283
  const words = [
284
284
  {
@@ -100,7 +100,7 @@ class RustTargetLanguage extends TargetLanguage_1.TargetLanguage {
100
100
  exports.rustOptions.derivePartialEq,
101
101
  exports.rustOptions.edition2018,
102
102
  exports.rustOptions.leadingComments,
103
- exports.rustOptions.skipSerializingNone,
103
+ exports.rustOptions.skipSerializingNone
104
104
  ];
105
105
  }
106
106
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quicktype-core",
3
- "version": "23.0.97",
3
+ "version": "23.0.99",
4
4
  "description": "The quicktype engine as a library",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",