[tsp-client] Revert openapi-to-typespec changes (#8833)

* revert 310645b86b

* changelog update

* changelog date

---------

Co-authored-by: Catalina Peralta <caperal@microsoft.com>
This commit is contained in:
catalinaperalta 2024-08-13 16:01:52 -07:00 коммит произвёл GitHub
Родитель 6829db8a49
Коммит 0c1b964d0a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
4 изменённых файлов: 242 добавлений и 244 удалений

Просмотреть файл

@ -1,11 +1,10 @@
# Release
## 2024-08-12 - 0.11.2
## 2024-08-13 - 0.11.2
- Fix `--version` flag. (#8814)
- Added `compare` command to compare a hand-authored Swagger to a TypeSpec-generated Swagger to understand the relevant differences between them.
- Floating `@azure-tools/typespec-autorest` dependency from `>=0.44.0 <1.0.0`.
- Bump `@autorest/openapi-to-typespec` dependency to `0.9.0`.
## 2024-08-08 - 0.11.1

480
tools/tsp-client/package-lock.json сгенерированный
Просмотреть файл

@ -10,7 +10,7 @@
"license": "MIT",
"dependencies": {
"@autorest/csharp": "https://aka.ms/azsdk/openapi-to-typespec-csharp",
"@autorest/openapi-to-typespec": "0.9.0",
"@autorest/openapi-to-typespec": "0.8.2",
"@azure-tools/rest-api-diff": "^0.1.0",
"@azure-tools/typespec-autorest": ">=0.44.0 <1.0.0",
"@azure/core-rest-pipeline": "^1.12.0",
@ -47,11 +47,6 @@
"@typespec/compiler": ">=0.58.0 <1.0.0"
}
},
"node_modules/@apidevtools/swagger-methods": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/@apidevtools/swagger-methods/-/swagger-methods-3.0.2.tgz",
"integrity": "sha512-QAkD5kK2b1WfjDS/UQn/qQkbwF31uqRjPTrsCs5ZG9BQGAkjwvqGFjjPqAuzac/IYzpPtRzjCP1WrTuAIjMrXg=="
},
"node_modules/@autorest/codemodel": {
"version": "4.20.0",
"resolved": "https://registry.npmjs.org/@autorest/codemodel/-/codemodel-4.20.0.tgz",
@ -83,29 +78,219 @@
}
},
"node_modules/@autorest/openapi-to-typespec": {
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/@autorest/openapi-to-typespec/-/openapi-to-typespec-0.9.0.tgz",
"integrity": "sha512-dn5lirPkkOxD5XpJCMsSWcb/jiUuHg5VCllqzTvx9n2o4y8dqELOHuRhY3y6eMCVWvp2MG9xSXJ3mO06JIrA5w==",
"version": "0.8.2",
"resolved": "https://registry.npmjs.org/@autorest/openapi-to-typespec/-/openapi-to-typespec-0.8.2.tgz",
"integrity": "sha512-8O3FEtnK2NHk6KdsT0L2AR7ILXffsPrJs3jYVcyeVF3mh73N9Bmk6EssK9a9Jz9tTeDhEjTBguiy2hVv5xVipg==",
"dependencies": {
"@autorest/codemodel": "~4.20.0",
"@autorest/extension-base": "~3.6.0",
"@azure-tools/codegen": "~2.10.0",
"@azure-tools/typespec-autorest": "^0.44.0",
"@azure-tools/typespec-azure-core": "^0.44.0",
"@azure-tools/typespec-azure-resource-manager": "^0.44.0",
"@typespec/compiler": "^0.58.0",
"@typespec/http": "^0.58.0",
"@typespec/openapi": "^0.58.0",
"@typespec/openapi3": "^0.58.0",
"@typespec/prettier-plugin-typespec": "^0.58.0",
"@typespec/rest": "^0.58.0",
"@typespec/versioning": "^0.58.0",
"@azure-tools/typespec-autorest": "^0.43.0",
"@azure-tools/typespec-azure-core": "^0.43.0",
"@azure-tools/typespec-azure-resource-manager": "^0.43.0",
"@typespec/compiler": "^0.57.0",
"@typespec/http": "^0.57.0",
"@typespec/openapi": "^0.57.0",
"@typespec/openapi3": "^0.57.0",
"@typespec/prettier-plugin-typespec": "^0.57.0",
"@typespec/rest": "^0.57.0",
"@typespec/versioning": "^0.57.0",
"change-case-all": "~2.1.0",
"lodash": "~4.17.20",
"pluralize": "^8.0.0",
"prettier": "~3.1.0"
}
},
"node_modules/@autorest/openapi-to-typespec/node_modules/@azure-tools/typespec-autorest": {
"version": "0.43.0",
"resolved": "https://registry.npmjs.org/@azure-tools/typespec-autorest/-/typespec-autorest-0.43.0.tgz",
"integrity": "sha512-tZ9uXXOdxu2y01W9n3mzXf+IEY2MQkP/JaQaKlcOx2+dbklHNQWSDU0Vm6Gmm6l//XiF9QiI8653BiuO97czyw==",
"engines": {
"node": ">=18.0.0"
},
"peerDependencies": {
"@azure-tools/typespec-azure-core": "~0.43.0",
"@azure-tools/typespec-azure-resource-manager": "~0.43.0",
"@azure-tools/typespec-client-generator-core": "~0.43.0",
"@typespec/compiler": "~0.57.0",
"@typespec/http": "~0.57.0",
"@typespec/openapi": "~0.57.0",
"@typespec/rest": "~0.57.0",
"@typespec/versioning": "~0.57.0"
}
},
"node_modules/@autorest/openapi-to-typespec/node_modules/@azure-tools/typespec-azure-core": {
"version": "0.43.0",
"resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.43.0.tgz",
"integrity": "sha512-B1r0i3segJ7RuNXxcAMBy8H2t+jTkaf74dkyUWD0HIFPkhETN0uR59nuor+s+LoLU8yI4JypOFSNZt6e1rod8w==",
"engines": {
"node": ">=18.0.0"
},
"peerDependencies": {
"@typespec/compiler": "~0.57.0",
"@typespec/http": "~0.57.0",
"@typespec/rest": "~0.57.0"
}
},
"node_modules/@autorest/openapi-to-typespec/node_modules/@azure-tools/typespec-azure-resource-manager": {
"version": "0.43.0",
"resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-resource-manager/-/typespec-azure-resource-manager-0.43.0.tgz",
"integrity": "sha512-0GQL+/o1u+PAB63FpYz3sy3ZgZvCtk5T4sDAnICnV23v2YWIONDMUfxxd0x40xJbY6PkcwwHDpBLNMqajf2H6A==",
"dependencies": {
"change-case": "~5.4.4",
"pluralize": "^8.0.0"
},
"engines": {
"node": ">=18.0.0"
},
"peerDependencies": {
"@azure-tools/typespec-azure-core": "~0.43.0",
"@typespec/compiler": "~0.57.0",
"@typespec/http": "~0.57.0",
"@typespec/openapi": "~0.57.0",
"@typespec/rest": "~0.57.0",
"@typespec/versioning": "~0.57.0"
}
},
"node_modules/@autorest/openapi-to-typespec/node_modules/@azure-tools/typespec-client-generator-core": {
"version": "0.43.2",
"resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.43.2.tgz",
"integrity": "sha512-UAVV30BtTQBiXmBoQ3SyvmiuBDYoqWFIn7G96hjojpwXpE6D5ba0y5LascMuF1b65eAhGnnf974DElJE9DGepQ==",
"peer": true,
"dependencies": {
"change-case": "~5.4.4",
"pluralize": "^8.0.0"
},
"engines": {
"node": ">=18.0.0"
},
"peerDependencies": {
"@azure-tools/typespec-azure-core": "~0.43.0",
"@typespec/compiler": "~0.57.0",
"@typespec/http": "~0.57.0",
"@typespec/rest": "~0.57.0",
"@typespec/versioning": "~0.57.0"
}
},
"node_modules/@autorest/openapi-to-typespec/node_modules/@typespec/compiler": {
"version": "0.57.0",
"resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-0.57.0.tgz",
"integrity": "sha512-Z5L7J90Ol21IbzU+rBD2wzKy2vJ2Yg2FIzi+yB5rtb7/c4oBea/CgEByMVHBtT7uw45ZXJpHOiepuGSPVXw2EA==",
"dependencies": {
"@babel/code-frame": "~7.24.2",
"ajv": "~8.13.0",
"change-case": "~5.4.4",
"globby": "~14.0.1",
"mustache": "~4.2.0",
"picocolors": "~1.0.1",
"prettier": "~3.2.5",
"prompts": "~2.4.2",
"semver": "^7.6.2",
"vscode-languageserver": "~9.0.1",
"vscode-languageserver-textdocument": "~1.0.11",
"yaml": "~2.4.2",
"yargs": "~17.7.2"
},
"bin": {
"tsp": "cmd/tsp.js",
"tsp-server": "cmd/tsp-server.js"
},
"engines": {
"node": ">=18.0.0"
}
},
"node_modules/@autorest/openapi-to-typespec/node_modules/@typespec/compiler/node_modules/prettier": {
"version": "3.2.5",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz",
"integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==",
"bin": {
"prettier": "bin/prettier.cjs"
},
"engines": {
"node": ">=14"
},
"funding": {
"url": "https://github.com/prettier/prettier?sponsor=1"
}
},
"node_modules/@autorest/openapi-to-typespec/node_modules/@typespec/http": {
"version": "0.57.0",
"resolved": "https://registry.npmjs.org/@typespec/http/-/http-0.57.0.tgz",
"integrity": "sha512-k3bWOTPNqlRB3/TmrXVBtObmxj2J20l2FnhGXvs+tjdtbXLxCQWmvQz6xlne9nkLAtWVB/pQRUn+oMJfhWta3w==",
"engines": {
"node": ">=18.0.0"
},
"peerDependencies": {
"@typespec/compiler": "~0.57.0"
}
},
"node_modules/@autorest/openapi-to-typespec/node_modules/@typespec/openapi": {
"version": "0.57.0",
"resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-0.57.0.tgz",
"integrity": "sha512-35wK/BqjOXSlhWuGMwoYN3FSgIYFOKtw8ot4ErcgmxAGuKaS2GkUhZvtQJXUn2ByU0Fl4jqslPmTz8SEcz7rbw==",
"engines": {
"node": ">=18.0.0"
},
"peerDependencies": {
"@typespec/compiler": "~0.57.0",
"@typespec/http": "~0.57.0"
}
},
"node_modules/@autorest/openapi-to-typespec/node_modules/@typespec/openapi3": {
"version": "0.57.0",
"resolved": "https://registry.npmjs.org/@typespec/openapi3/-/openapi3-0.57.0.tgz",
"integrity": "sha512-spNLzwCTduPISJBTWhqsMLTjuGC3Tdh/FVI1rTGnRunB7ZXjhRyz031o1bCe2BZeW1w1sacZGfe+ba8sXqgMxA==",
"dependencies": {
"yaml": "~2.4.2"
},
"engines": {
"node": ">=18.0.0"
},
"peerDependencies": {
"@typespec/compiler": "~0.57.0",
"@typespec/http": "~0.57.0",
"@typespec/openapi": "~0.57.0",
"@typespec/versioning": "~0.57.0"
}
},
"node_modules/@autorest/openapi-to-typespec/node_modules/@typespec/rest": {
"version": "0.57.0",
"resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.57.0.tgz",
"integrity": "sha512-mZj76Kf+cmH38pYA6LT8Zz7QjuR3fdQo5bc8pXhKMwLq9vRqNLz6Z9InbOeo8zY+xP0GfUwEU9kXczmCc8gyRA==",
"engines": {
"node": ">=18.0.0"
},
"peerDependencies": {
"@typespec/compiler": "~0.57.0",
"@typespec/http": "~0.57.0"
}
},
"node_modules/@autorest/openapi-to-typespec/node_modules/@typespec/versioning": {
"version": "0.57.0",
"resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.57.0.tgz",
"integrity": "sha512-kk6zCNSwcqqYB9isNNagTy+Zv6wEIRA4NkcZ/X1riTj2zhJwKsIFNXQWm1yxpZn+BY4+1QtuaQHuBLo8HbgR/w==",
"engines": {
"node": ">=18.0.0"
},
"peerDependencies": {
"@typespec/compiler": "~0.57.0"
}
},
"node_modules/@autorest/openapi-to-typespec/node_modules/ajv": {
"version": "8.13.0",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.13.0.tgz",
"integrity": "sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==",
"dependencies": {
"fast-deep-equal": "^3.1.3",
"json-schema-traverse": "^1.0.0",
"require-from-string": "^2.0.2",
"uri-js": "^4.4.1"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/epoberezkin"
}
},
"node_modules/@autorest/openapi-to-typespec/node_modules/prettier": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz",
@ -120,6 +305,17 @@
"url": "https://github.com/prettier/prettier?sponsor=1"
}
},
"node_modules/@autorest/openapi-to-typespec/node_modules/yaml": {
"version": "2.4.5",
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.5.tgz",
"integrity": "sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==",
"bin": {
"yaml": "bin.mjs"
},
"engines": {
"node": ">= 14"
}
},
"node_modules/@azure-tools/async-io": {
"version": "3.0.254",
"resolved": "https://registry.npmjs.org/@azure-tools/async-io/-/async-io-3.0.254.tgz",
@ -400,6 +596,7 @@
"version": "0.44.0",
"resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.44.0.tgz",
"integrity": "sha512-d11QK2v5fOZH8YUqf42FsqHEirKCHzeKFq4Uo/51BXCXmJJahsTaFMAG2M0GoJe8tmTHeMijStnVMfzcGNqCAA==",
"peer": true,
"engines": {
"node": ">=18.0.0"
},
@ -413,6 +610,7 @@
"version": "0.44.0",
"resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-resource-manager/-/typespec-azure-resource-manager-0.44.0.tgz",
"integrity": "sha512-m4dG41at6En1swbxlvCDl1v4Mvrfp17acDnRxEcd4SdKP2R9eVS2mBy1tSuFtMcJlOnoBZ5CxQgk+Osg/Q9nmA==",
"peer": true,
"dependencies": {
"change-case": "~5.4.4",
"pluralize": "^8.0.0"
@ -624,17 +822,6 @@
"node": ">=4"
}
},
"node_modules/@babel/runtime": {
"version": "7.25.0",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.0.tgz",
"integrity": "sha512-7dRy4DwXwtzBrPbZflqxnvfxLF8kdZXPkhymtDeFoFqE6ldzjQFgYTtYIFARcLEYDrqfBfYcZt1WqFxRoyC9Rw==",
"dependencies": {
"regenerator-runtime": "^0.14.0"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@cspotcode/source-map-support": {
"version": "0.8.1",
"resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz",
@ -663,14 +850,6 @@
"node": ">=18"
}
},
"node_modules/@humanwhocodes/momoa": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/@humanwhocodes/momoa/-/momoa-2.0.4.tgz",
"integrity": "sha512-RE815I4arJFtt+FVeU1Tgp9/Xvecacji8w/V6XtXsWWH/wz/eNkNbhb+ny/+PlVZjV0rxQpRSQKNKE3lcktHEA==",
"engines": {
"node": ">=10.10.0"
}
},
"node_modules/@isaacs/cliui": {
"version": "8.0.2",
"resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
@ -792,11 +971,6 @@
"@jridgewell/sourcemap-codec": "^1.4.10"
}
},
"node_modules/@jsdevtools/ono": {
"version": "7.1.3",
"resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz",
"integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg=="
},
"node_modules/@kwsites/file-exists": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@kwsites/file-exists/-/file-exists-1.1.1.tgz",
@ -852,92 +1026,6 @@
"node": ">=14"
}
},
"node_modules/@readme/better-ajv-errors": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/@readme/better-ajv-errors/-/better-ajv-errors-1.6.0.tgz",
"integrity": "sha512-9gO9rld84Jgu13kcbKRU+WHseNhaVt76wYMeRDGsUGYxwJtI3RmEJ9LY9dZCYQGI8eUZLuxb5qDja0nqklpFjQ==",
"dependencies": {
"@babel/code-frame": "^7.16.0",
"@babel/runtime": "^7.21.0",
"@humanwhocodes/momoa": "^2.0.3",
"chalk": "^4.1.2",
"json-to-ast": "^2.0.3",
"jsonpointer": "^5.0.0",
"leven": "^3.1.0"
},
"engines": {
"node": ">=14"
},
"peerDependencies": {
"ajv": "4.11.8 - 8"
}
},
"node_modules/@readme/better-ajv-errors/node_modules/chalk": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
"dependencies": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
},
"engines": {
"node": ">=10"
},
"funding": {
"url": "https://github.com/chalk/chalk?sponsor=1"
}
},
"node_modules/@readme/better-ajv-errors/node_modules/supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
"dependencies": {
"has-flag": "^4.0.0"
},
"engines": {
"node": ">=8"
}
},
"node_modules/@readme/json-schema-ref-parser": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@readme/json-schema-ref-parser/-/json-schema-ref-parser-1.2.0.tgz",
"integrity": "sha512-Bt3QVovFSua4QmHa65EHUmh2xS0XJ3rgTEUPH998f4OW4VVJke3BuS16f+kM0ZLOGdvIrzrPRqwihuv5BAjtrA==",
"dependencies": {
"@jsdevtools/ono": "^7.1.3",
"@types/json-schema": "^7.0.6",
"call-me-maybe": "^1.0.1",
"js-yaml": "^4.1.0"
}
},
"node_modules/@readme/openapi-parser": {
"version": "2.6.0",
"resolved": "https://registry.npmjs.org/@readme/openapi-parser/-/openapi-parser-2.6.0.tgz",
"integrity": "sha512-pyFJXezWj9WI1O+gdp95CoxfY+i+Uq3kKk4zXIFuRAZi9YnHpHOpjumWWr67wkmRTw19Hskh9spyY0Iyikf3fA==",
"dependencies": {
"@apidevtools/swagger-methods": "^3.0.2",
"@jsdevtools/ono": "^7.1.3",
"@readme/better-ajv-errors": "^1.6.0",
"@readme/json-schema-ref-parser": "^1.2.0",
"@readme/openapi-schemas": "^3.1.0",
"ajv": "^8.12.0",
"ajv-draft-04": "^1.0.0",
"call-me-maybe": "^1.0.1"
},
"engines": {
"node": ">=18"
},
"peerDependencies": {
"openapi-types": ">=7"
}
},
"node_modules/@readme/openapi-schemas": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/@readme/openapi-schemas/-/openapi-schemas-3.1.0.tgz",
"integrity": "sha512-9FC/6ho8uFa8fV50+FPy/ngWN53jaUu4GRXlAjcxIRrzhltJnpKkBG2Tp0IDraFJeWrOpk84RJ9EMEEYzaI1Bw==",
"engines": {
"node": ">=18"
}
},
"node_modules/@sindresorhus/merge-streams": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz",
@ -979,11 +1067,6 @@
"integrity": "sha512-zmZ21EWzR71B4Sscphjief5djsLre50M6lI622OSySTmn9DB3j+C3kWroHfBQWXbOBwbgg/M8CG/hUxDLIloow==",
"dev": true
},
"node_modules/@types/json-schema": {
"version": "7.0.15",
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
"integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA=="
},
"node_modules/@types/mocha": {
"version": "10.0.7",
"resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.7.tgz",
@ -1061,6 +1144,7 @@
"version": "0.58.0",
"resolved": "https://registry.npmjs.org/@typespec/http/-/http-0.58.0.tgz",
"integrity": "sha512-jQpkugg9AZVrNDMkDIgZRpIoRkkU2b0LtKWqMGg33MItYj9/DYSgDtY7xb7oCBppRtFFZ/h138HyhYl3zQxZRg==",
"peer": true,
"engines": {
"node": ">=18.0.0"
},
@ -1072,6 +1156,7 @@
"version": "0.58.0",
"resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-0.58.0.tgz",
"integrity": "sha512-gu6nXfmpfZrfq8Etpgl1dpMfsXii7EzQyhZgsPhIy7ZwV5bDmFk1/oyhTqIpWrnr4pD3r151T2BQjzJefjf15A==",
"peer": true,
"engines": {
"node": ">=18.0.0"
},
@ -1080,50 +1165,33 @@
"@typespec/http": "~0.58.0"
}
},
"node_modules/@typespec/openapi3": {
"version": "0.58.0",
"resolved": "https://registry.npmjs.org/@typespec/openapi3/-/openapi3-0.58.0.tgz",
"integrity": "sha512-G9t9CWT9cN6ip39dLZaE6JdEDxGsFyOUxA2s6a087rweoTH85XzsFiQL7uiUD8vHhXyEo6tF6sy3LMZVN0BsoQ==",
"dependencies": {
"@readme/openapi-parser": "~2.6.0",
"yaml": "~2.4.5"
},
"bin": {
"tsp-openapi3": "cmd/tsp-openapi3.js"
},
"engines": {
"node": ">=18.0.0"
},
"peerDependencies": {
"@typespec/compiler": "~0.58.0",
"@typespec/http": "~0.58.0",
"@typespec/openapi": "~0.58.0",
"@typespec/versioning": "~0.58.0"
}
},
"node_modules/@typespec/openapi3/node_modules/yaml": {
"version": "2.4.5",
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.5.tgz",
"integrity": "sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==",
"bin": {
"yaml": "bin.mjs"
},
"engines": {
"node": ">= 14"
}
},
"node_modules/@typespec/prettier-plugin-typespec": {
"version": "0.58.0",
"resolved": "https://registry.npmjs.org/@typespec/prettier-plugin-typespec/-/prettier-plugin-typespec-0.58.0.tgz",
"integrity": "sha512-GtG9MvVGKytT6jPEksySSRMKl6IYg7dWnjLWMkCwvoViuSAlz3lxjIO0hGUaU5maNCC2+fe5m4vvFmNXGlMOsg==",
"version": "0.57.0",
"resolved": "https://registry.npmjs.org/@typespec/prettier-plugin-typespec/-/prettier-plugin-typespec-0.57.0.tgz",
"integrity": "sha512-nWrgv/yPGYfE4FL6ON3BpYZnvCdZYvE6yrgcr/ifqZnMBJfCLl4sk+tk3JoVysj6kTTWaFME7GQ/X/guMvbjUA==",
"dependencies": {
"prettier": "~3.3.2"
"prettier": "~3.2.5"
}
},
"node_modules/@typespec/prettier-plugin-typespec/node_modules/prettier": {
"version": "3.2.5",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz",
"integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==",
"bin": {
"prettier": "bin/prettier.cjs"
},
"engines": {
"node": ">=14"
},
"funding": {
"url": "https://github.com/prettier/prettier?sponsor=1"
}
},
"node_modules/@typespec/rest": {
"version": "0.58.0",
"resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.58.0.tgz",
"integrity": "sha512-QBxkED0/KQKG22pwzis0n7BY+uLMSZZPSoVe/ESBFika9n5/yyeQ0l58xbFFwwfxAxe4xwuZ5PNwTdEXZbzr5g==",
"peer": true,
"engines": {
"node": ">=18.0.0"
},
@ -1136,6 +1204,7 @@
"version": "0.58.0",
"resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.58.0.tgz",
"integrity": "sha512-brnQQ3wKWh4AbgqmnVLj+8zyOaDk9VPWg4QBecdQxzz7PrSrlAzIzRfeIyr67+hwi/0SvkTAB6GNH7YYTypKGA==",
"peer": true,
"engines": {
"node": ">=18.0.0"
},
@ -1191,19 +1260,6 @@
"url": "https://github.com/sponsors/epoberezkin"
}
},
"node_modules/ajv-draft-04": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/ajv-draft-04/-/ajv-draft-04-1.0.0.tgz",
"integrity": "sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==",
"peerDependencies": {
"ajv": "^8.5.0"
},
"peerDependenciesMeta": {
"ajv": {
"optional": true
}
}
},
"node_modules/ansi-colors": {
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz",
@ -1323,11 +1379,6 @@
"integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==",
"dev": true
},
"node_modules/call-me-maybe": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz",
"integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ=="
},
"node_modules/camelcase": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz",
@ -1453,14 +1504,6 @@
"node": ">=8"
}
},
"node_modules/code-error-fragment": {
"version": "0.0.230",
"resolved": "https://registry.npmjs.org/code-error-fragment/-/code-error-fragment-0.0.230.tgz",
"integrity": "sha512-cadkfKp6932H8UkhzE/gcUqhRMNf8jHzkAN7+5Myabswaghu4xABTgPHDCjW+dBAJxj/SpkTYokpzDqY4pCzQw==",
"engines": {
"node": ">= 4"
}
},
"node_modules/color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
@ -1801,15 +1844,11 @@
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
"integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="
},
"node_modules/grapheme-splitter": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz",
"integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ=="
},
"node_modules/has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
"dev": true,
"engines": {
"node": ">=8"
}
@ -1982,26 +2021,6 @@
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
"integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="
},
"node_modules/json-to-ast": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/json-to-ast/-/json-to-ast-2.1.0.tgz",
"integrity": "sha512-W9Lq347r8tA1DfMvAGn9QNcgYm4Wm7Yc+k8e6vezpMnRT+NHbtlxgNBXRVjXe9YM6eTn6+p/MKOlV/aABJcSnQ==",
"dependencies": {
"code-error-fragment": "0.0.230",
"grapheme-splitter": "^1.0.4"
},
"engines": {
"node": ">= 4"
}
},
"node_modules/jsonpointer": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.1.tgz",
"integrity": "sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/kleur": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
@ -2010,14 +2029,6 @@
"node": ">=6"
}
},
"node_modules/leven": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz",
"integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==",
"engines": {
"node": ">=6"
}
},
"node_modules/locate-path": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
@ -2265,12 +2276,6 @@
"wrappy": "1"
}
},
"node_modules/openapi-types": {
"version": "12.1.3",
"resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-12.1.3.tgz",
"integrity": "sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==",
"peer": true
},
"node_modules/p-limit": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
@ -2479,11 +2484,6 @@
"node": ">=8.10.0"
}
},
"node_modules/regenerator-runtime": {
"version": "0.14.1",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz",
"integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw=="
},
"node_modules/require-directory": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",

Просмотреть файл

@ -52,7 +52,7 @@
},
"dependencies": {
"@autorest/csharp": "https://aka.ms/azsdk/openapi-to-typespec-csharp",
"@autorest/openapi-to-typespec": "0.9.0",
"@autorest/openapi-to-typespec": "0.8.2",
"@azure-tools/typespec-autorest": ">=0.44.0 <1.0.0",
"@azure/core-rest-pipeline": "^1.12.0",
"@azure-tools/rest-api-diff": "^0.1.0",

Просмотреть файл

@ -365,7 +365,6 @@ export async function convertCommand(argv: any): Promise<void> {
`--use="${autorestCsharpPath}"`,
`--output-folder="${outputDir}"`,
"--mgmt-debug.only-generate-metadata",
"--mgmt-debug.suppress-list-exception",
"--azure-arm",
"--skip-csproj",
`"${readme}"`,