swagger-client 3.33.0 → 3.33.1
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/swagger-client.browser.js +139 -226
- package/dist/swagger-client.browser.min.js +1 -1
- package/dist/swagger-client.browser.min.js.map +1 -1
- package/es/index.js +1 -0
- package/es/resolver/strategies/openapi-3-1-apidom/resolve.js +1 -1
- package/lib/index.js +1 -0
- package/lib/resolver/strategies/openapi-3-1-apidom/resolve.js +1 -1
- package/package.json +2 -2
|
@@ -5990,7 +5990,7 @@ const resolveOpenAPI31Strategy = async options => {
|
|
|
5990
5990
|
} catch (error) {
|
|
5991
5991
|
if (error instanceof _swagger_api_apidom_json_pointer__WEBPACK_IMPORTED_MODULE_23__["default"] || error instanceof _swagger_api_apidom_json_pointer__WEBPACK_IMPORTED_MODULE_24__["default"]) {
|
|
5992
5992
|
return {
|
|
5993
|
-
spec
|
|
5993
|
+
spec,
|
|
5994
5994
|
errors: []
|
|
5995
5995
|
};
|
|
5996
5996
|
}
|
|
@@ -44838,6 +44838,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44838
44838
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
44839
44839
|
/* harmony export */ Grammar: () => (/* reexport safe */ _path_templating_mjs__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
44840
44840
|
/* harmony export */ encodePathComponent: () => (/* reexport safe */ _resolve_mjs__WEBPACK_IMPORTED_MODULE_3__.encodePathComponent),
|
|
44841
|
+
/* harmony export */ isIdentical: () => (/* reexport safe */ _predicates_mjs__WEBPACK_IMPORTED_MODULE_4__.isIdentical),
|
|
44841
44842
|
/* harmony export */ parse: () => (/* reexport safe */ _parse_index_mjs__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
44842
44843
|
/* harmony export */ resolve: () => (/* reexport safe */ _resolve_mjs__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
44843
44844
|
/* harmony export */ test: () => (/* reexport safe */ _test_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])
|
|
@@ -44846,6 +44847,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44846
44847
|
/* harmony import */ var _test_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(62674);
|
|
44847
44848
|
/* harmony import */ var _parse_index_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(10426);
|
|
44848
44849
|
/* harmony import */ var _resolve_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(97642);
|
|
44850
|
+
/* harmony import */ var _predicates_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(1604);
|
|
44851
|
+
|
|
44849
44852
|
|
|
44850
44853
|
|
|
44851
44854
|
|
|
@@ -45438,6 +45441,7 @@ function grammar() {
|
|
|
45438
45441
|
this.toString = function toString() {
|
|
45439
45442
|
let str = "";
|
|
45440
45443
|
str += "; OpenAPI Path Templating ABNF syntax\n";
|
|
45444
|
+
str += "; variant of https://datatracker.ietf.org/doc/html/rfc3986#section-3.3\n";
|
|
45441
45445
|
str += "path-template = slash *( path-segment slash ) [ path-segment ]\n";
|
|
45442
45446
|
str += "path-segment = 1*( path-literal / template-expression )\n";
|
|
45443
45447
|
str += "slash = \"/\"\n";
|
|
@@ -45445,14 +45449,17 @@ function grammar() {
|
|
|
45445
45449
|
str += "template-expression = \"{\" template-expression-param-name \"}\"\n";
|
|
45446
45450
|
str += "template-expression-param-name = 1*( %x00-7A / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI)\n";
|
|
45447
45451
|
str += "\n";
|
|
45448
|
-
str += ";
|
|
45452
|
+
str += "; https://datatracker.ietf.org/doc/html/rfc3986#section-3.3\n";
|
|
45449
45453
|
str += "pchar = unreserved / pct-encoded / sub-delims / \":\" / \"@\"\n";
|
|
45450
45454
|
str += "unreserved = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\"\n";
|
|
45455
|
+
str += " ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.3\n";
|
|
45451
45456
|
str += "pct-encoded = \"%\" HEXDIG HEXDIG\n";
|
|
45457
|
+
str += " ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.1\n";
|
|
45452
45458
|
str += "sub-delims = \"!\" / \"$\" / \"&\" / \"'\" / \"(\" / \")\"\n";
|
|
45453
45459
|
str += " / \"*\" / \"+\" / \",\" / \";\" / \"=\"\n";
|
|
45460
|
+
str += " ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.2\n";
|
|
45454
45461
|
str += "\n";
|
|
45455
|
-
str += ";
|
|
45462
|
+
str += "; https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1\n";
|
|
45456
45463
|
str += "ALPHA = %x41-5A / %x61-7A ; A-Z / a-z\n";
|
|
45457
45464
|
str += "DIGIT = %x30-39 ; 0-9\n";
|
|
45458
45465
|
str += "HEXDIG = DIGIT / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\"\n";
|
|
@@ -45462,6 +45469,40 @@ function grammar() {
|
|
|
45462
45469
|
|
|
45463
45470
|
/***/ }),
|
|
45464
45471
|
|
|
45472
|
+
/***/ 1604:
|
|
45473
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
45474
|
+
|
|
45475
|
+
"use strict";
|
|
45476
|
+
__webpack_require__.r(__webpack_exports__);
|
|
45477
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
45478
|
+
/* harmony export */ isIdentical: () => (/* binding */ isIdentical)
|
|
45479
|
+
/* harmony export */ });
|
|
45480
|
+
/* harmony import */ var _parse_index_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10426);
|
|
45481
|
+
|
|
45482
|
+
const isIdentical = (pathTemplate1, pathTemplate2) => {
|
|
45483
|
+
if (typeof pathTemplate1 !== 'string') return false;
|
|
45484
|
+
if (typeof pathTemplate2 !== 'string') return false;
|
|
45485
|
+
const parseResult1 = (0,_parse_index_mjs__WEBPACK_IMPORTED_MODULE_0__["default"])(pathTemplate1);
|
|
45486
|
+
const parseResult2 = (0,_parse_index_mjs__WEBPACK_IMPORTED_MODULE_0__["default"])(pathTemplate2);
|
|
45487
|
+
const parts1 = [];
|
|
45488
|
+
const parts2 = [];
|
|
45489
|
+
if (!parseResult1.result.success) return false;
|
|
45490
|
+
if (!parseResult2.result.success) return false;
|
|
45491
|
+
parseResult1.ast.translate(parts1);
|
|
45492
|
+
parseResult2.ast.translate(parts2);
|
|
45493
|
+
if (parts1.length !== parts2.length) return false;
|
|
45494
|
+
for (let i = 1; i < parts1.length; i++) {
|
|
45495
|
+
const [type1, value1] = parts1[i];
|
|
45496
|
+
const [type2, value2] = parts2[i];
|
|
45497
|
+
if (type1 !== type2) return false;
|
|
45498
|
+
if (type1 === 'template-expression' || type1 === 'template-expression-param-name') continue;
|
|
45499
|
+
if (value1 !== value2) return false;
|
|
45500
|
+
}
|
|
45501
|
+
return true;
|
|
45502
|
+
};
|
|
45503
|
+
|
|
45504
|
+
/***/ }),
|
|
45505
|
+
|
|
45465
45506
|
/***/ 97642:
|
|
45466
45507
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
45467
45508
|
|
|
@@ -45715,22 +45756,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
45715
45756
|
function grammar() {
|
|
45716
45757
|
// ```
|
|
45717
45758
|
// SUMMARY
|
|
45718
|
-
// rules =
|
|
45759
|
+
// rules = 9
|
|
45719
45760
|
// udts = 0
|
|
45720
|
-
// opcodes =
|
|
45761
|
+
// opcodes = 62
|
|
45721
45762
|
// --- ABNF original opcodes
|
|
45722
|
-
// ALT =
|
|
45763
|
+
// ALT = 6
|
|
45723
45764
|
// CAT = 2
|
|
45724
45765
|
// REP = 3
|
|
45725
|
-
// RNM =
|
|
45726
|
-
// TLS =
|
|
45766
|
+
// RNM = 9
|
|
45767
|
+
// TLS = 9
|
|
45727
45768
|
// TBS = 6
|
|
45728
45769
|
// TRG = 27
|
|
45729
45770
|
// --- SABNF superset opcodes
|
|
45730
45771
|
// UDT = 0
|
|
45731
45772
|
// AND = 0
|
|
45732
45773
|
// NOT = 0
|
|
45733
|
-
// characters = [
|
|
45774
|
+
// characters = [0 - 1114111]
|
|
45734
45775
|
// ```
|
|
45735
45776
|
/* OBJECT IDENTIFIER (for internal parser use) */
|
|
45736
45777
|
this.grammarObject = 'grammarObject';
|
|
@@ -45762,51 +45803,33 @@ function grammar() {
|
|
|
45762
45803
|
isBkr: false
|
|
45763
45804
|
};
|
|
45764
45805
|
this.rules[4] = {
|
|
45765
|
-
name: 'ALPHA',
|
|
45766
|
-
lower: 'alpha',
|
|
45767
|
-
index: 4,
|
|
45768
|
-
isBkr: false
|
|
45769
|
-
};
|
|
45770
|
-
this.rules[5] = {
|
|
45771
45806
|
name: 'DIGIT',
|
|
45772
45807
|
lower: 'digit',
|
|
45773
|
-
index:
|
|
45808
|
+
index: 4,
|
|
45774
45809
|
isBkr: false
|
|
45775
45810
|
};
|
|
45776
|
-
this.rules[
|
|
45811
|
+
this.rules[5] = {
|
|
45777
45812
|
name: 'HEXDIG',
|
|
45778
45813
|
lower: 'hexdig',
|
|
45779
|
-
index:
|
|
45814
|
+
index: 5,
|
|
45780
45815
|
isBkr: false
|
|
45781
45816
|
};
|
|
45782
|
-
this.rules[
|
|
45817
|
+
this.rules[6] = {
|
|
45783
45818
|
name: 'pct-encoded',
|
|
45784
45819
|
lower: 'pct-encoded',
|
|
45785
|
-
index:
|
|
45786
|
-
isBkr: false
|
|
45787
|
-
};
|
|
45788
|
-
this.rules[8] = {
|
|
45789
|
-
name: 'unreserved',
|
|
45790
|
-
lower: 'unreserved',
|
|
45791
|
-
index: 8,
|
|
45792
|
-
isBkr: false
|
|
45793
|
-
};
|
|
45794
|
-
this.rules[9] = {
|
|
45795
|
-
name: 'sub-delims',
|
|
45796
|
-
lower: 'sub-delims',
|
|
45797
|
-
index: 9,
|
|
45820
|
+
index: 6,
|
|
45798
45821
|
isBkr: false
|
|
45799
45822
|
};
|
|
45800
|
-
this.rules[
|
|
45823
|
+
this.rules[7] = {
|
|
45801
45824
|
name: 'ucschar',
|
|
45802
45825
|
lower: 'ucschar',
|
|
45803
|
-
index:
|
|
45826
|
+
index: 7,
|
|
45804
45827
|
isBkr: false
|
|
45805
45828
|
};
|
|
45806
|
-
this.rules[
|
|
45829
|
+
this.rules[8] = {
|
|
45807
45830
|
name: 'iprivate',
|
|
45808
45831
|
lower: 'iprivate',
|
|
45809
|
-
index:
|
|
45832
|
+
index: 8,
|
|
45810
45833
|
isBkr: false
|
|
45811
45834
|
};
|
|
45812
45835
|
|
|
@@ -45862,28 +45885,22 @@ function grammar() {
|
|
|
45862
45885
|
}; // REP
|
|
45863
45886
|
this.rules[2].opcodes[1] = {
|
|
45864
45887
|
type: 1,
|
|
45865
|
-
children: [2, 3, 4
|
|
45888
|
+
children: [2, 3, 4]
|
|
45866
45889
|
}; // ALT
|
|
45867
45890
|
this.rules[2].opcodes[2] = {
|
|
45868
|
-
type:
|
|
45869
|
-
|
|
45870
|
-
|
|
45891
|
+
type: 5,
|
|
45892
|
+
min: 0,
|
|
45893
|
+
max: 122
|
|
45894
|
+
}; // TRG
|
|
45871
45895
|
this.rules[2].opcodes[3] = {
|
|
45872
|
-
type:
|
|
45873
|
-
|
|
45874
|
-
}; //
|
|
45896
|
+
type: 6,
|
|
45897
|
+
string: [124]
|
|
45898
|
+
}; // TBS
|
|
45875
45899
|
this.rules[2].opcodes[4] = {
|
|
45876
|
-
type:
|
|
45877
|
-
|
|
45878
|
-
|
|
45879
|
-
|
|
45880
|
-
type: 7,
|
|
45881
|
-
string: [58]
|
|
45882
|
-
}; // TLS
|
|
45883
|
-
this.rules[2].opcodes[6] = {
|
|
45884
|
-
type: 7,
|
|
45885
|
-
string: [64]
|
|
45886
|
-
}; // TLS
|
|
45900
|
+
type: 5,
|
|
45901
|
+
min: 126,
|
|
45902
|
+
max: 1114111
|
|
45903
|
+
}; // TRG
|
|
45887
45904
|
|
|
45888
45905
|
/* literals */
|
|
45889
45906
|
this.rules[3].opcodes = [];
|
|
@@ -45894,7 +45911,7 @@ function grammar() {
|
|
|
45894
45911
|
}; // REP
|
|
45895
45912
|
this.rules[3].opcodes[1] = {
|
|
45896
45913
|
type: 1,
|
|
45897
|
-
children: [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
|
|
45914
|
+
children: [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
|
|
45898
45915
|
}; // ALT
|
|
45899
45916
|
this.rules[3].opcodes[2] = {
|
|
45900
45917
|
type: 6,
|
|
@@ -45906,323 +45923,220 @@ function grammar() {
|
|
|
45906
45923
|
max: 36
|
|
45907
45924
|
}; // TRG
|
|
45908
45925
|
this.rules[3].opcodes[4] = {
|
|
45909
|
-
type: 6,
|
|
45910
|
-
string: [38]
|
|
45911
|
-
}; // TBS
|
|
45912
|
-
this.rules[3].opcodes[5] = {
|
|
45913
45926
|
type: 5,
|
|
45914
|
-
min:
|
|
45927
|
+
min: 38,
|
|
45915
45928
|
max: 59
|
|
45916
45929
|
}; // TRG
|
|
45917
|
-
this.rules[3].opcodes[
|
|
45930
|
+
this.rules[3].opcodes[5] = {
|
|
45918
45931
|
type: 6,
|
|
45919
45932
|
string: [61]
|
|
45920
45933
|
}; // TBS
|
|
45921
|
-
this.rules[3].opcodes[
|
|
45934
|
+
this.rules[3].opcodes[6] = {
|
|
45922
45935
|
type: 5,
|
|
45923
45936
|
min: 63,
|
|
45924
45937
|
max: 91
|
|
45925
45938
|
}; // TRG
|
|
45926
|
-
this.rules[3].opcodes[
|
|
45939
|
+
this.rules[3].opcodes[7] = {
|
|
45927
45940
|
type: 6,
|
|
45928
45941
|
string: [93]
|
|
45929
45942
|
}; // TBS
|
|
45930
|
-
this.rules[3].opcodes[
|
|
45943
|
+
this.rules[3].opcodes[8] = {
|
|
45931
45944
|
type: 6,
|
|
45932
45945
|
string: [95]
|
|
45933
45946
|
}; // TBS
|
|
45934
|
-
this.rules[3].opcodes[
|
|
45947
|
+
this.rules[3].opcodes[9] = {
|
|
45935
45948
|
type: 5,
|
|
45936
45949
|
min: 97,
|
|
45937
45950
|
max: 122
|
|
45938
45951
|
}; // TRG
|
|
45939
|
-
this.rules[3].opcodes[
|
|
45952
|
+
this.rules[3].opcodes[10] = {
|
|
45940
45953
|
type: 6,
|
|
45941
45954
|
string: [126]
|
|
45942
45955
|
}; // TBS
|
|
45943
|
-
this.rules[3].opcodes[
|
|
45956
|
+
this.rules[3].opcodes[11] = {
|
|
45944
45957
|
type: 4,
|
|
45945
|
-
index:
|
|
45958
|
+
index: 7
|
|
45946
45959
|
}; // RNM(ucschar)
|
|
45947
|
-
this.rules[3].opcodes[
|
|
45960
|
+
this.rules[3].opcodes[12] = {
|
|
45948
45961
|
type: 4,
|
|
45949
|
-
index:
|
|
45962
|
+
index: 8
|
|
45950
45963
|
}; // RNM(iprivate)
|
|
45951
|
-
this.rules[3].opcodes[
|
|
45964
|
+
this.rules[3].opcodes[13] = {
|
|
45952
45965
|
type: 4,
|
|
45953
|
-
index:
|
|
45966
|
+
index: 6
|
|
45954
45967
|
}; // RNM(pct-encoded)
|
|
45955
45968
|
|
|
45956
|
-
/*
|
|
45969
|
+
/* DIGIT */
|
|
45957
45970
|
this.rules[4].opcodes = [];
|
|
45958
45971
|
this.rules[4].opcodes[0] = {
|
|
45959
|
-
type: 1,
|
|
45960
|
-
children: [1, 2]
|
|
45961
|
-
}; // ALT
|
|
45962
|
-
this.rules[4].opcodes[1] = {
|
|
45963
|
-
type: 5,
|
|
45964
|
-
min: 65,
|
|
45965
|
-
max: 90
|
|
45966
|
-
}; // TRG
|
|
45967
|
-
this.rules[4].opcodes[2] = {
|
|
45968
|
-
type: 5,
|
|
45969
|
-
min: 97,
|
|
45970
|
-
max: 122
|
|
45971
|
-
}; // TRG
|
|
45972
|
-
|
|
45973
|
-
/* DIGIT */
|
|
45974
|
-
this.rules[5].opcodes = [];
|
|
45975
|
-
this.rules[5].opcodes[0] = {
|
|
45976
45972
|
type: 5,
|
|
45977
45973
|
min: 48,
|
|
45978
45974
|
max: 57
|
|
45979
45975
|
}; // TRG
|
|
45980
45976
|
|
|
45981
45977
|
/* HEXDIG */
|
|
45982
|
-
this.rules[
|
|
45983
|
-
this.rules[
|
|
45978
|
+
this.rules[5].opcodes = [];
|
|
45979
|
+
this.rules[5].opcodes[0] = {
|
|
45984
45980
|
type: 1,
|
|
45985
45981
|
children: [1, 2, 3, 4, 5, 6, 7]
|
|
45986
45982
|
}; // ALT
|
|
45987
|
-
this.rules[
|
|
45983
|
+
this.rules[5].opcodes[1] = {
|
|
45988
45984
|
type: 4,
|
|
45989
|
-
index:
|
|
45985
|
+
index: 4
|
|
45990
45986
|
}; // RNM(DIGIT)
|
|
45991
|
-
this.rules[
|
|
45987
|
+
this.rules[5].opcodes[2] = {
|
|
45992
45988
|
type: 7,
|
|
45993
45989
|
string: [97]
|
|
45994
45990
|
}; // TLS
|
|
45995
|
-
this.rules[
|
|
45991
|
+
this.rules[5].opcodes[3] = {
|
|
45996
45992
|
type: 7,
|
|
45997
45993
|
string: [98]
|
|
45998
45994
|
}; // TLS
|
|
45999
|
-
this.rules[
|
|
45995
|
+
this.rules[5].opcodes[4] = {
|
|
46000
45996
|
type: 7,
|
|
46001
45997
|
string: [99]
|
|
46002
45998
|
}; // TLS
|
|
46003
|
-
this.rules[
|
|
45999
|
+
this.rules[5].opcodes[5] = {
|
|
46004
46000
|
type: 7,
|
|
46005
46001
|
string: [100]
|
|
46006
46002
|
}; // TLS
|
|
46007
|
-
this.rules[
|
|
46003
|
+
this.rules[5].opcodes[6] = {
|
|
46008
46004
|
type: 7,
|
|
46009
46005
|
string: [101]
|
|
46010
46006
|
}; // TLS
|
|
46011
|
-
this.rules[
|
|
46007
|
+
this.rules[5].opcodes[7] = {
|
|
46012
46008
|
type: 7,
|
|
46013
46009
|
string: [102]
|
|
46014
46010
|
}; // TLS
|
|
46015
46011
|
|
|
46016
46012
|
/* pct-encoded */
|
|
46017
|
-
this.rules[
|
|
46018
|
-
this.rules[
|
|
46013
|
+
this.rules[6].opcodes = [];
|
|
46014
|
+
this.rules[6].opcodes[0] = {
|
|
46019
46015
|
type: 2,
|
|
46020
46016
|
children: [1, 2, 3]
|
|
46021
46017
|
}; // CAT
|
|
46022
|
-
this.rules[
|
|
46018
|
+
this.rules[6].opcodes[1] = {
|
|
46023
46019
|
type: 7,
|
|
46024
46020
|
string: [37]
|
|
46025
46021
|
}; // TLS
|
|
46026
|
-
this.rules[
|
|
46027
|
-
type: 4,
|
|
46028
|
-
index: 6
|
|
46029
|
-
}; // RNM(HEXDIG)
|
|
46030
|
-
this.rules[7].opcodes[3] = {
|
|
46022
|
+
this.rules[6].opcodes[2] = {
|
|
46031
46023
|
type: 4,
|
|
46032
|
-
index:
|
|
46024
|
+
index: 5
|
|
46033
46025
|
}; // RNM(HEXDIG)
|
|
46034
|
-
|
|
46035
|
-
/* unreserved */
|
|
46036
|
-
this.rules[8].opcodes = [];
|
|
46037
|
-
this.rules[8].opcodes[0] = {
|
|
46038
|
-
type: 1,
|
|
46039
|
-
children: [1, 2, 3, 4, 5, 6]
|
|
46040
|
-
}; // ALT
|
|
46041
|
-
this.rules[8].opcodes[1] = {
|
|
46042
|
-
type: 4,
|
|
46043
|
-
index: 4
|
|
46044
|
-
}; // RNM(ALPHA)
|
|
46045
|
-
this.rules[8].opcodes[2] = {
|
|
46026
|
+
this.rules[6].opcodes[3] = {
|
|
46046
46027
|
type: 4,
|
|
46047
46028
|
index: 5
|
|
46048
|
-
}; // RNM(
|
|
46049
|
-
this.rules[8].opcodes[3] = {
|
|
46050
|
-
type: 7,
|
|
46051
|
-
string: [45]
|
|
46052
|
-
}; // TLS
|
|
46053
|
-
this.rules[8].opcodes[4] = {
|
|
46054
|
-
type: 7,
|
|
46055
|
-
string: [46]
|
|
46056
|
-
}; // TLS
|
|
46057
|
-
this.rules[8].opcodes[5] = {
|
|
46058
|
-
type: 7,
|
|
46059
|
-
string: [95]
|
|
46060
|
-
}; // TLS
|
|
46061
|
-
this.rules[8].opcodes[6] = {
|
|
46062
|
-
type: 7,
|
|
46063
|
-
string: [126]
|
|
46064
|
-
}; // TLS
|
|
46065
|
-
|
|
46066
|
-
/* sub-delims */
|
|
46067
|
-
this.rules[9].opcodes = [];
|
|
46068
|
-
this.rules[9].opcodes[0] = {
|
|
46069
|
-
type: 1,
|
|
46070
|
-
children: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
|
|
46071
|
-
}; // ALT
|
|
46072
|
-
this.rules[9].opcodes[1] = {
|
|
46073
|
-
type: 7,
|
|
46074
|
-
string: [33]
|
|
46075
|
-
}; // TLS
|
|
46076
|
-
this.rules[9].opcodes[2] = {
|
|
46077
|
-
type: 7,
|
|
46078
|
-
string: [36]
|
|
46079
|
-
}; // TLS
|
|
46080
|
-
this.rules[9].opcodes[3] = {
|
|
46081
|
-
type: 7,
|
|
46082
|
-
string: [38]
|
|
46083
|
-
}; // TLS
|
|
46084
|
-
this.rules[9].opcodes[4] = {
|
|
46085
|
-
type: 7,
|
|
46086
|
-
string: [39]
|
|
46087
|
-
}; // TLS
|
|
46088
|
-
this.rules[9].opcodes[5] = {
|
|
46089
|
-
type: 7,
|
|
46090
|
-
string: [40]
|
|
46091
|
-
}; // TLS
|
|
46092
|
-
this.rules[9].opcodes[6] = {
|
|
46093
|
-
type: 7,
|
|
46094
|
-
string: [41]
|
|
46095
|
-
}; // TLS
|
|
46096
|
-
this.rules[9].opcodes[7] = {
|
|
46097
|
-
type: 7,
|
|
46098
|
-
string: [42]
|
|
46099
|
-
}; // TLS
|
|
46100
|
-
this.rules[9].opcodes[8] = {
|
|
46101
|
-
type: 7,
|
|
46102
|
-
string: [43]
|
|
46103
|
-
}; // TLS
|
|
46104
|
-
this.rules[9].opcodes[9] = {
|
|
46105
|
-
type: 7,
|
|
46106
|
-
string: [44]
|
|
46107
|
-
}; // TLS
|
|
46108
|
-
this.rules[9].opcodes[10] = {
|
|
46109
|
-
type: 7,
|
|
46110
|
-
string: [59]
|
|
46111
|
-
}; // TLS
|
|
46112
|
-
this.rules[9].opcodes[11] = {
|
|
46113
|
-
type: 7,
|
|
46114
|
-
string: [61]
|
|
46115
|
-
}; // TLS
|
|
46029
|
+
}; // RNM(HEXDIG)
|
|
46116
46030
|
|
|
46117
46031
|
/* ucschar */
|
|
46118
|
-
this.rules[
|
|
46119
|
-
this.rules[
|
|
46032
|
+
this.rules[7].opcodes = [];
|
|
46033
|
+
this.rules[7].opcodes[0] = {
|
|
46120
46034
|
type: 1,
|
|
46121
46035
|
children: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
|
|
46122
46036
|
}; // ALT
|
|
46123
|
-
this.rules[
|
|
46037
|
+
this.rules[7].opcodes[1] = {
|
|
46124
46038
|
type: 5,
|
|
46125
46039
|
min: 160,
|
|
46126
46040
|
max: 55295
|
|
46127
46041
|
}; // TRG
|
|
46128
|
-
this.rules[
|
|
46042
|
+
this.rules[7].opcodes[2] = {
|
|
46129
46043
|
type: 5,
|
|
46130
46044
|
min: 63744,
|
|
46131
46045
|
max: 64975
|
|
46132
46046
|
}; // TRG
|
|
46133
|
-
this.rules[
|
|
46047
|
+
this.rules[7].opcodes[3] = {
|
|
46134
46048
|
type: 5,
|
|
46135
46049
|
min: 65008,
|
|
46136
46050
|
max: 65519
|
|
46137
46051
|
}; // TRG
|
|
46138
|
-
this.rules[
|
|
46052
|
+
this.rules[7].opcodes[4] = {
|
|
46139
46053
|
type: 5,
|
|
46140
46054
|
min: 65536,
|
|
46141
46055
|
max: 131069
|
|
46142
46056
|
}; // TRG
|
|
46143
|
-
this.rules[
|
|
46057
|
+
this.rules[7].opcodes[5] = {
|
|
46144
46058
|
type: 5,
|
|
46145
46059
|
min: 131072,
|
|
46146
46060
|
max: 196605
|
|
46147
46061
|
}; // TRG
|
|
46148
|
-
this.rules[
|
|
46062
|
+
this.rules[7].opcodes[6] = {
|
|
46149
46063
|
type: 5,
|
|
46150
46064
|
min: 196608,
|
|
46151
46065
|
max: 262141
|
|
46152
46066
|
}; // TRG
|
|
46153
|
-
this.rules[
|
|
46067
|
+
this.rules[7].opcodes[7] = {
|
|
46154
46068
|
type: 5,
|
|
46155
46069
|
min: 262144,
|
|
46156
46070
|
max: 327677
|
|
46157
46071
|
}; // TRG
|
|
46158
|
-
this.rules[
|
|
46072
|
+
this.rules[7].opcodes[8] = {
|
|
46159
46073
|
type: 5,
|
|
46160
46074
|
min: 327680,
|
|
46161
46075
|
max: 393213
|
|
46162
46076
|
}; // TRG
|
|
46163
|
-
this.rules[
|
|
46077
|
+
this.rules[7].opcodes[9] = {
|
|
46164
46078
|
type: 5,
|
|
46165
46079
|
min: 393216,
|
|
46166
46080
|
max: 458749
|
|
46167
46081
|
}; // TRG
|
|
46168
|
-
this.rules[
|
|
46082
|
+
this.rules[7].opcodes[10] = {
|
|
46169
46083
|
type: 5,
|
|
46170
46084
|
min: 458752,
|
|
46171
46085
|
max: 524285
|
|
46172
46086
|
}; // TRG
|
|
46173
|
-
this.rules[
|
|
46087
|
+
this.rules[7].opcodes[11] = {
|
|
46174
46088
|
type: 5,
|
|
46175
46089
|
min: 524288,
|
|
46176
46090
|
max: 589821
|
|
46177
46091
|
}; // TRG
|
|
46178
|
-
this.rules[
|
|
46092
|
+
this.rules[7].opcodes[12] = {
|
|
46179
46093
|
type: 5,
|
|
46180
46094
|
min: 589824,
|
|
46181
46095
|
max: 655357
|
|
46182
46096
|
}; // TRG
|
|
46183
|
-
this.rules[
|
|
46097
|
+
this.rules[7].opcodes[13] = {
|
|
46184
46098
|
type: 5,
|
|
46185
46099
|
min: 655360,
|
|
46186
46100
|
max: 720893
|
|
46187
46101
|
}; // TRG
|
|
46188
|
-
this.rules[
|
|
46102
|
+
this.rules[7].opcodes[14] = {
|
|
46189
46103
|
type: 5,
|
|
46190
46104
|
min: 720896,
|
|
46191
46105
|
max: 786429
|
|
46192
46106
|
}; // TRG
|
|
46193
|
-
this.rules[
|
|
46107
|
+
this.rules[7].opcodes[15] = {
|
|
46194
46108
|
type: 5,
|
|
46195
46109
|
min: 786432,
|
|
46196
46110
|
max: 851965
|
|
46197
46111
|
}; // TRG
|
|
46198
|
-
this.rules[
|
|
46112
|
+
this.rules[7].opcodes[16] = {
|
|
46199
46113
|
type: 5,
|
|
46200
46114
|
min: 851968,
|
|
46201
46115
|
max: 917501
|
|
46202
46116
|
}; // TRG
|
|
46203
|
-
this.rules[
|
|
46117
|
+
this.rules[7].opcodes[17] = {
|
|
46204
46118
|
type: 5,
|
|
46205
46119
|
min: 921600,
|
|
46206
46120
|
max: 983037
|
|
46207
46121
|
}; // TRG
|
|
46208
46122
|
|
|
46209
46123
|
/* iprivate */
|
|
46210
|
-
this.rules[
|
|
46211
|
-
this.rules[
|
|
46124
|
+
this.rules[8].opcodes = [];
|
|
46125
|
+
this.rules[8].opcodes[0] = {
|
|
46212
46126
|
type: 1,
|
|
46213
46127
|
children: [1, 2, 3]
|
|
46214
46128
|
}; // ALT
|
|
46215
|
-
this.rules[
|
|
46129
|
+
this.rules[8].opcodes[1] = {
|
|
46216
46130
|
type: 5,
|
|
46217
46131
|
min: 57344,
|
|
46218
46132
|
max: 63743
|
|
46219
46133
|
}; // TRG
|
|
46220
|
-
this.rules[
|
|
46134
|
+
this.rules[8].opcodes[2] = {
|
|
46221
46135
|
type: 5,
|
|
46222
46136
|
min: 983040,
|
|
46223
46137
|
max: 1048573
|
|
46224
46138
|
}; // TRG
|
|
46225
|
-
this.rules[
|
|
46139
|
+
this.rules[8].opcodes[3] = {
|
|
46226
46140
|
type: 5,
|
|
46227
46141
|
min: 1048576,
|
|
46228
46142
|
max: 1114109
|
|
@@ -46232,26 +46146,24 @@ function grammar() {
|
|
|
46232
46146
|
this.toString = function toString() {
|
|
46233
46147
|
let str = "";
|
|
46234
46148
|
str += "; OpenAPI Server URL templating ABNF syntax\n";
|
|
46235
|
-
str += "server-url-template = 1*( literals / server-variable )\n";
|
|
46149
|
+
str += "server-url-template = 1*( literals / server-variable ) ; variant of https://www.rfc-editor.org/rfc/rfc6570#section-2\n";
|
|
46236
46150
|
str += "server-variable = \"{\" server-variable-name \"}\"\n";
|
|
46237
|
-
str += "server-variable-name = 1*(
|
|
46238
|
-
str += "
|
|
46151
|
+
str += "server-variable-name = 1*( %x00-7A / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI)\n";
|
|
46152
|
+
str += "\n";
|
|
46153
|
+
str += "; https://www.rfc-editor.org/rfc/rfc6570#section-2.1\n";
|
|
46154
|
+
str += "; https://www.rfc-editor.org/errata/eid6937\n";
|
|
46155
|
+
str += "literals = 1*( %x21 / %x23-24 / %x26-3B / %x3D / %x3F-5B\n";
|
|
46239
46156
|
str += " / %x5D / %x5F / %x61-7A / %x7E / ucschar / iprivate\n";
|
|
46240
46157
|
str += " / pct-encoded)\n";
|
|
46241
|
-
str += "
|
|
46242
|
-
str += "
|
|
46243
|
-
str += "
|
|
46158
|
+
str += " ; any Unicode character except: CTL, SP,\n";
|
|
46159
|
+
str += " ; DQUOTE, \"%\" (aside from pct-encoded),\n";
|
|
46160
|
+
str += " ; \"<\", \">\", \"\\\", \"^\", \"`\", \"{\", \"|\", \"}\"\n";
|
|
46244
46161
|
str += "\n";
|
|
46245
|
-
str += ";
|
|
46246
|
-
str += "ALPHA = %x41-5A / %x61-7A ; A-Z / a-z\n";
|
|
46162
|
+
str += "; https://www.rfc-editor.org/rfc/rfc6570#section-1.5\n";
|
|
46247
46163
|
str += "DIGIT = %x30-39 ; 0-9\n";
|
|
46248
|
-
str += "HEXDIG = DIGIT / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\"\n";
|
|
46249
|
-
str += " ; case-insensitive\n";
|
|
46164
|
+
str += "HEXDIG = DIGIT / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\" ; case-insensitive\n";
|
|
46250
46165
|
str += "\n";
|
|
46251
46166
|
str += "pct-encoded = \"%\" HEXDIG HEXDIG\n";
|
|
46252
|
-
str += "unreserved = ALPHA / DIGIT / \"-\" / \".\" / \"_\" / \"~\"\n";
|
|
46253
|
-
str += "sub-delims = \"!\" / \"$\" / \"&\" / \"'\" / \"(\" / \")\"\n";
|
|
46254
|
-
str += " / \"*\" / \"+\" / \",\" / \";\" / \"=\"\n";
|
|
46255
46167
|
str += "\n";
|
|
46256
46168
|
str += "ucschar = %xA0-D7FF / %xF900-FDCF / %xFDF0-FFEF\n";
|
|
46257
46169
|
str += " / %x10000-1FFFD / %x20000-2FFFD / %x30000-3FFFD\n";
|
|
@@ -54171,6 +54083,7 @@ src_Swagger.prototype = {
|
|
|
54171
54083
|
useCircularStructures: this.useCircularStructures,
|
|
54172
54084
|
requestInterceptor: this.requestInterceptor || null,
|
|
54173
54085
|
responseInterceptor: this.responseInterceptor || null,
|
|
54086
|
+
pathDiscriminator: this.pathDiscriminator || [],
|
|
54174
54087
|
skipNormalization: this.skipNormalization || false,
|
|
54175
54088
|
...options
|
|
54176
54089
|
}).then(obj => {
|