@flock/wirespec 0.17.16 → 0.17.18

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.
Files changed (30) hide show
  1. package/clikt-clikt.mjs +1152 -1152
  2. package/colormath-root-colormath.mjs +424 -424
  3. package/kotlin-kotlin-stdlib.mjs +11 -11
  4. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  5. package/kotlin-openapi-bindings.mjs +1 -0
  6. package/kotlin-rgxgen.mjs +1763 -1763
  7. package/kotlinx-io-kotlinx-io-core.mjs +377 -377
  8. package/markdown.mjs +1833 -1833
  9. package/mordant-mordant.mjs +1605 -1605
  10. package/package.json +1 -1
  11. package/wirespec-src-compiler-core.mjs +25 -13
  12. package/wirespec-src-compiler-core.mjs.map +1 -1
  13. package/wirespec-src-compiler-emitters-java.mjs +118 -84
  14. package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
  15. package/wirespec-src-compiler-emitters-kotlin.mjs +156 -126
  16. package/wirespec-src-compiler-emitters-kotlin.mjs.map +1 -1
  17. package/wirespec-src-compiler-emitters-python.mjs +169 -139
  18. package/wirespec-src-compiler-emitters-python.mjs.map +1 -1
  19. package/wirespec-src-compiler-emitters-typescript.mjs +89 -85
  20. package/wirespec-src-compiler-emitters-typescript.mjs.map +1 -1
  21. package/wirespec-src-compiler-emitters-wirespec.mjs +33 -33
  22. package/wirespec-src-compiler-emitters-wirespec.mjs.map +1 -1
  23. package/wirespec-src-compiler-lib.mjs +246 -246
  24. package/wirespec-src-converter-avro.mjs +265 -265
  25. package/wirespec-src-converter-openapi.mjs +76 -75
  26. package/wirespec-src-converter-openapi.mjs.map +1 -1
  27. package/wirespec-src-plugin-arguments.mjs +132 -132
  28. package/wirespec-src-plugin-cli.mjs +66 -66
  29. package/wirespec-src-plugin-npm.mjs +10 -10
  30. package/wirespec-src-tools-generator.mjs +2 -2
