orval 7.2.0 → 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/index.js CHANGED
@@ -3593,7 +3593,7 @@ var getApiSchemas = ({
3593
3593
  }) => {
3594
3594
  return Object.entries(specs).reduce(
3595
3595
  (acc, [specKey, spec]) => {
3596
- var _a, _b, _c, _d, _e;
3596
+ var _a, _b, _c, _d;
3597
3597
  const context = {
3598
3598
  specKey,
3599
3599
  target,
@@ -3606,20 +3606,20 @@ var getApiSchemas = ({
3606
3606
  parsedSchemas,
3607
3607
  context,
3608
3608
  output.override.components.schemas.suffix,
3609
- (_b = input.filters) == null ? void 0 : _b.schemas
3609
+ input.filters
3610
3610
  );
3611
3611
  const responseDefinition = (0, import_core3.generateComponentDefinition)(
3612
- (_c = spec.components) == null ? void 0 : _c.responses,
3612
+ (_b = spec.components) == null ? void 0 : _b.responses,
3613
3613
  context,
3614
3614
  output.override.components.responses.suffix
3615
3615
  );
3616
3616
  const bodyDefinition = (0, import_core3.generateComponentDefinition)(
3617
- (_d = spec.components) == null ? void 0 : _d.requestBodies,
3617
+ (_c = spec.components) == null ? void 0 : _c.requestBodies,
3618
3618
  context,
3619
3619
  output.override.components.requestBodies.suffix
3620
3620
  );
3621
3621
  const parameters = (0, import_core3.generateParameterDefinition)(
3622
- (_e = spec.components) == null ? void 0 : _e.parameters,
3622
+ (_d = spec.components) == null ? void 0 : _d.parameters,
3623
3623
  context,
3624
3624
  output.override.components.parameters.suffix
3625
3625
  );
@@ -3752,7 +3752,7 @@ var import_chalk2 = __toESM(require("chalk"));
3752
3752
  var package_default = {
3753
3753
  name: "orval",
3754
3754
  description: "A swagger client generator for typescript",
3755
- version: "7.2.0",
3755
+ version: "7.3.0",
3756
3756
  license: "MIT",
3757
3757
  files: [
3758
3758
  "dist"
@@ -3806,15 +3806,15 @@ var package_default = {
3806
3806
  },
3807
3807
  dependencies: {
3808
3808
  "@apidevtools/swagger-parser": "^10.1.0",
3809
- "@orval/angular": "7.2.0",
3810
- "@orval/axios": "7.2.0",
3811
- "@orval/core": "7.2.0",
3812
- "@orval/fetch": "7.2.0",
3813
- "@orval/hono": "7.2.0",
3814
- "@orval/mock": "7.2.0",
3815
- "@orval/query": "7.2.0",
3816
- "@orval/swr": "7.2.0",
3817
- "@orval/zod": "7.2.0",
3809
+ "@orval/angular": "7.3.0",
3810
+ "@orval/axios": "7.3.0",
3811
+ "@orval/core": "7.3.0",
3812
+ "@orval/fetch": "7.3.0",
3813
+ "@orval/hono": "7.3.0",
3814
+ "@orval/mock": "7.3.0",
3815
+ "@orval/query": "7.3.0",
3816
+ "@orval/swr": "7.3.0",
3817
+ "@orval/zod": "7.3.0",
3818
3818
  ajv: "^8.12.0",
3819
3819
  cac: "^6.7.14",
3820
3820
  chalk: "^4.1.2",
@@ -4248,7 +4248,7 @@ var normalizeOptions = async (optionsExport, workspace = process.cwd(), globalOp
4248
4248
  provideIn: (_Nb = (_Mb = (_Lb = outputOptions.override) == null ? void 0 : _Lb.angular) == null ? void 0 : _Mb.provideIn) != null ? _Nb : "root"
4249
4249
  },
4250
4250
  fetch: {
4251
- includeHttpStatusReturnType: (_Qb = (_Pb = (_Ob = outputOptions.override) == null ? void 0 : _Ob.fetch) == null ? void 0 : _Pb.includeHttpStatusReturnType) != null ? _Qb : true,
4251
+ includeHttpResponseReturnType: (_Qb = (_Pb = (_Ob = outputOptions.override) == null ? void 0 : _Ob.fetch) == null ? void 0 : _Pb.includeHttpResponseReturnType) != null ? _Qb : true,
4252
4252
  ...(_Sb = (_Rb = outputOptions.override) == null ? void 0 : _Rb.fetch) != null ? _Sb : {}
4253
4253
  },
4254
4254
  useDates: ((_Tb = outputOptions.override) == null ? void 0 : _Tb.useDates) || false,