swagger-typescript-api 13.12.4 → 13.12.5

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.
@@ -212,7 +212,7 @@ var ComponentTypeNameResolver = class extends NameResolver {
212
212
  //#endregion
213
213
  //#region package.json
214
214
  var name = "swagger-typescript-api";
215
- var version = "13.12.4";
215
+ var version = "13.12.5";
216
216
  var description = "Generate the API client for Fetch or Axios from an OpenAPI Specification";
217
217
  //#endregion
218
218
  //#region src/constants.ts
@@ -302,6 +302,7 @@ const TsKeyword = {
302
302
  String: "string",
303
303
  Boolean: "boolean",
304
304
  Any: "any",
305
+ Never: "never",
305
306
  Void: "void",
306
307
  Unknown: "unknown",
307
308
  Null: "null",
@@ -1602,6 +1603,7 @@ var SchemaParser = class {
1602
1603
  }
1603
1604
  };
1604
1605
  parseSchema = () => {
1606
+ if (typeof this.schema === "boolean") return this._baseSchemaParsers[SCHEMA_TYPES$1.PRIMITIVE]({ type: this.schema ? this.config.Ts.Keyword.Any : this.config.Ts.Keyword.Never }, this.typeName);
1605
1607
  if (!this.schema) return this._baseSchemaParsers[SCHEMA_TYPES$1.PRIMITIVE](null, this.typeName);
1606
1608
  let schemaType = null;
1607
1609
  let parsedSchema = null;
@@ -4335,4 +4337,4 @@ Object.defineProperty(exports, "version", {
4335
4337
  }
4336
4338
  });
4337
4339
 
4338
- //# sourceMappingURL=src-C55JbE2j.cjs.map
4340
+ //# sourceMappingURL=src-COCr3_qu.cjs.map