@@ -160,6 +160,7 @@ import {
160
160
  Ref__toString_impl_irb7zi32liltvciubsb as Ref__toString_impl_irb7zi,
161
161
  BooleanValue2a9num6jqp0le as BooleanValue,
162
162
  OpenAPIV2SchemaOrReference3b32ku1sw2qie as OpenAPIV2SchemaOrReference,
163
+ OpenAPIV2ResponseOrReference18l2f954wxdcu as OpenAPIV2ResponseOrReference,
163
164
  OpenAPIV3Componentspfey0g8pxl3d as OpenAPIV3Components,
164
165
  OpenAPIV3PathItem1gskaz6lpj8no as OpenAPIV3PathItem,
165
166
  OpenAPIV3Type_STRING_getInstance1pyncqi8aoe47 as OpenAPIV3Type_STRING_getInstance,
@@ -394,19 +395,19 @@ function flatMapRequests(_this__u8e3s4, f) {
394
395
  return destination_1;
395
396
  }
396
397
  function FlattenRequest(path, pathItem, method, operation) {
397
- this.s2e_1 = path;
398
- this.t2e_1 = pathItem;
399
- this.u2e_1 = method;
400
- this.v2e_1 = operation;
398
+ this.v2e_1 = path;
399
+ this.w2e_1 = pathItem;
400
+ this.x2e_1 = method;
401
+ this.y2e_1 = operation;
401
402
  }
402
403
  protoOf(FlattenRequest).toString = function () {
403
- return 'FlattenRequest(path=' + Path__toString_impl_wlr1lw(this.s2e_1) + ', pathItem=' + toString(this.t2e_1) + ', method=' + this.u2e_1.toString() + ', operation=' + toString(this.v2e_1) + ')';
404
+ return 'FlattenRequest(path=' + Path__toString_impl_wlr1lw(this.v2e_1) + ', pathItem=' + toString(this.w2e_1) + ', method=' + this.x2e_1.toString() + ', operation=' + toString(this.y2e_1) + ')';
404
405
  };
405
406
  protoOf(FlattenRequest).hashCode = function () {
406
- var result = Path__hashCode_impl_go73kd(this.s2e_1);
407
- result = imul(result, 31) + hashCode(this.t2e_1) | 0;
408
- result = imul(result, 31) + this.u2e_1.hashCode() | 0;
409
- result = imul(result, 31) + hashCode(this.v2e_1) | 0;
407
+ var result = Path__hashCode_impl_go73kd(this.v2e_1);
408
+ result = imul(result, 31) + hashCode(this.w2e_1) | 0;
409
+ result = imul(result, 31) + this.x2e_1.hashCode() | 0;
410
+ result = imul(result, 31) + hashCode(this.y2e_1) | 0;
410
411
  return result;
411
412
  };
412
413
  protoOf(FlattenRequest).equals = function (other) {
@@ -415,13 +416,13 @@ protoOf(FlattenRequest).equals = function (other) {
415
416
  if (!(other instanceof FlattenRequest))
416
417
  return false;
417
418
  var tmp0_other_with_cast = other instanceof FlattenRequest ? other : THROW_CCE();
418
- if (!(this.s2e_1 === tmp0_other_with_cast.s2e_1))
419
+ if (!(this.v2e_1 === tmp0_other_with_cast.v2e_1))
419
420
  return false;
420
- if (!equals(this.t2e_1, tmp0_other_with_cast.t2e_1))
421
+ if (!equals(this.w2e_1, tmp0_other_with_cast.w2e_1))
421
422
  return false;
422
- if (!this.u2e_1.equals(tmp0_other_with_cast.u2e_1))
423
+ if (!this.x2e_1.equals(tmp0_other_with_cast.x2e_1))
423
424
  return false;
424
- if (!equals(this.v2e_1, tmp0_other_with_cast.v2e_1))
425
+ if (!equals(this.y2e_1, tmp0_other_with_cast.y2e_1))
425
426
  return false;
426
427
  return true;
427
428
  };
@@ -488,23 +489,23 @@ function flatMapResponses(_this__u8e3s4, f) {
488
489
  return destination_2;
489
490
  }
490
491
  function FlattenResponse(path, pathItem, method, operation, statusCode, response) {
491
- this.w2e_1 = path;
492
- this.x2e_1 = pathItem;
493
- this.y2e_1 = method;
494
- this.z2e_1 = operation;
495
- this.a2f_1 = statusCode;
496
- this.b2f_1 = response;
492
+ this.z2e_1 = path;
493
+ this.a2f_1 = pathItem;
494
+ this.b2f_1 = method;
495
+ this.c2f_1 = operation;
496
+ this.d2f_1 = statusCode;
497
+ this.e2f_1 = response;
497
498
  }
498
499
  protoOf(FlattenResponse).toString = function () {
499
- return 'FlattenResponse(path=' + Path__toString_impl_wlr1lw(this.w2e_1) + ', pathItem=' + toString(this.x2e_1) + ', method=' + this.y2e_1.toString() + ', operation=' + toString(this.z2e_1) + ', statusCode=' + StatusCode__toString_impl_6caewy(this.a2f_1) + ', response=' + toString(this.b2f_1) + ')';
500
+ return 'FlattenResponse(path=' + Path__toString_impl_wlr1lw(this.z2e_1) + ', pathItem=' + toString(this.a2f_1) + ', method=' + this.b2f_1.toString() + ', operation=' + toString(this.c2f_1) + ', statusCode=' + StatusCode__toString_impl_6caewy(this.d2f_1) + ', response=' + toString(this.e2f_1) + ')';
500
501
  };
501
502
  protoOf(FlattenResponse).hashCode = function () {
502
- var result = Path__hashCode_impl_go73kd(this.w2e_1);
503
- result = imul(result, 31) + hashCode(this.x2e_1) | 0;
504
- result = imul(result, 31) + this.y2e_1.hashCode() | 0;
505
- result = imul(result, 31) + hashCode(this.z2e_1) | 0;
506
- result = imul(result, 31) + StatusCode__hashCode_impl_fevhvx(this.a2f_1) | 0;
507
- result = imul(result, 31) + hashCode(this.b2f_1) | 0;
503
+ var result = Path__hashCode_impl_go73kd(this.z2e_1);
504
+ result = imul(result, 31) + hashCode(this.a2f_1) | 0;
505
+ result = imul(result, 31) + this.b2f_1.hashCode() | 0;
506
+ result = imul(result, 31) + hashCode(this.c2f_1) | 0;
507
+ result = imul(result, 31) + StatusCode__hashCode_impl_fevhvx(this.d2f_1) | 0;
508
+ result = imul(result, 31) + hashCode(this.e2f_1) | 0;
508
509
  return result;
509
510
  };
510
511
  protoOf(FlattenResponse).equals = function (other) {
@@ -513,17 +514,17 @@ protoOf(FlattenResponse).equals = function (other) {
513
514
  if (!(other instanceof FlattenResponse))
514
515
  return false;
515
516
  var tmp0_other_with_cast = other instanceof FlattenResponse ? other : THROW_CCE();
516
- if (!(this.w2e_1 === tmp0_other_with_cast.w2e_1))
517
+ if (!(this.z2e_1 === tmp0_other_with_cast.z2e_1))
517
518
  return false;
518
- if (!equals(this.x2e_1, tmp0_other_with_cast.x2e_1))
519
+ if (!equals(this.a2f_1, tmp0_other_with_cast.a2f_1))
519
520
  return false;
520
- if (!this.y2e_1.equals(tmp0_other_with_cast.y2e_1))
521
+ if (!this.b2f_1.equals(tmp0_other_with_cast.b2f_1))
521
522
  return false;
522
- if (!equals(this.z2e_1, tmp0_other_with_cast.z2e_1))
523
+ if (!equals(this.c2f_1, tmp0_other_with_cast.c2f_1))
523
524
  return false;
524
- if (!(this.a2f_1 === tmp0_other_with_cast.a2f_1))
525
+ if (!(this.d2f_1 === tmp0_other_with_cast.d2f_1))
525
526
  return false;
526
- if (!equals(this.b2f_1, tmp0_other_with_cast.b2f_1))
527
+ if (!equals(this.e2f_1, tmp0_other_with_cast.e2f_1))
527
528
  return false;
528
529
  return true;
529
530
  };
@@ -1513,7 +1514,7 @@ function OpenAPIV2Emitter$emitSegment$lambda(it) {
1513
1514
  }
1514
1515
  function OpenAPIV2Emitter() {
1515
1516
  OpenAPIV2Emitter_instance = this;
1516
- this.c2f_1 = FileExtension_JSON_getInstance();
1517
+ this.f2f_1 = FileExtension_JSON_getInstance();
1517
1518
  }
1518
1519
  protoOf(OpenAPIV2Emitter).q22 = function (ast, logger) {
1519
1520
  // Inline function 'kotlin.let' call
@@ -1539,10 +1540,10 @@ protoOf(OpenAPIV2Emitter).q22 = function (ast, logger) {
1539
1540
  // Inline function 'kotlin.contracts.contract' call
1540
1541
  // Inline function 'community.flock.wirespec.openapi.v2.OpenAPIV2Emitter.emit.<anonymous>' call
1541
1542
  var it = tmp.uk(destination);
1542
- var tmp_0 = 'OpenAPI.' + OpenAPIV2Emitter_getInstance().c2f_1.p25_1;
1543
+ var tmp_0 = 'OpenAPI.' + OpenAPIV2Emitter_getInstance().f2f_1.p25_1;
1543
1544
  // Inline function 'kotlinx.serialization.encodeToString' call
1544
1545
  var this_2 = get_json();
1545
- var value = OpenAPIV2Emitter_getInstance().d2f(it, logger);
1546
+ var value = OpenAPIV2Emitter_getInstance().g2f(it, logger);
1546
1547
  // Inline function 'kotlinx.serialization.serializer' call
1547
1548
  var this_3 = this_2.zo();
1548
1549
  // Inline function 'kotlinx.serialization.internal.cast' call
@@ -1554,7 +1555,7 @@ protoOf(OpenAPIV2Emitter).q22 = function (ast, logger) {
1554
1555
  var it_0 = new Emitted(tmp_0, tmp$ret$7);
1555
1556
  return nonEmptyListOf(it_0, []);
1556
1557
  };
1557
- protoOf(OpenAPIV2Emitter).d2f = function (statements, logger) {
1558
+ protoOf(OpenAPIV2Emitter).g2f = function (statements, logger) {
1558
1559
  var tmp0_info = new InfoObject('Wirespec', VOID, VOID, VOID, VOID, '0.0.0');
1559
1560
  var tmp1_consumes = listOf('application/json');
1560
1561
  var tmp2_produces = listOf('application/json');
@@ -1570,15 +1571,15 @@ function OpenAPIV2Emitter_getInstance() {
1570
1571
  }
1571
1572
  function OpenAPIV2Parser$parse$lambda($strict) {
1572
1573
  return function (it) {
1573
- return OpenAPIV2Parser_instance.e2f((new OpenAPIV2(jsonDefault($strict))).f1j(it));
1574
+ return OpenAPIV2Parser_instance.h2f((new OpenAPIV2(jsonDefault($strict))).f1j(it));
1574
1575
  };
1575
1576
  }
1576
1577
  function OpenAPIV2Parser() {
1577
1578
  }
1578
- protoOf(OpenAPIV2Parser).r2e = function (moduleContent, strict) {
1579
+ protoOf(OpenAPIV2Parser).u2e = function (moduleContent, strict) {
1579
1580
  return parseOpenApi(moduleContent, OpenAPIV2Parser$parse$lambda(strict));
1580
1581
  };
1581
- protoOf(OpenAPIV2Parser).e2f = function (_this__u8e3s4) {
1582
+ protoOf(OpenAPIV2Parser).h2f = function (_this__u8e3s4) {
1582
1583
  // Inline function 'kotlin.let' call
1583
1584
  // Inline function 'kotlin.collections.reduce' call
1584
1585
  var iterator = listOf_0([parseEndpoints(_this__u8e3s4), parseParameters(_this__u8e3s4), parseRequestBody(_this__u8e3s4), parseResponseBody(_this__u8e3s4), parseDefinitions(_this__u8e3s4)]).g();
@@ -2941,12 +2942,12 @@ function toField_1(_this__u8e3s4, schema, name) {
2941
2942
  }
2942
2943
  function parseParameters$lambda($this_parseParameters) {
2943
2944
  return function ($this$flatMapRequests) {
2944
- var tmp = $this$flatMapRequests.t2e_1;
2945
+ var tmp = $this$flatMapRequests.w2e_1;
2945
2946
  var tmp_0 = resolveParameters($this_parseParameters, (tmp instanceof OpenAPIV2PathItem ? tmp : THROW_CCE()).e1m_1);
2946
- var tmp_1 = $this$flatMapRequests.v2e_1;
2947
+ var tmp_1 = $this$flatMapRequests.y2e_1;
2947
2948
  var parameters = plus_0(tmp_0, resolveParameters($this_parseParameters, (tmp_1 instanceof OpenAPIV2Operation ? tmp_1 : THROW_CCE()).i1n_1));
2948
- var tmp0_elvis_lhs = toName($this$flatMapRequests.v2e_1);
2949
- var name = tmp0_elvis_lhs == null ? toName_0($this$flatMapRequests.s2e_1) + $this$flatMapRequests.u2e_1.q2_1 : tmp0_elvis_lhs;
2949
+ var tmp0_elvis_lhs = toName($this$flatMapRequests.y2e_1);
2950
+ var name = tmp0_elvis_lhs == null ? toName_0($this$flatMapRequests.v2e_1) + $this$flatMapRequests.x2e_1.q2_1 : tmp0_elvis_lhs;
2950
2951
  // Inline function 'kotlin.collections.flatMap' call
2951
2952
  // Inline function 'kotlin.collections.filter' call
2952
2953
  // Inline function 'kotlin.collections.filterTo' call
@@ -2984,12 +2985,12 @@ function parseParameters$lambda($this_parseParameters) {
2984
2985
  }
2985
2986
  function parseRequestBody$lambda($this_parseRequestBody) {
2986
2987
  return function ($this$flatMapRequests) {
2987
- var tmp = $this$flatMapRequests.t2e_1;
2988
+ var tmp = $this$flatMapRequests.w2e_1;
2988
2989
  var tmp_0 = resolveParameters($this_parseRequestBody, (tmp instanceof OpenAPIV2PathItem ? tmp : THROW_CCE()).e1m_1);
2989
- var tmp_1 = $this$flatMapRequests.v2e_1;
2990
+ var tmp_1 = $this$flatMapRequests.y2e_1;
2990
2991
  var parameters = plus_0(tmp_0, resolveParameters($this_parseRequestBody, (tmp_1 instanceof OpenAPIV2Operation ? tmp_1 : THROW_CCE()).i1n_1));
2991
- var tmp0_elvis_lhs = toName($this$flatMapRequests.v2e_1);
2992
- var name = tmp0_elvis_lhs == null ? toName_0($this$flatMapRequests.s2e_1) + $this$flatMapRequests.u2e_1.q2_1 : tmp0_elvis_lhs;
2992
+ var tmp0_elvis_lhs = toName($this$flatMapRequests.y2e_1);
2993
+ var name = tmp0_elvis_lhs == null ? toName_0($this$flatMapRequests.v2e_1) + $this$flatMapRequests.x2e_1.q2_1 : tmp0_elvis_lhs;
2993
2994
  // Inline function 'kotlin.collections.flatMap' call
2994
2995
  // Inline function 'kotlin.collections.flatMapTo' call
2995
2996
  var destination = ArrayList_init_$Create$();
@@ -3020,7 +3021,7 @@ function parseRequestBody$lambda($this_parseRequestBody) {
3020
3021
  addAll(destination, list);
3021
3022
  }
3022
3023
  var enums = destination;
3023
- var tmp1_safe_receiver = $this$flatMapRequests.v2e_1.i1n_1;
3024
+ var tmp1_safe_receiver = $this$flatMapRequests.y2e_1.i1n_1;
3024
3025
  var tmp_5;
3025
3026
  if (tmp1_safe_receiver == null) {
3026
3027
  tmp_5 = null;
@@ -3114,11 +3115,11 @@ function parseRequestBody$lambda($this_parseRequestBody) {
3114
3115
  }
3115
3116
  function parseResponseBody$lambda($this_parseResponseBody) {
3116
3117
  return function ($this$flatMapResponses) {
3117
- var tmp = $this$flatMapResponses.b2f_1;
3118
- var schema = resolve_0($this_parseResponseBody, tmp instanceof OpenAPIV2Response ? tmp : THROW_CCE()).j1l_1;
3119
- var tmp_0 = $this$flatMapResponses.z2e_1;
3118
+ var tmp = $this$flatMapResponses.e2f_1;
3119
+ var schema = resolve_0($this_parseResponseBody, isInterface(tmp, OpenAPIV2ResponseOrReference) ? tmp : THROW_CCE()).j1l_1;
3120
+ var tmp_0 = $this$flatMapResponses.c2f_1;
3120
3121
  var tmp0_elvis_lhs = toName(tmp_0 instanceof OpenAPIV2Operation ? tmp_0 : THROW_CCE());
3121
- var name = tmp0_elvis_lhs == null ? toName_0($this$flatMapResponses.w2e_1) + $this$flatMapResponses.y2e_1.q2_1 : tmp0_elvis_lhs;
3122
+ var name = tmp0_elvis_lhs == null ? toName_0($this$flatMapResponses.z2e_1) + $this$flatMapResponses.b2f_1.q2_1 : tmp0_elvis_lhs;
3122
3123
  var tmp_1;
3123
3124
  if (schema instanceof OpenAPIV2Schema) {
3124
3125
  var tmp2_subject = schema.b1o_1;
@@ -3126,7 +3127,7 @@ function parseResponseBody$lambda($this_parseResponseBody) {
3126
3127
  switch (tmp2_subject == null ? -1 : tmp2_subject.r2_1) {
3127
3128
  case -1:
3128
3129
  case 5:
3129
- tmp_2 = flatten_0($this_parseResponseBody, schema, className([name, _StatusCode___get_value__impl__we50mu($this$flatMapResponses.a2f_1), 'ResponseBody']));
3130
+ tmp_2 = flatten_0($this_parseResponseBody, schema, className([name, _StatusCode___get_value__impl__we50mu($this$flatMapResponses.d2f_1), 'ResponseBody']));
3130
3131
  break;
3131
3132
  case 4:
3132
3133
  // Inline function 'kotlin.collections.orEmpty' call
@@ -3139,7 +3140,7 @@ function parseResponseBody$lambda($this_parseResponseBody) {
3139
3140
  // Inline function 'kotlin.let' call
3140
3141
  // Inline function 'kotlin.contracts.contract' call
3141
3142
  // Inline function 'community.flock.wirespec.openapi.v2.parseResponseBody.<anonymous>.<anonymous>' call
3142
- tmp_3 = flatten($this_parseResponseBody, tmp3_safe_receiver, className([name, _StatusCode___get_value__impl__we50mu($this$flatMapResponses.a2f_1), 'ResponseBody']));
3143
+ tmp_3 = flatten($this_parseResponseBody, tmp3_safe_receiver, className([name, _StatusCode___get_value__impl__we50mu($this$flatMapResponses.d2f_1), 'ResponseBody']));
3143
3144
  }
3144
3145
 
3145
3146
  var tmp0_elvis_lhs_0 = tmp_3;
@@ -3979,7 +3980,7 @@ function OpenAPIV3Emitter$emitSegment$lambda(it) {
3979
3980
  }
3980
3981
  function OpenAPIV3Emitter() {
3981
3982
  OpenAPIV3Emitter_instance = this;
3982
- this.f2f_1 = FileExtension_JSON_getInstance();
3983
+ this.i2f_1 = FileExtension_JSON_getInstance();
3983
3984
  }
3984
3985
  protoOf(OpenAPIV3Emitter).q22 = function (ast, logger) {
3985
3986
  // Inline function 'kotlin.let' call
@@ -4005,10 +4006,10 @@ protoOf(OpenAPIV3Emitter).q22 = function (ast, logger) {
4005
4006
  // Inline function 'kotlin.contracts.contract' call
4006
4007
  // Inline function 'community.flock.wirespec.openapi.v3.OpenAPIV3Emitter.emit.<anonymous>' call
4007
4008
  var it = tmp.uk(destination);
4008
- var tmp_0 = 'OpenAPI.' + OpenAPIV3Emitter_getInstance().f2f_1.p25_1;
4009
+ var tmp_0 = 'OpenAPI.' + OpenAPIV3Emitter_getInstance().i2f_1.p25_1;
4009
4010
  // Inline function 'kotlinx.serialization.encodeToString' call
4010
4011
  var this_2 = get_json();
4011
- var value = OpenAPIV3Emitter_getInstance().g2f(it, null, logger);
4012
+ var value = OpenAPIV3Emitter_getInstance().j2f(it, null, logger);
4012
4013
  // Inline function 'kotlinx.serialization.serializer' call
4013
4014
  var this_3 = this_2.zo();
4014
4015
  // Inline function 'kotlinx.serialization.internal.cast' call
@@ -4020,10 +4021,10 @@ protoOf(OpenAPIV3Emitter).q22 = function (ast, logger) {
4020
4021
  var it_0 = new Emitted(tmp_0, tmp$ret$7);
4021
4022
  return nonEmptyListOf(it_0, []);
4022
4023
  };
4023
- protoOf(OpenAPIV3Emitter).g2f = function (statements, options, logger) {
4024
- var tmp1_elvis_lhs = options == null ? null : options.h2f_1;
4024
+ protoOf(OpenAPIV3Emitter).j2f = function (statements, options, logger) {
4025
+ var tmp1_elvis_lhs = options == null ? null : options.k2f_1;
4025
4026
  var tmp = tmp1_elvis_lhs == null ? 'Wirespec' : tmp1_elvis_lhs;
4026
- var tmp3_elvis_lhs = options == null ? null : options.i2f_1;
4027
+ var tmp3_elvis_lhs = options == null ? null : options.l2f_1;
4027
4028
  var tmp4_info = new InfoObject(tmp, VOID, VOID, VOID, VOID, tmp3_elvis_lhs == null ? '0.0.0' : tmp3_elvis_lhs);
4028
4029
  var tmp5_paths = emitPaths_0(statements, this, logger);
4029
4030
  var tmp6_components = emitComponents(statements, this, logger);
@@ -4037,15 +4038,15 @@ function OpenAPIV3Emitter_getInstance() {
4037
4038
  }
4038
4039
  function OpenAPIV3Parser$parse$lambda($strict) {
4039
4040
  return function (it) {
4040
- return OpenAPIV3Parser_instance.j2f((new OpenAPIV3(jsonDefault($strict))).f1j(it));
4041
+ return OpenAPIV3Parser_instance.m2f((new OpenAPIV3(jsonDefault($strict))).f1j(it));
4041
4042
  };
4042
4043
  }
4043
4044
  function OpenAPIV3Parser() {
4044
4045
  }
4045
- protoOf(OpenAPIV3Parser).r2e = function (moduleContent, strict) {
4046
+ protoOf(OpenAPIV3Parser).u2e = function (moduleContent, strict) {
4046
4047
  return parseOpenApi(moduleContent, OpenAPIV3Parser$parse$lambda(strict));
4047
4048
  };
4048
- protoOf(OpenAPIV3Parser).j2f = function (_this__u8e3s4) {
4049
+ protoOf(OpenAPIV3Parser).m2f = function (_this__u8e3s4) {
4049
4050
  // Inline function 'kotlin.let' call
4050
4051
  // Inline function 'kotlin.collections.reduce' call
4051
4052
  var iterator = listOf_0([parseEndpoints_0(_this__u8e3s4), parseParameters_0(_this__u8e3s4), parseRequestBody_0(_this__u8e3s4), parseResponseBody_0(_this__u8e3s4), parseDefinitions_0(_this__u8e3s4)]).g();
@@ -5503,12 +5504,12 @@ function toField_4(_this__u8e3s4, schema, name) {
5503
5504
  }
5504
5505
  function parseParameters$lambda_0($this_parseParameters) {
5505
5506
  return function ($this$flatMapRequests) {
5506
- var tmp = $this$flatMapRequests.t2e_1;
5507
+ var tmp = $this$flatMapRequests.w2e_1;
5507
5508
  var tmp_0 = resolveParameters_0($this_parseParameters, (tmp instanceof OpenAPIV3PathItem ? tmp : THROW_CCE()).o1t_1);
5508
- var tmp_1 = $this$flatMapRequests.v2e_1;
5509
+ var tmp_1 = $this$flatMapRequests.y2e_1;
5509
5510
  var parameters = plus_0(tmp_0, resolveParameters_0($this_parseParameters, (tmp_1 instanceof OpenAPIV3Operation ? tmp_1 : THROW_CCE()).f1u_1));
5510
- var tmp0_elvis_lhs = toName($this$flatMapRequests.v2e_1);
5511
- var name = tmp0_elvis_lhs == null ? toName_0($this$flatMapRequests.s2e_1) + $this$flatMapRequests.u2e_1.q2_1 : tmp0_elvis_lhs;
5511
+ var tmp0_elvis_lhs = toName($this$flatMapRequests.y2e_1);
5512
+ var name = tmp0_elvis_lhs == null ? toName_0($this$flatMapRequests.v2e_1) + $this$flatMapRequests.x2e_1.q2_1 : tmp0_elvis_lhs;
5512
5513
  // Inline function 'kotlin.collections.flatMap' call
5513
5514
  // Inline function 'kotlin.collections.flatMapTo' call
5514
5515
  var destination = ArrayList_init_$Create$();
@@ -5535,12 +5536,12 @@ function parseParameters$lambda_0($this_parseParameters) {
5535
5536
  }
5536
5537
  function parseRequestBody$lambda_0($this_parseRequestBody) {
5537
5538
  return function ($this$flatMapRequests) {
5538
- var tmp = $this$flatMapRequests.v2e_1;
5539
+ var tmp = $this$flatMapRequests.y2e_1;
5539
5540
  var tmp0_elvis_lhs = toName(tmp instanceof OpenAPIV3Operation ? tmp : THROW_CCE());
5540
- var name = tmp0_elvis_lhs == null ? toName_0($this$flatMapRequests.s2e_1) + $this$flatMapRequests.u2e_1.q2_1 : tmp0_elvis_lhs;
5541
+ var name = tmp0_elvis_lhs == null ? toName_0($this$flatMapRequests.v2e_1) + $this$flatMapRequests.x2e_1.q2_1 : tmp0_elvis_lhs;
5541
5542
  // Inline function 'kotlin.collections.flatMap' call
5542
5543
  // Inline function 'kotlin.collections.orEmpty' call
5543
- var tmp1_safe_receiver = $this$flatMapRequests.v2e_1.g1u_1;
5544
+ var tmp1_safe_receiver = $this$flatMapRequests.y2e_1.g1u_1;
5544
5545
  var tmp_0;
5545
5546
  if (tmp1_safe_receiver == null) {
5546
5547
  tmp_0 = null;
@@ -5615,17 +5616,17 @@ function parseRequestBody$lambda_0($this_parseRequestBody) {
5615
5616
  }
5616
5617
  function parseResponseBody$lambda_0($this_parseResponseBody) {
5617
5618
  return function ($this$flatMapResponses) {
5618
- var tmp = $this$flatMapResponses.z2e_1;
5619
+ var tmp = $this$flatMapResponses.c2f_1;
5619
5620
  var tmp0_elvis_lhs = toName(tmp instanceof OpenAPIV3Operation ? tmp : THROW_CCE());
5620
- var name = tmp0_elvis_lhs == null ? toName_0($this$flatMapResponses.w2e_1) + $this$flatMapResponses.y2e_1.q2_1 : tmp0_elvis_lhs;
5621
- var tmp_0 = $this$flatMapResponses.b2f_1;
5621
+ var name = tmp0_elvis_lhs == null ? toName_0($this$flatMapResponses.z2e_1) + $this$flatMapResponses.b2f_1.q2_1 : tmp0_elvis_lhs;
5622
+ var tmp_0 = $this$flatMapResponses.e2f_1;
5622
5623
  var response = isInterface(tmp_0, OpenAPIV3ResponseOrReference) ? tmp_0 : THROW_CCE();
5623
5624
  var tmp_1;
5624
5625
  if (response instanceof OpenAPIV3Response) {
5625
- tmp_1 = flatMapResponse($this_parseResponseBody, response, name, $this$flatMapResponses.a2f_1);
5626
+ tmp_1 = flatMapResponse($this_parseResponseBody, response, name, $this$flatMapResponses.d2f_1);
5626
5627
  } else {
5627
5628
  if (response instanceof OpenAPIV3Reference) {
5628
- tmp_1 = flatMapResponse($this_parseResponseBody, resolveOpenAPIV3Response($this_parseResponseBody, response).fe_1, name, $this$flatMapResponses.a2f_1);
5629
+ tmp_1 = flatMapResponse($this_parseResponseBody, resolveOpenAPIV3Response($this_parseResponseBody, response).fe_1, name, $this$flatMapResponses.d2f_1);
5629
5630
  } else {
5630
5631
  noWhenBranchMatchedException();
5631
5632
  }