@flock/wirespec 0.9.18 → 0.9.20

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.
@@ -192,7 +192,7 @@
192
192
  }
193
193
  function Common() {
194
194
  }
195
- protoOf(Common).d2c = function (arg) {
195
+ protoOf(Common).e2c = function (arg) {
196
196
  // Inline function 'kotlin.collections.flatMap' call
197
197
  // Inline function 'kotlin.collections.flatMapTo' call
198
198
  var destination = ArrayList_init_$Create$();
@@ -779,16 +779,16 @@
779
779
  }
780
780
  function Companion() {
781
781
  }
782
- protoOf(Companion).e2c = function (json, ignoreUnknown) {
782
+ protoOf(Companion).f2c = function (json, ignoreUnknown) {
783
783
  // Inline function 'kotlin.let' call
784
784
  // Inline function 'kotlin.contracts.contract' call
785
785
  // Inline function 'community.flock.wirespec.openapi.v2.Companion.parse.<anonymous>' call
786
786
  var it = (new OpenAPI(Json(VOID, OpenApiV2Parser$Companion$parse$lambda(ignoreUnknown)))).r1e(json);
787
- return (new OpenApiV2Parser(it)).g2c();
787
+ return (new OpenApiV2Parser(it)).h2c();
788
788
  };
789
- protoOf(Companion).h2c = function (json, ignoreUnknown, $super) {
789
+ protoOf(Companion).i2c = function (json, ignoreUnknown, $super) {
790
790
  ignoreUnknown = ignoreUnknown === VOID ? false : ignoreUnknown;
791
- return $super === VOID ? this.e2c(json, ignoreUnknown) : $super.e2c.call(this, json, ignoreUnknown);
791
+ return $super === VOID ? this.f2c(json, ignoreUnknown) : $super.f2c.call(this, json, ignoreUnknown);
792
792
  };
793
793
  var Companion_instance_0;
794
794
  function Companion_getInstance_0() {
@@ -797,7 +797,7 @@
797
797
  function parseEndpoints($this) {
798
798
  // Inline function 'kotlin.collections.flatMap' call
799
799
  // Inline function 'kotlin.collections.flatMapTo' call
800
- var this_0 = $this.f2c_1.c1f_1;
800
+ var this_0 = $this.g2c_1.c1f_1;
801
801
  var destination = ArrayList_init_$Create$();
802
802
  // Inline function 'kotlin.collections.iterator' call
803
803
  var tmp0_iterator = this_0.n2().v();
@@ -891,7 +891,7 @@
891
891
  // Inline function 'kotlin.collections.map' call
892
892
  // Inline function 'kotlin.collections.ifEmpty' call
893
893
  // Inline function 'kotlin.collections.orEmpty' call
894
- var tmp0_elvis_lhs_0 = $this.f2c_1.a1f_1;
894
+ var tmp0_elvis_lhs_0 = $this.g2c_1.a1f_1;
895
895
  var tmp = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
896
896
  // Inline function 'kotlin.collections.orEmpty' call
897
897
  var tmp0_elvis_lhs_1 = operation.o1j_1;
@@ -917,7 +917,7 @@
917
917
  tmp_1 = toReference(schema, $this);
918
918
  } else {
919
919
  if (schema instanceof SchemaObject) {
920
- tmp_1 = toReference_0(schema, $this, Common_instance.d2c([name, 'RequestBody']));
920
+ tmp_1 = toReference_0(schema, $this, Common_instance.e2c([name, 'RequestBody']));
921
921
  } else {
922
922
  if (schema == null) {
923
923
  var reason = 'Not yet implemented';
@@ -975,7 +975,7 @@
975
975
  // Inline function 'kotlin.collections.map' call
976
976
  // Inline function 'kotlin.collections.ifEmpty' call
977
977
  // Inline function 'kotlin.collections.orEmpty' call
978
- var tmp0_elvis_lhs_4 = $this.f2c_1.b1f_1;
978
+ var tmp0_elvis_lhs_4 = $this.g2c_1.b1f_1;
979
979
  var tmp_5 = tmp0_elvis_lhs_4 == null ? emptyList() : tmp0_elvis_lhs_4;
980
980
  // Inline function 'kotlin.collections.orEmpty' call
981
981
  var tmp0_elvis_lhs_5 = operation.p1j_1;
@@ -1034,7 +1034,7 @@
1034
1034
  tmp_11 = toReference(tmp1_safe_receiver, $this);
1035
1035
  } else {
1036
1036
  if (tmp1_safe_receiver instanceof SchemaObject) {
1037
- tmp_11 = toReference_0(tmp1_safe_receiver, $this, Common_instance.d2c([name, _StatusCode___get_value__impl__we50mu(status), item_2, 'ResponseBody']));
1037
+ tmp_11 = toReference_0(tmp1_safe_receiver, $this, Common_instance.e2c([name, _StatusCode___get_value__impl__we50mu(status), item_2, 'ResponseBody']));
1038
1038
  } else {
1039
1039
  noWhenBranchMatchedException();
1040
1040
  }
@@ -1091,20 +1091,20 @@
1091
1091
  return tmp;
1092
1092
  }
1093
1093
  function parseParameters($this) {
1094
- return flatMapRequests($this.f2c_1, $this, OpenApiV2Parser$parseParameters$lambda($this));
1094
+ return flatMapRequests($this.g2c_1, $this, OpenApiV2Parser$parseParameters$lambda($this));
1095
1095
  }
1096
1096
  function parseRequestBody($this) {
1097
- return flatMapRequests($this.f2c_1, $this, OpenApiV2Parser$parseRequestBody$lambda($this));
1097
+ return flatMapRequests($this.g2c_1, $this, OpenApiV2Parser$parseRequestBody$lambda($this));
1098
1098
  }
1099
1099
  function parseResponseBody($this) {
1100
- return flatMapResponses($this.f2c_1, $this, OpenApiV2Parser$parseResponseBody$lambda($this));
1100
+ return flatMapResponses($this.g2c_1, $this, OpenApiV2Parser$parseResponseBody$lambda($this));
1101
1101
  }
1102
1102
  function parseDefinitions($this) {
1103
1103
  // Inline function 'kotlin.collections.flatMap' call
1104
1104
  // Inline function 'kotlin.collections.filter' call
1105
1105
  // Inline function 'arrow.core.filterIsInstance' call
1106
1106
  // Inline function 'kotlin.collections.orEmpty' call
1107
- var tmp0_elvis_lhs = $this.f2c_1.d1f_1;
1107
+ var tmp0_elvis_lhs = $this.g2c_1.d1f_1;
1108
1108
  // Inline function 'kotlin.collections.filterValues' call
1109
1109
  var this_0 = tmp0_elvis_lhs == null ? emptyMap() : tmp0_elvis_lhs;
1110
1110
  var result = LinkedHashMap_init_$Create$_0();
@@ -1137,7 +1137,7 @@
1137
1137
  while (tmp0_iterator_1.w()) {
1138
1138
  var element_0 = tmp0_iterator_1.y();
1139
1139
  // Inline function 'community.flock.wirespec.openapi.v2.OpenApiV2Parser.parseDefinitions.<anonymous>' call
1140
- var list = flatten(element_0.p2(), $this, Common_instance.d2c([element_0.o2()]));
1140
+ var list = flatten(element_0.p2(), $this, Common_instance.e2c([element_0.o2()]));
1141
1141
  addAll(destination_0, list);
1142
1142
  }
1143
1143
  return destination_0;
@@ -1195,7 +1195,7 @@
1195
1195
  return destination;
1196
1196
  }
1197
1197
  function resolveParameterObject(_this__u8e3s4, $this) {
1198
- var tmp0_safe_receiver = $this.f2c_1.e1f_1;
1198
+ var tmp0_safe_receiver = $this.g2c_1.e1f_1;
1199
1199
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u2(getReference(_this__u8e3s4, $this));
1200
1200
  var tmp;
1201
1201
  if (tmp1_elvis_lhs == null) {
@@ -1207,7 +1207,7 @@
1207
1207
  return tmp;
1208
1208
  }
1209
1209
  function resolveResponseObject(_this__u8e3s4, $this) {
1210
- var tmp0_safe_receiver = $this.f2c_1.f1f_1;
1210
+ var tmp0_safe_receiver = $this.g2c_1.f1f_1;
1211
1211
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u2(getReference(_this__u8e3s4, $this));
1212
1212
  var tmp;
1213
1213
  if (tmp1_elvis_lhs == null) {
@@ -1219,7 +1219,7 @@
1219
1219
  return tmp;
1220
1220
  }
1221
1221
  function resolveSchemaObject(_this__u8e3s4, $this) {
1222
- var tmp0_safe_receiver = $this.f2c_1.d1f_1;
1222
+ var tmp0_safe_receiver = $this.g2c_1.d1f_1;
1223
1223
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u2(getReference(_this__u8e3s4, $this));
1224
1224
  var tmp;
1225
1225
  if (tmp1_elvis_lhs == null) {
@@ -1401,7 +1401,7 @@
1401
1401
  tmp_7 = emptyList();
1402
1402
  } else {
1403
1403
  if (value instanceof SchemaObject) {
1404
- tmp_7 = flatten(value, $this, Common_instance.d2c([name, key_0]));
1404
+ tmp_7 = flatten(value, $this, Common_instance.e2c([name, key_0]));
1405
1405
  } else {
1406
1406
  noWhenBranchMatchedException();
1407
1407
  }
@@ -1460,7 +1460,7 @@
1460
1460
  var key_1 = element_2.o2();
1461
1461
  // Inline function 'kotlin.collections.component2' call
1462
1462
  var value_0 = element_2.p2();
1463
- var list_3 = flatten_0(value_0, $this, Common_instance.d2c([name, key_1]));
1463
+ var list_3 = flatten_0(value_0, $this, Common_instance.e2c([name, key_1]));
1464
1464
  addAll(destination_3, list_3);
1465
1465
  }
1466
1466
 
@@ -1475,7 +1475,7 @@
1475
1475
  tmp_9 = emptyList();
1476
1476
  } else {
1477
1477
  if (it_0 instanceof SchemaObject) {
1478
- tmp_9 = flatten(it_0, $this, Common_instance.d2c([name, 'Array']));
1478
+ tmp_9 = flatten(it_0, $this, Common_instance.e2c([name, 'Array']));
1479
1479
  } else {
1480
1480
  if (it_0 == null) {
1481
1481
  tmp_9 = emptyList();
@@ -1533,7 +1533,7 @@
1533
1533
  }
1534
1534
  tmp = tmp_0;
1535
1535
  } else if (!(schema.m1l_1 == null)) {
1536
- tmp = new Custom(Common_instance.d2c([getReference(_this__u8e3s4, $this)]), false, false);
1536
+ tmp = new Custom(Common_instance.e2c([getReference(_this__u8e3s4, $this)]), false, false);
1537
1537
  } else if (isPrimitive(schema.n1l_1)) {
1538
1538
  tmp = new Primitive(toPrimitive(ensureNotNull(schema.n1l_1), $this), false, false);
1539
1539
  } else {
@@ -1543,10 +1543,10 @@
1543
1543
  var items = schema.o1l_1;
1544
1544
  var tmp_2;
1545
1545
  if (items instanceof ReferenceObject) {
1546
- tmp_2 = new Custom(Common_instance.d2c([getReference(items, $this)]), true);
1546
+ tmp_2 = new Custom(Common_instance.e2c([getReference(items, $this)]), true);
1547
1547
  } else {
1548
1548
  if (items instanceof SchemaObject) {
1549
- tmp_2 = toIterable(toReference_0(items, $this, Common_instance.d2c([getReference(_this__u8e3s4, $this), 'Array'])));
1549
+ tmp_2 = toIterable(toReference_0(items, $this, Common_instance.e2c([getReference(_this__u8e3s4, $this), 'Array'])));
1550
1550
  } else {
1551
1551
  if (items == null) {
1552
1552
  var message = 'items cannot be null when type is array: ' + new Ref(_this__u8e3s4.w1l_1);
@@ -1560,10 +1560,10 @@
1560
1560
  } else {
1561
1561
  var tmp_3;
1562
1562
  if (refOrSchema instanceof SchemaObject) {
1563
- tmp_3 = new Custom(Common_instance.d2c([getReference(_this__u8e3s4, $this)]), false);
1563
+ tmp_3 = new Custom(Common_instance.e2c([getReference(_this__u8e3s4, $this)]), false);
1564
1564
  } else {
1565
1565
  if (refOrSchema instanceof ReferenceObject) {
1566
- tmp_3 = new Custom(Common_instance.d2c([getReference(refOrSchema, $this)]), false);
1566
+ tmp_3 = new Custom(Common_instance.e2c([getReference(refOrSchema, $this)]), false);
1567
1567
  } else {
1568
1568
  noWhenBranchMatchedException();
1569
1569
  }
@@ -1775,7 +1775,7 @@
1775
1775
  var tmp;
1776
1776
  if (value instanceof SchemaObject) {
1777
1777
  var tmp_0 = Companion_instance.w28(key);
1778
- var tmp_1 = !(value.m1l_1 == null) ? toReference_0(value, $this, Common_instance.d2c([name, key])) : equals(value.n1l_1, Type_ARRAY_getInstance()) ? toReference_0(value, $this, Common_instance.d2c([name, key, 'Array'])) : toReference_0(value, $this, Common_instance.d2c([name, key]));
1778
+ var tmp_1 = !(value.m1l_1 == null) ? toReference_0(value, $this, Common_instance.e2c([name, key])) : equals(value.n1l_1, Type_ARRAY_getInstance()) ? toReference_0(value, $this, Common_instance.e2c([name, key, 'Array'])) : toReference_0(value, $this, Common_instance.e2c([name, key]));
1779
1779
  var tmp1_safe_receiver = _this__u8e3s4.l1l_1;
1780
1780
  var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.r(key);
1781
1781
  tmp = new Field(tmp_0, tmp_1, !(tmp2_elvis_lhs == null ? false : tmp2_elvis_lhs));
@@ -1803,7 +1803,7 @@
1803
1803
  var it = resolve_3(_this__u8e3s4, $this);
1804
1804
  var tmp;
1805
1805
  if (!(_this__u8e3s4.o1h_1 == null)) {
1806
- tmp = new Custom(Common_instance.d2c([name, 'Parameter', it.t1g_1]), false);
1806
+ tmp = new Custom(Common_instance.e2c([name, 'Parameter', it.t1g_1]), false);
1807
1807
  } else {
1808
1808
  var type = it.y1g_1;
1809
1809
  var tmp_0;
@@ -1963,7 +1963,7 @@
1963
1963
  // Inline function 'kotlin.let' call
1964
1964
  // Inline function 'kotlin.contracts.contract' call
1965
1965
  // Inline function 'community.flock.wirespec.openapi.v2.OpenApiV2Parser.toName.<anonymous>' call
1966
- tmp = Common_instance.d2c([tmp0_safe_receiver]);
1966
+ tmp = Common_instance.e2c([tmp0_safe_receiver]);
1967
1967
  }
1968
1968
  return tmp;
1969
1969
  }
@@ -1985,21 +1985,21 @@
1985
1985
  return joinToString(tmp, '', VOID, VOID, VOID, VOID, OpenApiV2Parser$toName$lambda($this));
1986
1986
  }
1987
1987
  function FlattenRequest(path, pathItem, method, operation, type) {
1988
- this.i2c_1 = path;
1989
- this.j2c_1 = pathItem;
1990
- this.k2c_1 = method;
1991
- this.l2c_1 = operation;
1992
- this.m2c_1 = type;
1988
+ this.j2c_1 = path;
1989
+ this.k2c_1 = pathItem;
1990
+ this.l2c_1 = method;
1991
+ this.m2c_1 = operation;
1992
+ this.n2c_1 = type;
1993
1993
  }
1994
1994
  protoOf(FlattenRequest).toString = function () {
1995
- return 'FlattenRequest(path=' + new Path(this.i2c_1) + ', pathItem=' + this.j2c_1 + ', method=' + this.k2c_1 + ', operation=' + this.l2c_1 + ', type=' + this.m2c_1 + ')';
1995
+ return 'FlattenRequest(path=' + new Path(this.j2c_1) + ', pathItem=' + this.k2c_1 + ', method=' + this.l2c_1 + ', operation=' + this.m2c_1 + ', type=' + this.n2c_1 + ')';
1996
1996
  };
1997
1997
  protoOf(FlattenRequest).hashCode = function () {
1998
- var result = Path__hashCode_impl_go73kd(this.i2c_1);
1999
- result = imul(result, 31) + this.j2c_1.hashCode() | 0;
1998
+ var result = Path__hashCode_impl_go73kd(this.j2c_1);
2000
1999
  result = imul(result, 31) + this.k2c_1.hashCode() | 0;
2001
2000
  result = imul(result, 31) + this.l2c_1.hashCode() | 0;
2002
- result = imul(result, 31) + getStringHashCode(this.m2c_1) | 0;
2001
+ result = imul(result, 31) + this.m2c_1.hashCode() | 0;
2002
+ result = imul(result, 31) + getStringHashCode(this.n2c_1) | 0;
2003
2003
  return result;
2004
2004
  };
2005
2005
  protoOf(FlattenRequest).equals = function (other) {
@@ -2008,15 +2008,15 @@
2008
2008
  if (!(other instanceof FlattenRequest))
2009
2009
  return false;
2010
2010
  var tmp0_other_with_cast = other instanceof FlattenRequest ? other : THROW_CCE();
2011
- if (!(this.i2c_1 === tmp0_other_with_cast.i2c_1))
2012
- return false;
2013
- if (!this.j2c_1.equals(tmp0_other_with_cast.j2c_1))
2011
+ if (!(this.j2c_1 === tmp0_other_with_cast.j2c_1))
2014
2012
  return false;
2015
2013
  if (!this.k2c_1.equals(tmp0_other_with_cast.k2c_1))
2016
2014
  return false;
2017
2015
  if (!this.l2c_1.equals(tmp0_other_with_cast.l2c_1))
2018
2016
  return false;
2019
- if (!(this.m2c_1 === tmp0_other_with_cast.m2c_1))
2017
+ if (!this.m2c_1.equals(tmp0_other_with_cast.m2c_1))
2018
+ return false;
2019
+ if (!(this.n2c_1 === tmp0_other_with_cast.n2c_1))
2020
2020
  return false;
2021
2021
  return true;
2022
2022
  };
@@ -2049,7 +2049,7 @@
2049
2049
  // Inline function 'kotlin.collections.component2' call
2050
2050
  var operation = element_0.p2();
2051
2051
  // Inline function 'kotlin.collections.map' call
2052
- var tmp0_elvis_lhs = $this.f2c_1.a1f_1;
2052
+ var tmp0_elvis_lhs = $this.g2c_1.a1f_1;
2053
2053
  var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? operation.o1j_1 : tmp0_elvis_lhs;
2054
2054
  var this_2 = tmp1_elvis_lhs == null ? listOf('application/json') : tmp1_elvis_lhs;
2055
2055
  // Inline function 'kotlin.collections.mapTo' call
@@ -2079,25 +2079,25 @@
2079
2079
  return destination_2;
2080
2080
  }
2081
2081
  function FlattenResponse(path, pathItem, method, operation, statusCode, response, type) {
2082
- this.n2c_1 = path;
2083
- this.o2c_1 = pathItem;
2084
- this.p2c_1 = method;
2085
- this.q2c_1 = operation;
2086
- this.r2c_1 = statusCode;
2087
- this.s2c_1 = response;
2088
- this.t2c_1 = type;
2082
+ this.o2c_1 = path;
2083
+ this.p2c_1 = pathItem;
2084
+ this.q2c_1 = method;
2085
+ this.r2c_1 = operation;
2086
+ this.s2c_1 = statusCode;
2087
+ this.t2c_1 = response;
2088
+ this.u2c_1 = type;
2089
2089
  }
2090
2090
  protoOf(FlattenResponse).toString = function () {
2091
- return 'FlattenResponse(path=' + new Path(this.n2c_1) + ', pathItem=' + this.o2c_1 + ', method=' + this.p2c_1 + ', operation=' + this.q2c_1 + ', statusCode=' + new StatusCode(this.r2c_1) + ', response=' + this.s2c_1 + ', type=' + this.t2c_1 + ')';
2091
+ return 'FlattenResponse(path=' + new Path(this.o2c_1) + ', pathItem=' + this.p2c_1 + ', method=' + this.q2c_1 + ', operation=' + this.r2c_1 + ', statusCode=' + new StatusCode(this.s2c_1) + ', response=' + this.t2c_1 + ', type=' + this.u2c_1 + ')';
2092
2092
  };
2093
2093
  protoOf(FlattenResponse).hashCode = function () {
2094
- var result = Path__hashCode_impl_go73kd(this.n2c_1);
2095
- result = imul(result, 31) + this.o2c_1.hashCode() | 0;
2094
+ var result = Path__hashCode_impl_go73kd(this.o2c_1);
2096
2095
  result = imul(result, 31) + this.p2c_1.hashCode() | 0;
2097
2096
  result = imul(result, 31) + this.q2c_1.hashCode() | 0;
2098
- result = imul(result, 31) + StatusCode__hashCode_impl_fevhvx(this.r2c_1) | 0;
2099
- result = imul(result, 31) + hashCode(this.s2c_1) | 0;
2100
- result = imul(result, 31) + getStringHashCode(this.t2c_1) | 0;
2097
+ result = imul(result, 31) + this.r2c_1.hashCode() | 0;
2098
+ result = imul(result, 31) + StatusCode__hashCode_impl_fevhvx(this.s2c_1) | 0;
2099
+ result = imul(result, 31) + hashCode(this.t2c_1) | 0;
2100
+ result = imul(result, 31) + getStringHashCode(this.u2c_1) | 0;
2101
2101
  return result;
2102
2102
  };
2103
2103
  protoOf(FlattenResponse).equals = function (other) {
@@ -2106,19 +2106,19 @@
2106
2106
  if (!(other instanceof FlattenResponse))
2107
2107
  return false;
2108
2108
  var tmp0_other_with_cast = other instanceof FlattenResponse ? other : THROW_CCE();
2109
- if (!(this.n2c_1 === tmp0_other_with_cast.n2c_1))
2110
- return false;
2111
- if (!this.o2c_1.equals(tmp0_other_with_cast.o2c_1))
2109
+ if (!(this.o2c_1 === tmp0_other_with_cast.o2c_1))
2112
2110
  return false;
2113
2111
  if (!this.p2c_1.equals(tmp0_other_with_cast.p2c_1))
2114
2112
  return false;
2115
2113
  if (!this.q2c_1.equals(tmp0_other_with_cast.q2c_1))
2116
2114
  return false;
2117
- if (!(this.r2c_1 === tmp0_other_with_cast.r2c_1))
2115
+ if (!this.r2c_1.equals(tmp0_other_with_cast.r2c_1))
2118
2116
  return false;
2119
- if (!equals(this.s2c_1, tmp0_other_with_cast.s2c_1))
2117
+ if (!(this.s2c_1 === tmp0_other_with_cast.s2c_1))
2120
2118
  return false;
2121
- if (!(this.t2c_1 === tmp0_other_with_cast.t2c_1))
2119
+ if (!equals(this.t2c_1, tmp0_other_with_cast.t2c_1))
2120
+ return false;
2121
+ if (!(this.u2c_1 === tmp0_other_with_cast.u2c_1))
2122
2122
  return false;
2123
2123
  return true;
2124
2124
  };
@@ -2200,9 +2200,9 @@
2200
2200
  }
2201
2201
  function OpenApiV2Parser$parseParameters$lambda(this$0) {
2202
2202
  return function (req) {
2203
- var parameters = plus(resolveParameters_0(req.j2c_1, this$0), resolveParameters(req.l2c_1, this$0));
2204
- var tmp0_elvis_lhs = toName(req.l2c_1, this$0);
2205
- var name = tmp0_elvis_lhs == null ? toName_0(req.i2c_1, this$0) + req.k2c_1.f9_1 : tmp0_elvis_lhs;
2203
+ var parameters = plus(resolveParameters_0(req.k2c_1, this$0), resolveParameters(req.m2c_1, this$0));
2204
+ var tmp0_elvis_lhs = toName(req.m2c_1, this$0);
2205
+ var name = tmp0_elvis_lhs == null ? toName_0(req.j2c_1, this$0) + req.l2c_1.f9_1 : tmp0_elvis_lhs;
2206
2206
  // Inline function 'kotlin.collections.flatMap' call
2207
2207
  // Inline function 'kotlin.collections.filter' call
2208
2208
  // Inline function 'kotlin.collections.filterTo' call
@@ -2222,7 +2222,7 @@
2222
2222
  var element_0 = tmp0_iterator_0.y();
2223
2223
  // Inline function 'community.flock.wirespec.openapi.v2.OpenApiV2Parser.parseParameters.<anonymous>.<anonymous>' call
2224
2224
  var tmp0_safe_receiver = element_0.x1g_1;
2225
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : flatten_0(tmp0_safe_receiver, this$0, Common_instance.d2c([name, 'Parameter', element_0.t1g_1]));
2225
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : flatten_0(tmp0_safe_receiver, this$0, Common_instance.e2c([name, 'Parameter', element_0.t1g_1]));
2226
2226
  var list = tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
2227
2227
  addAll(destination_0, list);
2228
2228
  }
@@ -2231,9 +2231,9 @@
2231
2231
  }
2232
2232
  function OpenApiV2Parser$parseRequestBody$lambda(this$0) {
2233
2233
  return function (req) {
2234
- var parameters = plus(resolveParameters_0(req.j2c_1, this$0), resolveParameters(req.l2c_1, this$0));
2235
- var tmp0_elvis_lhs = toName(req.l2c_1, this$0);
2236
- var name = tmp0_elvis_lhs == null ? toName_0(req.i2c_1, this$0) + req.k2c_1.f9_1 : tmp0_elvis_lhs;
2234
+ var parameters = plus(resolveParameters_0(req.k2c_1, this$0), resolveParameters(req.m2c_1, this$0));
2235
+ var tmp0_elvis_lhs = toName(req.m2c_1, this$0);
2236
+ var name = tmp0_elvis_lhs == null ? toName_0(req.j2c_1, this$0) + req.l2c_1.f9_1 : tmp0_elvis_lhs;
2237
2237
  // Inline function 'kotlin.collections.flatMap' call
2238
2238
  // Inline function 'kotlin.collections.flatMapTo' call
2239
2239
  var destination = ArrayList_init_$Create$();
@@ -2243,7 +2243,7 @@
2243
2243
  // Inline function 'community.flock.wirespec.openapi.v2.OpenApiV2Parser.parseRequestBody.<anonymous>.<anonymous>' call
2244
2244
  var tmp;
2245
2245
  if (!(element.o1h_1 == null)) {
2246
- var tmp_0 = Companion_instance.w28(Common_instance.d2c([name, 'Parameter', element.t1g_1]));
2246
+ var tmp_0 = Companion_instance.w28(Common_instance.e2c([name, 'Parameter', element.t1g_1]));
2247
2247
  // Inline function 'kotlin.collections.map' call
2248
2248
  var this_0 = ensureNotNull(element.o1h_1);
2249
2249
  // Inline function 'kotlin.collections.mapTo' call
@@ -2263,7 +2263,7 @@
2263
2263
  addAll(destination, list);
2264
2264
  }
2265
2265
  var enums = destination;
2266
- var tmp1_safe_receiver = req.l2c_1.q1j_1;
2266
+ var tmp1_safe_receiver = req.m2c_1.q1j_1;
2267
2267
  var tmp_1;
2268
2268
  if (tmp1_safe_receiver == null) {
2269
2269
  tmp_1 = null;
@@ -2318,13 +2318,13 @@
2318
2318
  switch (tmp0_subject == null ? -1 : tmp0_subject.g9_1) {
2319
2319
  case -1:
2320
2320
  case 5:
2321
- tmp_5 = flatten(schema, this$0, Common_instance.d2c([name, 'RequestBody']));
2321
+ tmp_5 = flatten(schema, this$0, Common_instance.e2c([name, 'RequestBody']));
2322
2322
  break;
2323
2323
  case 4:
2324
2324
  // Inline function 'kotlin.collections.orEmpty' call
2325
2325
 
2326
2326
  var tmp1_safe_receiver_0 = schema.o1l_1;
2327
- var tmp0_elvis_lhs_0 = tmp1_safe_receiver_0 == null ? null : flatten_0(tmp1_safe_receiver_0, this$0, Common_instance.d2c([name, 'RequestBody']));
2327
+ var tmp0_elvis_lhs_0 = tmp1_safe_receiver_0 == null ? null : flatten_0(tmp1_safe_receiver_0, this$0, Common_instance.e2c([name, 'RequestBody']));
2328
2328
  tmp_5 = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
2329
2329
  break;
2330
2330
  default:
@@ -2347,9 +2347,9 @@
2347
2347
  }
2348
2348
  function OpenApiV2Parser$parseResponseBody$lambda(this$0) {
2349
2349
  return function (res) {
2350
- var response = resolve_1(res.s2c_1, this$0);
2351
- var tmp0_elvis_lhs = toName(res.q2c_1, this$0);
2352
- var name = tmp0_elvis_lhs == null ? toName_0(res.n2c_1, this$0) + res.p2c_1.f9_1 : tmp0_elvis_lhs;
2350
+ var response = resolve_1(res.t2c_1, this$0);
2351
+ var tmp0_elvis_lhs = toName(res.r2c_1, this$0);
2352
+ var name = tmp0_elvis_lhs == null ? toName_0(res.o2c_1, this$0) + res.q2c_1.f9_1 : tmp0_elvis_lhs;
2353
2353
  var schema = response.v1h_1;
2354
2354
  var tmp;
2355
2355
  if (schema instanceof SchemaObject) {
@@ -2358,13 +2358,13 @@
2358
2358
  switch (tmp1_subject == null ? -1 : tmp1_subject.g9_1) {
2359
2359
  case -1:
2360
2360
  case 5:
2361
- tmp_0 = flatten(schema, this$0, Common_instance.d2c([name, _StatusCode___get_value__impl__we50mu(res.r2c_1), res.t2c_1, 'ResponseBody']));
2361
+ tmp_0 = flatten(schema, this$0, Common_instance.e2c([name, _StatusCode___get_value__impl__we50mu(res.s2c_1), res.u2c_1, 'ResponseBody']));
2362
2362
  break;
2363
2363
  case 4:
2364
2364
  // Inline function 'kotlin.collections.orEmpty' call
2365
2365
 
2366
2366
  var tmp2_safe_receiver = schema.o1l_1;
2367
- var tmp0_elvis_lhs_0 = tmp2_safe_receiver == null ? null : flatten_0(tmp2_safe_receiver, this$0, Common_instance.d2c([name, _StatusCode___get_value__impl__we50mu(res.r2c_1), res.t2c_1, 'ResponseBody']));
2367
+ var tmp0_elvis_lhs_0 = tmp2_safe_receiver == null ? null : flatten_0(tmp2_safe_receiver, this$0, Common_instance.e2c([name, _StatusCode___get_value__impl__we50mu(res.s2c_1), res.u2c_1, 'ResponseBody']));
2368
2368
  tmp_0 = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
2369
2369
  break;
2370
2370
  default:
@@ -2390,10 +2390,10 @@
2390
2390
  // Inline function 'kotlin.js.asDynamic' call
2391
2391
 
2392
2392
  var tmp$ret$1 = it.substring(1, endIndex);
2393
- tmp = tmp_0.d2c([tmp$ret$1]);
2393
+ tmp = tmp_0.e2c([tmp$ret$1]);
2394
2394
  break;
2395
2395
  case false:
2396
- tmp = Common_instance.d2c([it]);
2396
+ tmp = Common_instance.e2c([it]);
2397
2397
  break;
2398
2398
  default:
2399
2399
  noWhenBranchMatchedException();
@@ -2403,9 +2403,9 @@
2403
2403
  };
2404
2404
  }
2405
2405
  function OpenApiV2Parser(openApi) {
2406
- this.f2c_1 = openApi;
2406
+ this.g2c_1 = openApi;
2407
2407
  }
2408
- protoOf(OpenApiV2Parser).g2c = function () {
2408
+ protoOf(OpenApiV2Parser).h2c = function () {
2409
2409
  return plus(plus(plus(plus(parseEndpoints(this), parseParameters(this)), parseRequestBody(this)), parseResponseBody(this)), parseDefinitions(this));
2410
2410
  };
2411
2411
  function toMap_0(_this__u8e3s4) {
@@ -3096,15 +3096,15 @@
3096
3096
  }
3097
3097
  function OpenApiV3Emitter() {
3098
3098
  }
3099
- protoOf(OpenApiV3Emitter).u2c = function (ast, options) {
3100
- var tmp1_elvis_lhs = options == null ? null : options.v2c_1;
3099
+ protoOf(OpenApiV3Emitter).v2c = function (ast, options) {
3100
+ var tmp1_elvis_lhs = options == null ? null : options.w2c_1;
3101
3101
  var tmp = tmp1_elvis_lhs == null ? 'Wirespec' : tmp1_elvis_lhs;
3102
- var tmp3_elvis_lhs = options == null ? null : options.w2c_1;
3102
+ var tmp3_elvis_lhs = options == null ? null : options.x2c_1;
3103
3103
  return new OpenAPIObject('3.0.0', new InfoObject_0(tmp, VOID, VOID, VOID, VOID, tmp3_elvis_lhs == null ? '0.0.0' : tmp3_elvis_lhs), VOID, emitPaths(ast, this), emitComponents(ast, this));
3104
3104
  };
3105
- protoOf(OpenApiV3Emitter).x2c = function (ast, options, $super) {
3105
+ protoOf(OpenApiV3Emitter).y2c = function (ast, options, $super) {
3106
3106
  options = options === VOID ? null : options;
3107
- return $super === VOID ? this.u2c(ast, options) : $super.u2c.call(this, ast, options);
3107
+ return $super === VOID ? this.v2c(ast, options) : $super.v2c.call(this, ast, options);
3108
3108
  };
3109
3109
  function OpenApiV3Parser$Companion$parse$lambda($strict) {
3110
3110
  return function ($this$Json) {
@@ -3115,16 +3115,16 @@
3115
3115
  }
3116
3116
  function Companion_0() {
3117
3117
  }
3118
- protoOf(Companion_0).e2c = function (json, strict) {
3118
+ protoOf(Companion_0).f2c = function (json, strict) {
3119
3119
  // Inline function 'kotlin.let' call
3120
3120
  // Inline function 'kotlin.contracts.contract' call
3121
3121
  // Inline function 'community.flock.wirespec.openapi.v3.Companion.parse.<anonymous>' call
3122
3122
  var it = (new OpenAPI_0(Json(VOID, OpenApiV3Parser$Companion$parse$lambda(strict)))).r1e(json);
3123
3123
  return parse(new OpenApiV3Parser(it));
3124
3124
  };
3125
- protoOf(Companion_0).y2c = function (json, strict, $super) {
3125
+ protoOf(Companion_0).z2c = function (json, strict, $super) {
3126
3126
  strict = strict === VOID ? false : strict;
3127
- return $super === VOID ? this.e2c(json, strict) : $super.e2c.call(this, json, strict);
3127
+ return $super === VOID ? this.f2c(json, strict) : $super.f2c.call(this, json, strict);
3128
3128
  };
3129
3129
  var Companion_instance_1;
3130
3130
  function Companion_getInstance_1() {
@@ -3136,7 +3136,7 @@
3136
3136
  function parseEndpoint($this) {
3137
3137
  // Inline function 'kotlin.collections.flatMap' call
3138
3138
  // Inline function 'kotlin.collections.flatMapTo' call
3139
- var this_0 = $this.z2c_1.y1o_1;
3139
+ var this_0 = $this.a2d_1.y1o_1;
3140
3140
  var destination = ArrayList_init_$Create$();
3141
3141
  // Inline function 'kotlin.collections.iterator' call
3142
3142
  var tmp0_iterator = this_0.n2().v();
@@ -3182,7 +3182,7 @@
3182
3182
  while (tmp0_iterator_2.w()) {
3183
3183
  var item_0 = tmp0_iterator_2.y();
3184
3184
  // Inline function 'community.flock.wirespec.openapi.v3.OpenApiV3Parser.parseEndpoint.<anonymous>.<anonymous>.<anonymous>' call
3185
- var tmp$ret$9 = toField_3(item_0, $this, Common_instance.d2c([name, 'Parameter', item_0.f1u_1]));
3185
+ var tmp$ret$9 = toField_3(item_0, $this, Common_instance.e2c([name, 'Parameter', item_0.f1u_1]));
3186
3186
  destination_2.s(tmp$ret$9);
3187
3187
  }
3188
3188
  var query = destination_2;
@@ -3204,7 +3204,7 @@
3204
3204
  while (tmp0_iterator_4.w()) {
3205
3205
  var item_1 = tmp0_iterator_4.y();
3206
3206
  // Inline function 'community.flock.wirespec.openapi.v3.OpenApiV3Parser.parseEndpoint.<anonymous>.<anonymous>.<anonymous>' call
3207
- var tmp$ret$15 = toField_3(item_1, $this, Common_instance.d2c([name, 'Parameter', item_1.f1u_1]));
3207
+ var tmp$ret$15 = toField_3(item_1, $this, Common_instance.e2c([name, 'Parameter', item_1.f1u_1]));
3208
3208
  destination_4.s(tmp$ret$15);
3209
3209
  }
3210
3210
  var headers = destination_4;
@@ -3226,7 +3226,7 @@
3226
3226
  while (tmp0_iterator_6.w()) {
3227
3227
  var item_2 = tmp0_iterator_6.y();
3228
3228
  // Inline function 'community.flock.wirespec.openapi.v3.OpenApiV3Parser.parseEndpoint.<anonymous>.<anonymous>.<anonymous>' call
3229
- var tmp$ret$21 = toField_3(item_2, $this, Common_instance.d2c([name, 'Parameter', item_2.f1u_1]));
3229
+ var tmp$ret$21 = toField_3(item_2, $this, Common_instance.e2c([name, 'Parameter', item_2.f1u_1]));
3230
3230
  destination_6.s(tmp$ret$21);
3231
3231
  }
3232
3232
  var cookies = destination_6;
@@ -3263,7 +3263,7 @@
3263
3263
  tmp_2 = toReference_1(schema, $this);
3264
3264
  } else {
3265
3265
  if (schema instanceof SchemaObject_0) {
3266
- tmp_2 = toReference_2(schema, $this, Common_instance.d2c([name, 'RequestBody']));
3266
+ tmp_2 = toReference_2(schema, $this, Common_instance.e2c([name, 'RequestBody']));
3267
3267
  } else {
3268
3268
  if (schema == null) {
3269
3269
  var reason = 'Not yet implemented';
@@ -3335,7 +3335,7 @@
3335
3335
  while (tmp0_iterator_10.w()) {
3336
3336
  var item_5 = tmp0_iterator_10.y();
3337
3337
  // Inline function 'community.flock.wirespec.openapi.v3.OpenApiV3Parser.parseEndpoint.<anonymous>.<anonymous>.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
3338
- var tmp$ret$40 = toField_4(resolve_5(item_5.p2(), $this), $this, item_5.o2(), Common_instance.d2c([name, 'ResponseHeader']));
3338
+ var tmp$ret$40 = toField_4(resolve_5(item_5.p2(), $this), $this, item_5.o2(), Common_instance.e2c([name, 'ResponseHeader']));
3339
3339
  destination_10.s(tmp$ret$40);
3340
3340
  }
3341
3341
  tmp_6 = destination_10;
@@ -3349,7 +3349,7 @@
3349
3349
  tmp_9 = toReference_1(schema_0, $this);
3350
3350
  } else {
3351
3351
  if (schema_0 instanceof SchemaObject_0) {
3352
- tmp_9 = toReference_2(schema_0, $this, Common_instance.d2c([name, _StatusCode___get_value__impl__we50mu_0(status), _MediaType___get_value__impl__wy58mp(contentType), 'ResponseBody']));
3352
+ tmp_9 = toReference_2(schema_0, $this, Common_instance.e2c([name, _StatusCode___get_value__impl__we50mu_0(status), _MediaType___get_value__impl__wy58mp(contentType), 'ResponseBody']));
3353
3353
  } else {
3354
3354
  if (schema_0 == null) {
3355
3355
  tmp_9 = new Any(false);
@@ -3381,19 +3381,19 @@
3381
3381
  return destination;
3382
3382
  }
3383
3383
  function parseParameters_0($this) {
3384
- return flatMapRequests_0($this.z2c_1, $this, OpenApiV3Parser$parseParameters$lambda($this));
3384
+ return flatMapRequests_0($this.a2d_1, $this, OpenApiV3Parser$parseParameters$lambda($this));
3385
3385
  }
3386
3386
  function parseRequestBody_0($this) {
3387
- return flatMapRequests_0($this.z2c_1, $this, OpenApiV3Parser$parseRequestBody$lambda($this));
3387
+ return flatMapRequests_0($this.a2d_1, $this, OpenApiV3Parser$parseRequestBody$lambda($this));
3388
3388
  }
3389
3389
  function parseResponseBody_0($this) {
3390
- return flatMapResponses_0($this.z2c_1, $this, OpenApiV3Parser$parseResponseBody$lambda($this));
3390
+ return flatMapResponses_0($this.a2d_1, $this, OpenApiV3Parser$parseResponseBody$lambda($this));
3391
3391
  }
3392
3392
  function parseComponents($this) {
3393
3393
  // Inline function 'kotlin.collections.flatMap' call
3394
3394
  // Inline function 'kotlin.collections.filter' call
3395
3395
  // Inline function 'kotlin.collections.orEmpty' call
3396
- var tmp0_safe_receiver = $this.z2c_1.z1o_1;
3396
+ var tmp0_safe_receiver = $this.a2d_1.z1o_1;
3397
3397
  var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s1q_1;
3398
3398
  // Inline function 'kotlin.collections.filterTo' call
3399
3399
  var this_0 = tmp0_elvis_lhs == null ? emptyMap() : tmp0_elvis_lhs;
@@ -3421,7 +3421,7 @@
3421
3421
  while (tmp0_iterator_0.w()) {
3422
3422
  var element_0 = tmp0_iterator_0.y();
3423
3423
  // Inline function 'community.flock.wirespec.openapi.v3.OpenApiV3Parser.parseComponents.<anonymous>' call
3424
- var list = flatten_2(element_0.p2(), $this, Common_instance.d2c([element_0.o2()]));
3424
+ var list = flatten_2(element_0.p2(), $this, Common_instance.e2c([element_0.o2()]));
3425
3425
  addAll(destination_0, list);
3426
3426
  }
3427
3427
  return destination_0;
@@ -3438,7 +3438,7 @@
3438
3438
  // Inline function 'kotlin.let' call
3439
3439
  // Inline function 'kotlin.contracts.contract' call
3440
3440
  // Inline function 'community.flock.wirespec.openapi.v3.OpenApiV3Parser.toName.<anonymous>' call
3441
- tmp = Common_instance.d2c([tmp0_safe_receiver]);
3441
+ tmp = Common_instance.e2c([tmp0_safe_receiver]);
3442
3442
  }
3443
3443
  return tmp;
3444
3444
  }
@@ -3510,7 +3510,7 @@
3510
3510
  var tmp1_safe_receiver = tmp$ret$7;
3511
3511
  var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.b1u_1;
3512
3512
  var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : resolve_4(tmp2_safe_receiver, $this);
3513
- var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : toReference_2(tmp3_safe_receiver, $this, Common_instance.d2c([name, 'Parameter', param]));
3513
+ var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : toReference_2(tmp3_safe_receiver, $this, Common_instance.e2c([name, 'Parameter', param]));
3514
3514
  var tmp_0;
3515
3515
  if (tmp4_safe_receiver == null) {
3516
3516
  tmp_0 = null;
@@ -3623,7 +3623,7 @@
3623
3623
  return tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
3624
3624
  }
3625
3625
  function resolveParameterObject_0(_this__u8e3s4, $this) {
3626
- var tmp0_safe_receiver = $this.z2c_1.z1o_1;
3626
+ var tmp0_safe_receiver = $this.a2d_1.z1o_1;
3627
3627
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u1q_1;
3628
3628
  var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.u2(getReference_0(_this__u8e3s4, $this));
3629
3629
  var tmp;
@@ -3648,7 +3648,7 @@
3648
3648
  return tmp;
3649
3649
  }
3650
3650
  function resolveSchemaObject_0(_this__u8e3s4, $this) {
3651
- var tmp0_safe_receiver = $this.z2c_1.z1o_1;
3651
+ var tmp0_safe_receiver = $this.a2d_1.z1o_1;
3652
3652
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s1q_1;
3653
3653
  var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.u2(getReference_0(_this__u8e3s4, $this));
3654
3654
  var tmp;
@@ -3681,7 +3681,7 @@
3681
3681
  return tmp_1;
3682
3682
  }
3683
3683
  function resolveHeaderObject(_this__u8e3s4, $this) {
3684
- var tmp0_safe_receiver = $this.z2c_1.z1o_1;
3684
+ var tmp0_safe_receiver = $this.a2d_1.z1o_1;
3685
3685
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.x1q_1;
3686
3686
  var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.u2(getReference_0(_this__u8e3s4, $this));
3687
3687
  var tmp;
@@ -3714,7 +3714,7 @@
3714
3714
  return tmp_1;
3715
3715
  }
3716
3716
  function resolveRequestBodyObject(_this__u8e3s4, $this) {
3717
- var tmp0_safe_receiver = $this.z2c_1.z1o_1;
3717
+ var tmp0_safe_receiver = $this.a2d_1.z1o_1;
3718
3718
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w1q_1;
3719
3719
  var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.u2(getReference_0(_this__u8e3s4, $this));
3720
3720
  var tmp;
@@ -3747,7 +3747,7 @@
3747
3747
  return tmp_1;
3748
3748
  }
3749
3749
  function resolveResponseObject_0(_this__u8e3s4, $this) {
3750
- var tmp0_safe_receiver = $this.z2c_1.z1o_1;
3750
+ var tmp0_safe_receiver = $this.a2d_1.z1o_1;
3751
3751
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.t1q_1;
3752
3752
  var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.u2(getReference_0(_this__u8e3s4, $this));
3753
3753
  var tmp;
@@ -3897,7 +3897,7 @@
3897
3897
  tmp_4 = toReference_1(item, $this);
3898
3898
  } else {
3899
3899
  if (item instanceof SchemaObject_0) {
3900
- tmp_4 = toReference_2(item, $this, Common_instance.d2c([name, index_0.toString()]));
3900
+ tmp_4 = toReference_2(item, $this, Common_instance.e2c([name, index_0.toString()]));
3901
3901
  } else {
3902
3902
  noWhenBranchMatchedException();
3903
3903
  }
@@ -3923,7 +3923,7 @@
3923
3923
  tmp_6 = emptyList();
3924
3924
  } else {
3925
3925
  if (element instanceof SchemaObject_0) {
3926
- tmp_6 = flatten_1(element, $this, Common_instance.d2c([name, index_2.toString()]));
3926
+ tmp_6 = flatten_1(element, $this, Common_instance.e2c([name, index_2.toString()]));
3927
3927
  } else {
3928
3928
  noWhenBranchMatchedException();
3929
3929
  }
@@ -3995,7 +3995,7 @@
3995
3995
  var key_0 = element_2.o2();
3996
3996
  // Inline function 'kotlin.collections.component2' call
3997
3997
  var value = element_2.p2();
3998
- var list_2 = flatten_2(value, $this, Common_instance.d2c([name, key_0]));
3998
+ var list_2 = flatten_2(value, $this, Common_instance.e2c([name, key_0]));
3999
3999
  addAll(destination_3, list_2);
4000
4000
  }
4001
4001
  var list_3 = destination_3;
@@ -4044,7 +4044,7 @@
4044
4044
  var key_1 = element_3.o2();
4045
4045
  // Inline function 'kotlin.collections.component2' call
4046
4046
  var value_0 = element_3.p2();
4047
- var list_4 = flatten_2(value_0, $this, Common_instance.d2c([name, key_1]));
4047
+ var list_4 = flatten_2(value_0, $this, Common_instance.e2c([name, key_1]));
4048
4048
  addAll(destination_5, list_4);
4049
4049
  }
4050
4050
 
@@ -4066,7 +4066,7 @@
4066
4066
  tmp_12 = emptyList();
4067
4067
  } else {
4068
4068
  if (tmp6_safe_receiver instanceof SchemaObject_0) {
4069
- tmp_12 = flatten_1(tmp6_safe_receiver, $this, Common_instance.d2c([name, 'array']));
4069
+ tmp_12 = flatten_1(tmp6_safe_receiver, $this, Common_instance.e2c([name, 'array']));
4070
4070
  } else {
4071
4071
  noWhenBranchMatchedException();
4072
4072
  }
@@ -4124,7 +4124,7 @@
4124
4124
  }
4125
4125
  tmp = tmp_0;
4126
4126
  } else if (!(schema.x1v_1 == null)) {
4127
- tmp = new Custom(Common_instance.d2c([getReference_0(referencingObject, $this)]), false, false);
4127
+ tmp = new Custom(Common_instance.e2c([getReference_0(referencingObject, $this)]), false, false);
4128
4128
  } else if (isPrimitive_0(schema.x1u_1)) {
4129
4129
  tmp = new Primitive(toPrimitive_0(ensureNotNull(schema.x1u_1), $this), false, false);
4130
4130
  } else {
@@ -4134,10 +4134,10 @@
4134
4134
  var items = schema.c1v_1;
4135
4135
  var tmp_2;
4136
4136
  if (items instanceof ReferenceObject_0) {
4137
- tmp_2 = new Custom(Common_instance.d2c([getReference_0(items, $this)]), true);
4137
+ tmp_2 = new Custom(Common_instance.e2c([getReference_0(items, $this)]), true);
4138
4138
  } else {
4139
4139
  if (items instanceof SchemaObject_0) {
4140
- tmp_2 = new Custom(Common_instance.d2c([getReference_0(referencingObject, $this), 'Array']), true);
4140
+ tmp_2 = new Custom(Common_instance.e2c([getReference_0(referencingObject, $this), 'Array']), true);
4141
4141
  } else {
4142
4142
  if (items == null) {
4143
4143
  var message = 'items cannot be null when type is array: ' + new Ref_0(_this__u8e3s4.l1u_1);
@@ -4149,7 +4149,7 @@
4149
4149
  }
4150
4150
  tmp_1 = tmp_2;
4151
4151
  } else {
4152
- tmp_1 = new Custom(Common_instance.d2c([getReference_0(referencingObject, $this)]), false);
4152
+ tmp_1 = new Custom(Common_instance.e2c([getReference_0(referencingObject, $this)]), false);
4153
4153
  }
4154
4154
  tmp = tmp_1;
4155
4155
  }
@@ -4341,14 +4341,14 @@
4341
4341
  var tmp;
4342
4342
  if (value instanceof SchemaObject_0) {
4343
4343
  var tmp_0 = Companion_instance.w28(key);
4344
- var tmp_1 = !(value.x1v_1 == null) ? toReference_2(value, $this, Common_instance.d2c([name, key])) : equals(value.x1u_1, Type_ARRAY_getInstance_0()) ? toReference_2(value, $this, Common_instance.d2c([name, key, 'Array'])) : toReference_2(value, $this, Common_instance.d2c([name, key]));
4344
+ var tmp_1 = !(value.x1v_1 == null) ? toReference_2(value, $this, Common_instance.e2c([name, key])) : equals(value.x1u_1, Type_ARRAY_getInstance_0()) ? toReference_2(value, $this, Common_instance.e2c([name, key, 'Array'])) : toReference_2(value, $this, Common_instance.e2c([name, key]));
4345
4345
  var tmp1_safe_receiver = _this__u8e3s4.w1v_1;
4346
4346
  var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.r(key);
4347
4347
  tmp = new Field(tmp_0, tmp_1, !(tmp2_elvis_lhs == null ? false : tmp2_elvis_lhs));
4348
4348
  } else {
4349
4349
  if (value instanceof ReferenceObject_0) {
4350
4350
  var tmp_2 = Companion_instance.w28(key);
4351
- var tmp_3 = new Custom(Common_instance.d2c([getReference_0(value, $this)]), false);
4351
+ var tmp_3 = new Custom(Common_instance.e2c([getReference_0(value, $this)]), false);
4352
4352
  var tmp3_safe_receiver = _this__u8e3s4.w1v_1;
4353
4353
  var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.r(key);
4354
4354
  tmp = new Field(tmp_2, tmp_3, !(tmp4_elvis_lhs == null ? false : tmp4_elvis_lhs));
@@ -4412,19 +4412,19 @@
4412
4412
  return new Field(tmp_0, it, !(tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs));
4413
4413
  }
4414
4414
  function FlattenRequest_0(path, pathItem, method, operation) {
4415
- this.a2d_1 = path;
4416
- this.b2d_1 = pathItem;
4417
- this.c2d_1 = method;
4418
- this.d2d_1 = operation;
4415
+ this.b2d_1 = path;
4416
+ this.c2d_1 = pathItem;
4417
+ this.d2d_1 = method;
4418
+ this.e2d_1 = operation;
4419
4419
  }
4420
4420
  protoOf(FlattenRequest_0).toString = function () {
4421
- return 'FlattenRequest(path=' + new Path_0(this.a2d_1) + ', pathItem=' + this.b2d_1 + ', method=' + this.c2d_1 + ', operation=' + this.d2d_1 + ')';
4421
+ return 'FlattenRequest(path=' + new Path_0(this.b2d_1) + ', pathItem=' + this.c2d_1 + ', method=' + this.d2d_1 + ', operation=' + this.e2d_1 + ')';
4422
4422
  };
4423
4423
  protoOf(FlattenRequest_0).hashCode = function () {
4424
- var result = Path__hashCode_impl_go73kd_0(this.a2d_1);
4425
- result = imul(result, 31) + this.b2d_1.hashCode() | 0;
4424
+ var result = Path__hashCode_impl_go73kd_0(this.b2d_1);
4426
4425
  result = imul(result, 31) + this.c2d_1.hashCode() | 0;
4427
4426
  result = imul(result, 31) + this.d2d_1.hashCode() | 0;
4427
+ result = imul(result, 31) + this.e2d_1.hashCode() | 0;
4428
4428
  return result;
4429
4429
  };
4430
4430
  protoOf(FlattenRequest_0).equals = function (other) {
@@ -4433,14 +4433,14 @@
4433
4433
  if (!(other instanceof FlattenRequest_0))
4434
4434
  return false;
4435
4435
  var tmp0_other_with_cast = other instanceof FlattenRequest_0 ? other : THROW_CCE();
4436
- if (!(this.a2d_1 === tmp0_other_with_cast.a2d_1))
4437
- return false;
4438
- if (!this.b2d_1.equals(tmp0_other_with_cast.b2d_1))
4436
+ if (!(this.b2d_1 === tmp0_other_with_cast.b2d_1))
4439
4437
  return false;
4440
4438
  if (!this.c2d_1.equals(tmp0_other_with_cast.c2d_1))
4441
4439
  return false;
4442
4440
  if (!this.d2d_1.equals(tmp0_other_with_cast.d2d_1))
4443
4441
  return false;
4442
+ if (!this.e2d_1.equals(tmp0_other_with_cast.e2d_1))
4443
+ return false;
4444
4444
  return true;
4445
4445
  };
4446
4446
  function flatMapRequests_0(_this__u8e3s4, $this, f) {
@@ -4489,23 +4489,23 @@
4489
4489
  return destination_1;
4490
4490
  }
4491
4491
  function FlattenResponse_0(path, pathItem, method, operation, statusCode, response) {
4492
- this.e2d_1 = path;
4493
- this.f2d_1 = pathItem;
4494
- this.g2d_1 = method;
4495
- this.h2d_1 = operation;
4496
- this.i2d_1 = statusCode;
4497
- this.j2d_1 = response;
4492
+ this.f2d_1 = path;
4493
+ this.g2d_1 = pathItem;
4494
+ this.h2d_1 = method;
4495
+ this.i2d_1 = operation;
4496
+ this.j2d_1 = statusCode;
4497
+ this.k2d_1 = response;
4498
4498
  }
4499
4499
  protoOf(FlattenResponse_0).toString = function () {
4500
- return 'FlattenResponse(path=' + new Path_0(this.e2d_1) + ', pathItem=' + this.f2d_1 + ', method=' + this.g2d_1 + ', operation=' + this.h2d_1 + ', statusCode=' + new StatusCode_0(this.i2d_1) + ', response=' + this.j2d_1 + ')';
4500
+ return 'FlattenResponse(path=' + new Path_0(this.f2d_1) + ', pathItem=' + this.g2d_1 + ', method=' + this.h2d_1 + ', operation=' + this.i2d_1 + ', statusCode=' + new StatusCode_0(this.j2d_1) + ', response=' + this.k2d_1 + ')';
4501
4501
  };
4502
4502
  protoOf(FlattenResponse_0).hashCode = function () {
4503
- var result = Path__hashCode_impl_go73kd_0(this.e2d_1);
4504
- result = imul(result, 31) + this.f2d_1.hashCode() | 0;
4503
+ var result = Path__hashCode_impl_go73kd_0(this.f2d_1);
4505
4504
  result = imul(result, 31) + this.g2d_1.hashCode() | 0;
4506
4505
  result = imul(result, 31) + this.h2d_1.hashCode() | 0;
4507
- result = imul(result, 31) + StatusCode__hashCode_impl_fevhvx_0(this.i2d_1) | 0;
4508
- result = imul(result, 31) + hashCode(this.j2d_1) | 0;
4506
+ result = imul(result, 31) + this.i2d_1.hashCode() | 0;
4507
+ result = imul(result, 31) + StatusCode__hashCode_impl_fevhvx_0(this.j2d_1) | 0;
4508
+ result = imul(result, 31) + hashCode(this.k2d_1) | 0;
4509
4509
  return result;
4510
4510
  };
4511
4511
  protoOf(FlattenResponse_0).equals = function (other) {
@@ -4514,17 +4514,17 @@
4514
4514
  if (!(other instanceof FlattenResponse_0))
4515
4515
  return false;
4516
4516
  var tmp0_other_with_cast = other instanceof FlattenResponse_0 ? other : THROW_CCE();
4517
- if (!(this.e2d_1 === tmp0_other_with_cast.e2d_1))
4518
- return false;
4519
- if (!this.f2d_1.equals(tmp0_other_with_cast.f2d_1))
4517
+ if (!(this.f2d_1 === tmp0_other_with_cast.f2d_1))
4520
4518
  return false;
4521
4519
  if (!this.g2d_1.equals(tmp0_other_with_cast.g2d_1))
4522
4520
  return false;
4523
4521
  if (!this.h2d_1.equals(tmp0_other_with_cast.h2d_1))
4524
4522
  return false;
4525
- if (!(this.i2d_1 === tmp0_other_with_cast.i2d_1))
4523
+ if (!this.i2d_1.equals(tmp0_other_with_cast.i2d_1))
4524
+ return false;
4525
+ if (!(this.j2d_1 === tmp0_other_with_cast.j2d_1))
4526
4526
  return false;
4527
- if (!equals(this.j2d_1, tmp0_other_with_cast.j2d_1))
4527
+ if (!equals(this.k2d_1, tmp0_other_with_cast.k2d_1))
4528
4528
  return false;
4529
4529
  return true;
4530
4530
  };
@@ -4599,9 +4599,9 @@
4599
4599
  }
4600
4600
  function OpenApiV3Parser$parseParameters$lambda(this$0) {
4601
4601
  return function (req) {
4602
- var parameters = plus(resolveParameters_2(req.b2d_1, this$0), resolveParameters_1(req.d2d_1, this$0));
4603
- var tmp0_elvis_lhs = toName_1(req.d2d_1, this$0);
4604
- var name = tmp0_elvis_lhs == null ? toName_2(req.a2d_1, this$0) + req.c2d_1.f9_1 : tmp0_elvis_lhs;
4602
+ var parameters = plus(resolveParameters_2(req.c2d_1, this$0), resolveParameters_1(req.e2d_1, this$0));
4603
+ var tmp0_elvis_lhs = toName_1(req.e2d_1, this$0);
4604
+ var name = tmp0_elvis_lhs == null ? toName_2(req.b2d_1, this$0) + req.d2d_1.f9_1 : tmp0_elvis_lhs;
4605
4605
  // Inline function 'kotlin.collections.flatMap' call
4606
4606
  // Inline function 'kotlin.collections.flatMapTo' call
4607
4607
  var destination = ArrayList_init_$Create$();
@@ -4610,7 +4610,7 @@
4610
4610
  var element = tmp0_iterator.y();
4611
4611
  // Inline function 'community.flock.wirespec.openapi.v3.OpenApiV3Parser.parseParameters.<anonymous>.<anonymous>' call
4612
4612
  var tmp0_safe_receiver = element.b1u_1;
4613
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : flatten_2(tmp0_safe_receiver, this$0, Common_instance.d2c([name, 'Parameter', element.f1u_1]));
4613
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : flatten_2(tmp0_safe_receiver, this$0, Common_instance.e2c([name, 'Parameter', element.f1u_1]));
4614
4614
  var list = tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
4615
4615
  addAll(destination, list);
4616
4616
  }
@@ -4619,11 +4619,11 @@
4619
4619
  }
4620
4620
  function OpenApiV3Parser$parseRequestBody$lambda(this$0) {
4621
4621
  return function (req) {
4622
- var tmp0_elvis_lhs = toName_1(req.d2d_1, this$0);
4623
- var name = tmp0_elvis_lhs == null ? toName_2(req.a2d_1, this$0) + req.c2d_1.f9_1 : tmp0_elvis_lhs;
4622
+ var tmp0_elvis_lhs = toName_1(req.e2d_1, this$0);
4623
+ var name = tmp0_elvis_lhs == null ? toName_2(req.b2d_1, this$0) + req.d2d_1.f9_1 : tmp0_elvis_lhs;
4624
4624
  // Inline function 'kotlin.collections.flatMap' call
4625
4625
  // Inline function 'kotlin.collections.orEmpty' call
4626
- var tmp1_safe_receiver = req.d2d_1.i1s_1;
4626
+ var tmp1_safe_receiver = req.e2d_1.i1s_1;
4627
4627
  var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : resolve_7(tmp1_safe_receiver, this$0);
4628
4628
  var tmp0_elvis_lhs_0 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.p1w_1;
4629
4629
  // Inline function 'kotlin.collections.flatMapTo' call
@@ -4644,13 +4644,13 @@
4644
4644
  switch (tmp0_subject == null ? -1 : tmp0_subject.g9_1) {
4645
4645
  case -1:
4646
4646
  case 5:
4647
- tmp_0 = flatten_1(schema, this$0, Common_instance.d2c([name, 'RequestBody']));
4647
+ tmp_0 = flatten_1(schema, this$0, Common_instance.e2c([name, 'RequestBody']));
4648
4648
  break;
4649
4649
  case 4:
4650
4650
  // Inline function 'kotlin.collections.orEmpty' call
4651
4651
 
4652
4652
  var tmp1_safe_receiver_0 = schema.c1v_1;
4653
- var tmp0_elvis_lhs_1 = tmp1_safe_receiver_0 == null ? null : flatten_2(tmp1_safe_receiver_0, this$0, Common_instance.d2c([name, 'RequestBody']));
4653
+ var tmp0_elvis_lhs_1 = tmp1_safe_receiver_0 == null ? null : flatten_2(tmp1_safe_receiver_0, this$0, Common_instance.e2c([name, 'RequestBody']));
4654
4654
  tmp_0 = tmp0_elvis_lhs_1 == null ? emptyList() : tmp0_elvis_lhs_1;
4655
4655
  break;
4656
4656
  default:
@@ -4677,9 +4677,9 @@
4677
4677
  }
4678
4678
  function OpenApiV3Parser$parseResponseBody$lambda(this$0) {
4679
4679
  return function (res) {
4680
- var tmp0_elvis_lhs = toName_1(res.h2d_1, this$0);
4681
- var name = tmp0_elvis_lhs == null ? toName_2(res.e2d_1, this$0) + res.g2d_1.f9_1 : tmp0_elvis_lhs;
4682
- var response = res.j2d_1;
4680
+ var tmp0_elvis_lhs = toName_1(res.i2d_1, this$0);
4681
+ var name = tmp0_elvis_lhs == null ? toName_2(res.f2d_1, this$0) + res.h2d_1.f9_1 : tmp0_elvis_lhs;
4682
+ var response = res.k2d_1;
4683
4683
  var tmp;
4684
4684
  if (response instanceof ResponseObject_0) {
4685
4685
  // Inline function 'kotlin.collections.flatMap' call
@@ -4705,13 +4705,13 @@
4705
4705
  switch (tmp0_subject == null ? -1 : tmp0_subject.g9_1) {
4706
4706
  case -1:
4707
4707
  case 5:
4708
- tmp_1 = flatten_1(schema, this$0, Common_instance.d2c([name, _StatusCode___get_value__impl__we50mu_0(res.i2d_1), _MediaType___get_value__impl__wy58mp(mediaType), 'ResponseBody']));
4708
+ tmp_1 = flatten_1(schema, this$0, Common_instance.e2c([name, _StatusCode___get_value__impl__we50mu_0(res.j2d_1), _MediaType___get_value__impl__wy58mp(mediaType), 'ResponseBody']));
4709
4709
  break;
4710
4710
  case 4:
4711
4711
  // Inline function 'kotlin.collections.orEmpty' call
4712
4712
 
4713
4713
  var tmp1_safe_receiver = schema.c1v_1;
4714
- var tmp0_elvis_lhs_1 = tmp1_safe_receiver == null ? null : flatten_2(tmp1_safe_receiver, this$0, Common_instance.d2c([name, _StatusCode___get_value__impl__we50mu_0(res.i2d_1), _MediaType___get_value__impl__wy58mp(mediaType), 'ResponseBody']));
4714
+ var tmp0_elvis_lhs_1 = tmp1_safe_receiver == null ? null : flatten_2(tmp1_safe_receiver, this$0, Common_instance.e2c([name, _StatusCode___get_value__impl__we50mu_0(res.j2d_1), _MediaType___get_value__impl__wy58mp(mediaType), 'ResponseBody']));
4715
4715
  tmp_1 = tmp0_elvis_lhs_1 == null ? emptyList() : tmp0_elvis_lhs_1;
4716
4716
  break;
4717
4717
  default:
@@ -4748,10 +4748,10 @@
4748
4748
  // Inline function 'kotlin.js.asDynamic' call
4749
4749
 
4750
4750
  var tmp$ret$1 = it.substring(1, endIndex);
4751
- tmp = tmp_0.d2c([tmp$ret$1]);
4751
+ tmp = tmp_0.e2c([tmp$ret$1]);
4752
4752
  break;
4753
4753
  case false:
4754
- tmp = Common_instance.d2c([it]);
4754
+ tmp = Common_instance.e2c([it]);
4755
4755
  break;
4756
4756
  default:
4757
4757
  noWhenBranchMatchedException();
@@ -4761,7 +4761,7 @@
4761
4761
  };
4762
4762
  }
4763
4763
  function OpenApiV3Parser(openApi) {
4764
- this.z2c_1 = openApi;
4764
+ this.a2d_1 = openApi;
4765
4765
  }
4766
4766
  function toMap_1(_this__u8e3s4) {
4767
4767
  var tmp;