orval 7.1.1 → 7.3.0

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/dist/bin/orval.js CHANGED
@@ -3582,7 +3582,7 @@ var getApiSchemas = ({
3582
3582
  }) => {
3583
3583
  return Object.entries(specs).reduce(
3584
3584
  (acc, [specKey, spec]) => {
3585
- var _a, _b, _c, _d, _e;
3585
+ var _a, _b, _c, _d;
3586
3586
  const context = {
3587
3587
  specKey,
3588
3588
  target,
@@ -3595,20 +3595,20 @@ var getApiSchemas = ({
3595
3595
  parsedSchemas,
3596
3596
  context,
3597
3597
  output.override.components.schemas.suffix,
3598
- (_b = input.filters) == null ? void 0 : _b.schemas
3598
+ input.filters
3599
3599
  );
3600
3600
  const responseDefinition = (0, import_core3.generateComponentDefinition)(
3601
- (_c = spec.components) == null ? void 0 : _c.responses,
3601
+ (_b = spec.components) == null ? void 0 : _b.responses,
3602
3602
  context,
3603
3603
  output.override.components.responses.suffix
3604
3604
  );
3605
3605
  const bodyDefinition = (0, import_core3.generateComponentDefinition)(
3606
- (_d = spec.components) == null ? void 0 : _d.requestBodies,
3606
+ (_c = spec.components) == null ? void 0 : _c.requestBodies,
3607
3607
  context,
3608
3608
  output.override.components.requestBodies.suffix
3609
3609
  );
3610
3610
  const parameters = (0, import_core3.generateParameterDefinition)(
3611
- (_e = spec.components) == null ? void 0 : _e.parameters,
3611
+ (_d = spec.components) == null ? void 0 : _d.parameters,
3612
3612
  context,
3613
3613
  output.override.components.parameters.suffix
3614
3614
  );
@@ -3741,7 +3741,7 @@ var import_chalk2 = __toESM(require("chalk"));
3741
3741
  var package_default = {
3742
3742
  name: "orval",
3743
3743
  description: "A swagger client generator for typescript",
3744
- version: "7.1.1",
3744
+ version: "7.3.0",
3745
3745
  license: "MIT",
3746
3746
  files: [
3747
3747
  "dist"
@@ -3795,19 +3795,19 @@ var package_default = {
3795
3795
  },
3796
3796
  dependencies: {
3797
3797
  "@apidevtools/swagger-parser": "^10.1.0",
3798
- "@orval/angular": "7.1.1",
3799
- "@orval/axios": "7.1.1",
3800
- "@orval/core": "7.1.1",
3801
- "@orval/fetch": "7.1.1",
3802
- "@orval/hono": "7.1.1",
3803
- "@orval/mock": "7.1.1",
3804
- "@orval/query": "7.1.1",
3805
- "@orval/swr": "7.1.1",
3806
- "@orval/zod": "7.1.1",
3798
+ "@orval/angular": "7.3.0",
3799
+ "@orval/axios": "7.3.0",
3800
+ "@orval/core": "7.3.0",
3801
+ "@orval/fetch": "7.3.0",
3802
+ "@orval/hono": "7.3.0",
3803
+ "@orval/mock": "7.3.0",
3804
+ "@orval/query": "7.3.0",
3805
+ "@orval/swr": "7.3.0",
3806
+ "@orval/zod": "7.3.0",
3807
3807
  ajv: "^8.12.0",
3808
3808
  cac: "^6.7.14",
3809
3809
  chalk: "^4.1.2",
3810
- chokidar: "^3.6.0",
3810
+ chokidar: "^4.0.1",
3811
3811
  enquirer: "^2.4.1",
3812
3812
  execa: "^5.1.1",
3813
3813
  "find-up": "5.0.0",
@@ -4234,7 +4234,7 @@ var normalizeOptions = async (optionsExport, workspace = process.cwd(), globalOp
4234
4234
  provideIn: (_Nb = (_Mb = (_Lb = outputOptions.override) == null ? void 0 : _Lb.angular) == null ? void 0 : _Mb.provideIn) != null ? _Nb : "root"
4235
4235
  },
4236
4236
  fetch: {
4237
- includeHttpStatusReturnType: (_Qb = (_Pb = (_Ob = outputOptions.override) == null ? void 0 : _Ob.fetch) == null ? void 0 : _Pb.includeHttpStatusReturnType) != null ? _Qb : true,
4237
+ includeHttpResponseReturnType: (_Qb = (_Pb = (_Ob = outputOptions.override) == null ? void 0 : _Ob.fetch) == null ? void 0 : _Pb.includeHttpResponseReturnType) != null ? _Qb : true,
4238
4238
  ...(_Sb = (_Rb = outputOptions.override) == null ? void 0 : _Rb.fetch) != null ? _Sb : {}
4239
4239
  },
4240
4240
  useDates: ((_Tb = outputOptions.override) == null ? void 0 : _Tb.useDates) || false,