Skip to content

Commit

Permalink
New spec, new code
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerlong committed Feb 10, 2025
1 parent 0282eac commit cdb88c7
Show file tree
Hide file tree
Showing 95 changed files with 4,989 additions and 5,706 deletions.
6 changes: 3 additions & 3 deletions code-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
"lower-case-first": "^3.0.0",
"openapi-types": "^12.1.3",
"ramda": "^0.30.1",
"ringcentral-open-api-parser": "^0.15.1"
"ringcentral-open-api-parser": "^0.15.3"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.10.2",
"@types/node": "^22.13.1",
"@types/ramda": "^0.30.2",
"dotenv-override-true": "^6.2.2",
"ts-node": "^10.9.2",
"typescript": "^5.7.2",
"typescript": "^5.7.3",
"yarn-upgrade-all": "^0.7.4"
},
"yarn-upgrade-all": {
Expand Down
4 changes: 3 additions & 1 deletion code-generator/src/paths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ for (const item of parsed.paths) {
.map((p) => {
if (p === "default") {
return "default1";
} else if (p === "public") {
return "public1";
}
return p;
})
Expand Down Expand Up @@ -325,7 +327,7 @@ ${code}`;
patchSrcFile(
[
"paths",
...R.init(item.paths).map((item) => camelCase(item).toLowerCase()),
...R.init(itemPaths).map((item) => camelCase(item).toLowerCase()),
"Index.java",
],
[],
Expand Down
24 changes: 12 additions & 12 deletions code-generator/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
resolved "https://registry.yarnpkg.com/@types/js-yaml/-/js-yaml-4.0.9.tgz#cd82382c4f902fed9691a2ed79ec68c5898af4c2"
integrity sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==

"@types/node@^22.10.2":
version "22.10.2"
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.10.2.tgz#a485426e6d1fdafc7b0d4c7b24e2c78182ddabb9"
integrity sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==
"@types/node@^22.13.1":
version "22.13.1"
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.13.1.tgz#a2a3fefbdeb7ba6b89f40371842162fac0934f33"
integrity sha512-jK8uzQlrvXqEU91UxiK5J7pKHyzgnI1Qnl0QDHIgVGuolJhRb9EEl28Cj9b3rGR8B2lhFCtvIm5os8lFnO/1Ew==
dependencies:
undici-types "~6.20.0"

Expand Down Expand Up @@ -237,10 +237,10 @@ ramda@^0.30.1:
resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.30.1.tgz#7108ac95673062b060025052cd5143ae8fc605bf"
integrity sha512-tEF5I22zJnuclswcZMc8bDIrwRHRzf+NqVEmqg50ShAZMP7MWeR/RGDthfM/p+BlqvF2fXAzpn8i+SJcYD3alw==

ringcentral-open-api-parser@^0.15.1:
version "0.15.1"
resolved "https://registry.yarnpkg.com/ringcentral-open-api-parser/-/ringcentral-open-api-parser-0.15.1.tgz#7061fa45c3f4ff36e2e68849c05dccf65918d0f6"
integrity sha512-kdlZ/dwOH2wCczjoySrG/+hMjbtJFwveC3WXINwPCD/rGyxLjuJ73MelllqXgyJmI3444fD19KPtLg+7AoCY4g==
ringcentral-open-api-parser@^0.15.3:
version "0.15.3"
resolved "https://registry.yarnpkg.com/ringcentral-open-api-parser/-/ringcentral-open-api-parser-0.15.3.tgz#13e9fe2eadaa7c110ca1c0d6dfe5d070e0bb26d0"
integrity sha512-3jnsXcqRJdZP/s2nuXowYJhpHpufGnB/Md1L5LGJTig6xk+ZX1V3utBXrzzRBzdRpmC8orqKC+VVvYe5z88kgw==
dependencies:
js-yaml "^4.1.0"
lodash "^4.17.21"
Expand Down Expand Up @@ -299,10 +299,10 @@ types-ramda@^0.30.1:
dependencies:
ts-toolbelt "^9.6.0"

typescript@^5.7.2:
version "5.7.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.2.tgz#3169cf8c4c8a828cde53ba9ecb3d2b1d5dd67be6"
integrity sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==
typescript@^5.7.3:
version "5.7.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.7.3.tgz#919b44a7dbb8583a9b856d162be24a54bf80073e"
integrity sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==

undici-types@~6.20.0:
version "6.20.0"
Expand Down
Loading

0 comments on commit cdb88c7

Please sign in to comment.