diff --git a/package-lock.json b/package-lock.json index ed57e4d1de88..b3ba9f903407 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,21 +7,21 @@ "name": "azure-rest-api-specs", "devDependencies": { "@azure-tools/typespec-apiview": "0.4.9", - "@azure-tools/typespec-autorest": "0.45.0", - "@azure-tools/typespec-azure-core": "0.45.0", - "@azure-tools/typespec-azure-portal-core": "0.45.0", - "@azure-tools/typespec-azure-resource-manager": "0.45.0", - "@azure-tools/typespec-azure-rulesets": "0.45.0", + "@azure-tools/typespec-autorest": "0.46.0", + "@azure-tools/typespec-azure-core": "0.46.0", + "@azure-tools/typespec-azure-portal-core": "0.46.0", + "@azure-tools/typespec-azure-resource-manager": "0.46.0", + "@azure-tools/typespec-azure-rulesets": "0.46.0", "@azure-tools/typespec-client-generator-cli": "0.13.0", - "@azure-tools/typespec-client-generator-core": "0.45.0", + "@azure-tools/typespec-client-generator-core": "0.46.0", "@azure-tools/typespec-liftr-base": "0.4.0", "@azure/avocado": "^0.8.4", - "@typespec/compiler": "0.59.1", - "@typespec/http": "0.59.1", - "@typespec/openapi": "0.59.0", - "@typespec/openapi3": "0.59.1", - "@typespec/rest": "0.59.1", - "@typespec/versioning": "0.59.0", + "@typespec/compiler": "0.60.0", + "@typespec/http": "0.60.0", + "@typespec/openapi": "0.60.0", + "@typespec/openapi3": "0.60.0", + "@typespec/rest": "0.60.0", + "@typespec/versioning": "0.60.1", "azure-rest-api-specs-eng-tools": "file:eng/tools", "oav": "^3.3.7", "prettier": "~3.3.3", @@ -44,9 +44,9 @@ } }, "eng/tools/node_modules/@types/node": { - "version": "18.19.49", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.49.tgz", - "integrity": "sha512-ALCeIR6n0nQ7j0FUF1ycOhrp6+XutJWqEu/vtdEqXFUQwkBfgUA5cEg3ZNmjWGF/ZYA/FcF9QMkL55Ar0O6UrA==", + "version": "18.19.50", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.50.tgz", + "integrity": "sha512-xonK+NRrMBRtkL1hVCc3G+uXtjh1Al4opBLjqVmipe5ZAaBYWW6cNAiBVZ1BvmkBhep698rP3UM3aRAdSALuhg==", "dev": true, "license": "MIT", "dependencies": { @@ -54,20 +54,20 @@ } }, "eng/tools/node_modules/@vitest/coverage-v8": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-2.0.5.tgz", - "integrity": "sha512-qeFcySCg5FLO2bHHSa0tAZAOnAUbp4L6/A5JDuj9+bt53JREl8hpLjLHEWF0e/gWc8INVpJaqA7+Ene2rclpZg==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-2.1.0.tgz", + "integrity": "sha512-yqCkr2nrV4o58VcVMxTVkS6Ggxzy7pmSD8JbTbhbH5PsQfUIES1QT716VUzo33wf2lX9EcWYdT3Vl2MMmjR59g==", "dev": true, "license": "MIT", "dependencies": { "@ampproject/remapping": "^2.3.0", "@bcoe/v8-coverage": "^0.2.3", - "debug": "^4.3.5", + "debug": "^4.3.6", "istanbul-lib-coverage": "^3.2.2", "istanbul-lib-report": "^3.0.1", "istanbul-lib-source-maps": "^5.0.6", "istanbul-reports": "^3.1.7", - "magic-string": "^0.30.10", + "magic-string": "^0.30.11", "magicast": "^0.3.4", "std-env": "^3.7.0", "test-exclude": "^7.0.1", @@ -77,7 +77,13 @@ "url": "https://opencollective.com/vitest" }, "peerDependencies": { - "vitest": "2.0.5" + "@vitest/browser": "2.1.0", + "vitest": "2.1.0" + }, + "peerDependenciesMeta": { + "@vitest/browser": { + "optional": true + } } }, "eng/tools/node_modules/brace-expansion": { @@ -90,42 +96,6 @@ "balanced-match": "^1.0.0" } }, - "eng/tools/node_modules/get-stream": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", - "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "eng/tools/node_modules/human-signals": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", - "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", - "dev": true, - "license": "Apache-2.0", - "engines": { - "node": ">=16.17.0" - } - }, - "eng/tools/node_modules/is-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", - "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "eng/tools/node_modules/minimatch": { "version": "9.0.5", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", @@ -142,19 +112,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "eng/tools/node_modules/strip-final-newline": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", - "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "eng/tools/node_modules/undici-types": { "version": "5.26.5", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", @@ -163,9 +120,9 @@ "license": "MIT" }, "eng/tools/node_modules/vite": { - "version": "5.4.3", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.3.tgz", - "integrity": "sha512-IH+nl64eq9lJjFqU+/yrRnrHPVTlgy42/+IzbOdaFDVlyLgI/wDlf+FCobXLX1cT0X5+7LMyH1mIy2xJdLfo8Q==", + "version": "5.4.4", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.4.tgz", + "integrity": "sha512-RHFCkULitycHVTtelJ6jQLd+KSAAzOgEYorV32R2q++M6COBjKJR6BxqClwp5sf0XaBDjVMuJ9wnNfyAJwjMkA==", "dev": true, "license": "MIT", "dependencies": { @@ -223,30 +180,30 @@ } }, "eng/tools/node_modules/vitest": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-2.0.5.tgz", - "integrity": "sha512-8GUxONfauuIdeSl5f9GTgVEpg5BTOlplET4WEDaeY2QBiN8wSm68vxN/tb5z405OwppfoCavnwXafiaYBC/xOA==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-2.1.0.tgz", + "integrity": "sha512-XuuEeyNkqbfr0FtAvd9vFbInSSNY1ykCQTYQ0sj9wPy4hx+1gR7gqVNdW0AX2wrrM1wWlN5fnJDjF9xG6mYRSQ==", "dev": true, "license": "MIT", "dependencies": { - "@ampproject/remapping": "^2.3.0", - "@vitest/expect": "2.0.5", - "@vitest/pretty-format": "^2.0.5", - "@vitest/runner": "2.0.5", - "@vitest/snapshot": "2.0.5", - "@vitest/spy": "2.0.5", - "@vitest/utils": "2.0.5", + "@vitest/expect": "2.1.0", + "@vitest/mocker": "2.1.0", + "@vitest/pretty-format": "^2.1.0", + "@vitest/runner": "2.1.0", + "@vitest/snapshot": "2.1.0", + "@vitest/spy": "2.1.0", + "@vitest/utils": "2.1.0", "chai": "^5.1.1", - "debug": "^4.3.5", - "execa": "^8.0.1", - "magic-string": "^0.30.10", + "debug": "^4.3.6", + "magic-string": "^0.30.11", "pathe": "^1.1.2", "std-env": "^3.7.0", - "tinybench": "^2.8.0", + "tinybench": "^2.9.0", + "tinyexec": "^0.3.0", "tinypool": "^1.0.0", "tinyrainbow": "^1.2.0", "vite": "^5.0.0", - "vite-node": "2.0.5", + "vite-node": "2.1.0", "why-is-node-running": "^2.3.0" }, "bin": { @@ -261,8 +218,8 @@ "peerDependencies": { "@edge-runtime/vm": "*", "@types/node": "^18.0.0 || >=20.0.0", - "@vitest/browser": "2.0.5", - "@vitest/ui": "2.0.5", + "@vitest/browser": "2.1.0", + "@vitest/ui": "2.1.0", "happy-dom": "*", "jsdom": "*" }, @@ -287,28 +244,32 @@ } } }, - "eng/tools/node_modules/vitest/node_modules/execa": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", - "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", + "eng/tools/node_modules/vitest/node_modules/@vitest/mocker": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@vitest/mocker/-/mocker-2.1.0.tgz", + "integrity": "sha512-ZxENovUqhzl+QiOFpagiHUNUuZ1qPd5yYTCYHomGIZOFArzn4mgX2oxZmiAItJWAaXHG6bbpb/DpSPhlk5DgtA==", "dev": true, "license": "MIT", "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^8.0.1", - "human-signals": "^5.0.0", - "is-stream": "^3.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^5.1.0", - "onetime": "^6.0.0", - "signal-exit": "^4.1.0", - "strip-final-newline": "^3.0.0" - }, - "engines": { - "node": ">=16.17" + "@vitest/spy": "^2.1.0-beta.1", + "estree-walker": "^3.0.3", + "magic-string": "^0.30.11" }, "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" + "url": "https://opencollective.com/vitest" + }, + "peerDependencies": { + "@vitest/spy": "2.1.0", + "msw": "^2.3.5", + "vite": "^5.0.0" + }, + "peerDependenciesMeta": { + "msw": { + "optional": true + }, + "vite": { + "optional": true + } } }, "eng/tools/specs-model": { @@ -475,6 +436,7 @@ "resolved": "https://registry.npmjs.org/@autorest/codemodel/-/codemodel-4.20.0.tgz", "integrity": "sha512-Z2GwVwAGNTcfGUmrWT5LJqZv/WDXKBBpxhZrHu6zco/HrEGrqKQcKx5whlLX/GmAB/KmhcOWYr6aIyWomcoisQ==", "dev": true, + "license": "MIT", "dependencies": { "@azure-tools/codegen": "~2.10.0", "js-yaml": "~4.1.0" @@ -488,6 +450,7 @@ "resolved": "https://registry.npmjs.org/@autorest/extension-base/-/extension-base-3.6.0.tgz", "integrity": "sha512-hE6nmdYu2SA6xlG46lM+/njtz0yNEkhzfkOs7PjrYulnXuBWHo08RdbXHGcecypgNhV2QAQcbV6ar5f1UGX6xQ==", "dev": true, + "license": "MIT", "dependencies": { "@azure-tools/codegen": "~2.10.0", "js-yaml": "~4.1.0", @@ -502,6 +465,7 @@ "resolved": "https://registry.npmjs.org/@autorest/openapi-to-typespec/-/openapi-to-typespec-0.10.0.tgz", "integrity": "sha512-2+dpiF+gj0lEsjbJP1WX9BIdYT0b3+NoamhXY4PbNS0p9eNHT2lFCVzaHYNbY0fwRMR1yRDUd7dvwcsZi8qUgQ==", "dev": true, + "license": "MIT", "dependencies": { "@autorest/codemodel": "~4.20.0", "@autorest/extension-base": "~3.6.0", @@ -522,11 +486,215 @@ "prettier": "~3.1.0" } }, + "node_modules/@autorest/openapi-to-typespec/node_modules/@azure-tools/typespec-autorest": { + "version": "0.45.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-autorest/-/typespec-autorest-0.45.0.tgz", + "integrity": "sha512-6ycZ0bEfXC0U26FHHEt9smAhxh78SACIDY+u7zLAopRzmxjTuthDdGgYSShuRDu3J+vEBi1fOKpz4cYQkgRkBQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "@azure-tools/typespec-azure-core": "~0.45.0", + "@azure-tools/typespec-azure-resource-manager": "~0.45.0", + "@azure-tools/typespec-client-generator-core": "~0.45.0", + "@typespec/compiler": "~0.59.0", + "@typespec/http": "~0.59.0", + "@typespec/openapi": "~0.59.0", + "@typespec/rest": "~0.59.0", + "@typespec/versioning": "~0.59.0" + } + }, + "node_modules/@autorest/openapi-to-typespec/node_modules/@azure-tools/typespec-azure-core": { + "version": "0.45.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.45.0.tgz", + "integrity": "sha512-GycGMCmaIVSN+TftPtlPJLyeOrglbLmH08ZiZaVMjSih/TQEJM21RGR6d8QdjlkQWN61ntNDRD+RP2uv9tHmqw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "@typespec/compiler": "~0.59.0", + "@typespec/http": "~0.59.0", + "@typespec/rest": "~0.59.0" + } + }, + "node_modules/@autorest/openapi-to-typespec/node_modules/@azure-tools/typespec-azure-resource-manager": { + "version": "0.45.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-resource-manager/-/typespec-azure-resource-manager-0.45.0.tgz", + "integrity": "sha512-PdhB03P8PoOlUoUWd+CF5WipGzu2Q3ZjT0EAzgQe878DmXvxMq+zYaPJQtvkq9R6jCxFauDSr5gG7Yd4NINAuA==", + "dev": true, + "license": "MIT", + "dependencies": { + "change-case": "~5.4.4", + "pluralize": "^8.0.0" + }, + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "@azure-tools/typespec-azure-core": "~0.45.0", + "@typespec/compiler": "~0.59.0", + "@typespec/http": "~0.59.0", + "@typespec/openapi": "~0.59.0", + "@typespec/rest": "~0.59.0", + "@typespec/versioning": "~0.59.0" + } + }, + "node_modules/@autorest/openapi-to-typespec/node_modules/@azure-tools/typespec-client-generator-core": { + "version": "0.45.4", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.45.4.tgz", + "integrity": "sha512-QJygwMqhEtBi2tPYs/HAfs0QTowXAwp6QpP/Vd2pHnJAncTV1BN17n/9LLAlMu2CnLimqvTuIN+FfliM28AX9w==", + "dev": true, + "license": "MIT", + "peer": true, + "dependencies": { + "change-case": "~5.4.4", + "pluralize": "^8.0.0" + }, + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "@azure-tools/typespec-azure-core": "~0.45.0", + "@typespec/compiler": "~0.59.0", + "@typespec/http": "~0.59.0", + "@typespec/openapi": "~0.59.0", + "@typespec/rest": "~0.59.0", + "@typespec/versioning": "~0.59.0" + } + }, + "node_modules/@autorest/openapi-to-typespec/node_modules/@typespec/compiler": { + "version": "0.59.1", + "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-0.59.1.tgz", + "integrity": "sha512-O2ljgr6YoFaIH6a8lWc90/czdv4B2X6N9wz4WsnQnVvgO0Tj0s+3xkvp4Tv59RKMhT0f3fK6dL8oEGO32FYk1A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "~7.24.7", + "ajv": "~8.17.1", + "change-case": "~5.4.4", + "globby": "~14.0.2", + "mustache": "~4.2.0", + "picocolors": "~1.0.1", + "prettier": "~3.3.3", + "prompts": "~2.4.2", + "semver": "^7.6.3", + "temporal-polyfill": "^0.2.5", + "vscode-languageserver": "~9.0.1", + "vscode-languageserver-textdocument": "~1.0.11", + "yaml": "~2.4.5", + "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.3.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", + "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", + "dev": true, + "license": "MIT", + "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.59.1", + "resolved": "https://registry.npmjs.org/@typespec/http/-/http-0.59.1.tgz", + "integrity": "sha512-Ai8oCAO+Bw1HMSZ9gOI5Od4fNn/ul4HrVtTB01xFuLK6FQj854pxhzao8ylPnr7gIRQ327FV12/QfXR87yCiYQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "@typespec/compiler": "~0.59.0" + } + }, + "node_modules/@autorest/openapi-to-typespec/node_modules/@typespec/openapi": { + "version": "0.59.0", + "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-0.59.0.tgz", + "integrity": "sha512-do1Dm5w0MuK3994gYTBg6qMfgeIxmmsDqnz3zimYKMPpbnUBi4F6/o4iCfn0Fn9kaNl+H6UlOzZpsZW9xHui1Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "@typespec/compiler": "~0.59.0", + "@typespec/http": "~0.59.0" + } + }, + "node_modules/@autorest/openapi-to-typespec/node_modules/@typespec/openapi3": { + "version": "0.59.1", + "resolved": "https://registry.npmjs.org/@typespec/openapi3/-/openapi3-0.59.1.tgz", + "integrity": "sha512-89VbUbkWKxeFgE0w0hpVyk1UZ6ZHRxOhcAHvF5MgxQxEhs2ALXKAqapWjFQsYrLBhAUoWzdPFrJJUMbwF9kX0Q==", + "dev": true, + "license": "MIT", + "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.59.0", + "@typespec/http": "~0.59.1", + "@typespec/openapi": "~0.59.0", + "@typespec/versioning": "~0.59.0" + } + }, + "node_modules/@autorest/openapi-to-typespec/node_modules/@typespec/rest": { + "version": "0.59.1", + "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.59.1.tgz", + "integrity": "sha512-uKU431jBYL2tVQWG5THA75+OtXDa1e8cMAafYK/JJRRiVRd8D/Epd8fp07dzlB8tFGrhCaGlekRMqFPFrHh2/A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "@typespec/compiler": "~0.59.0", + "@typespec/http": "~0.59.1" + } + }, + "node_modules/@autorest/openapi-to-typespec/node_modules/@typespec/versioning": { + "version": "0.59.0", + "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.59.0.tgz", + "integrity": "sha512-aihO/ux0lLmsuYAdGVkiBflSudcZokYG42SELk1FtMFo609G3Pd7ep7hau6unBnMIceQZejB0ow5UGRupK4X5A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18.0.0" + }, + "peerDependencies": { + "@typespec/compiler": "~0.59.0" + } + }, "node_modules/@autorest/openapi-to-typespec/node_modules/prettier": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz", "integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==", "dev": true, + "license": "MIT", "bin": { "prettier": "bin/prettier.cjs" }, @@ -537,6 +705,19 @@ "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==", + "dev": true, + "license": "ISC", + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14" + } + }, "node_modules/@autorest/schemas": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/@autorest/schemas/-/schemas-1.3.5.tgz", @@ -549,6 +730,7 @@ "resolved": "https://registry.npmjs.org/@azure-tools/async-io/-/async-io-3.0.254.tgz", "integrity": "sha512-X1C7XdyCuo50ch9FzKtTvmK18FgDxxf1Bbt3cSoknQqeDaRegHSSCO+zByq2YA4NvUzKXeZ1engh29IDxZXgpQ==", "dev": true, + "license": "MIT", "dependencies": { "@azure-tools/tasks": "~3.0.255", "proper-lockfile": "~2.0.1" @@ -562,6 +744,7 @@ "resolved": "https://registry.npmjs.org/@azure-tools/codegen/-/codegen-2.10.0.tgz", "integrity": "sha512-gdy0at3BUZAAARgiX9Ye6SNCKhcjLs5FNUewa/KV/dMGcPv7mBvbslt5VO3W8wj0n96ifk970aIFaivjacBxeQ==", "dev": true, + "license": "MIT", "dependencies": { "@azure-tools/async-io": "~3.0.0", "js-yaml": "~4.1.0", @@ -674,6 +857,7 @@ "resolved": "https://registry.npmjs.org/@azure-tools/tasks/-/tasks-3.0.255.tgz", "integrity": "sha512-GjALNLz7kWMEdRVbaN5g0cJHNAr3XVTbP0611Mv2UzMgGL6FOhNZJK+oPHJKLDR8EEDZNnkwPlyi7B+INXUSQA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10.12.0" } @@ -697,55 +881,55 @@ } }, "node_modules/@azure-tools/typespec-autorest": { - "version": "0.45.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-autorest/-/typespec-autorest-0.45.0.tgz", - "integrity": "sha512-6ycZ0bEfXC0U26FHHEt9smAhxh78SACIDY+u7zLAopRzmxjTuthDdGgYSShuRDu3J+vEBi1fOKpz4cYQkgRkBQ==", + "version": "0.46.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-autorest/-/typespec-autorest-0.46.0.tgz", + "integrity": "sha512-LCIvxQgjczWUq/wi6fzKBqYHWJYD0hRLA8wBPzFasriHdBDHjpZ6vgTPmApzt0H5ArZX92Ar53Q5+ZXD9ktMUg==", "dev": true, "license": "MIT", "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "~0.45.0", - "@azure-tools/typespec-azure-resource-manager": "~0.45.0", - "@azure-tools/typespec-client-generator-core": "~0.45.0", - "@typespec/compiler": "~0.59.0", - "@typespec/http": "~0.59.0", - "@typespec/openapi": "~0.59.0", - "@typespec/rest": "~0.59.0", - "@typespec/versioning": "~0.59.0" + "@azure-tools/typespec-azure-core": "~0.46.0", + "@azure-tools/typespec-azure-resource-manager": "~0.46.0", + "@azure-tools/typespec-client-generator-core": "~0.46.0", + "@typespec/compiler": "~0.60.0", + "@typespec/http": "~0.60.0", + "@typespec/openapi": "~0.60.0", + "@typespec/rest": "~0.60.0", + "@typespec/versioning": "~0.60.0" } }, "node_modules/@azure-tools/typespec-azure-core": { - "version": "0.45.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.45.0.tgz", - "integrity": "sha512-GycGMCmaIVSN+TftPtlPJLyeOrglbLmH08ZiZaVMjSih/TQEJM21RGR6d8QdjlkQWN61ntNDRD+RP2uv9tHmqw==", + "version": "0.46.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.46.0.tgz", + "integrity": "sha512-BNE31enSHWtWlrdIKShBS6CNFGk3OYmHSBnWqobcFJkTGXC090EoV2u6otn4BMI99fZRSR4gpwp/kYU9KLE9Jw==", "dev": true, "license": "MIT", "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.59.0", - "@typespec/http": "~0.59.0", - "@typespec/rest": "~0.59.0" + "@typespec/compiler": "~0.60.0", + "@typespec/http": "~0.60.0", + "@typespec/rest": "~0.60.0" } }, "node_modules/@azure-tools/typespec-azure-portal-core": { - "version": "0.45.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-portal-core/-/typespec-azure-portal-core-0.45.0.tgz", - "integrity": "sha512-8ybUzUk+suUfogiKe7yaLO/wZCbm81lmn8M6yGuK2jZtQNKDDqCtN21HNoVpmYc5bfsXl3mlGi0C1uUQbUcmMQ==", + "version": "0.46.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-portal-core/-/typespec-azure-portal-core-0.46.0.tgz", + "integrity": "sha512-bkbD5N8dORnfpna+0Graq0nUtgXcF4tKMcVTJ3QVWpyF+N3Mf7EDkD1GNaK7rKOx+1W5IiUX+gXEIy2uH6DUeQ==", "dev": true, "license": "MIT", "peerDependencies": { - "@azure-tools/typespec-azure-resource-manager": "~0.45.0", - "@typespec/compiler": "~0.59.0" + "@azure-tools/typespec-azure-resource-manager": "~0.46.0", + "@typespec/compiler": "~0.60.0" } }, "node_modules/@azure-tools/typespec-azure-resource-manager": { - "version": "0.45.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-resource-manager/-/typespec-azure-resource-manager-0.45.0.tgz", - "integrity": "sha512-PdhB03P8PoOlUoUWd+CF5WipGzu2Q3ZjT0EAzgQe878DmXvxMq+zYaPJQtvkq9R6jCxFauDSr5gG7Yd4NINAuA==", + "version": "0.46.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-resource-manager/-/typespec-azure-resource-manager-0.46.0.tgz", + "integrity": "sha512-ileS/0OMp0pmtWU3k0g2ZGfA957nOiEHtFJzAILsYYBFeBWgWuEuCPcKaGYScvlYTTK4Pyplpb7u00RBZBBObQ==", "dev": true, "license": "MIT", "dependencies": { @@ -756,28 +940,28 @@ "node": ">=18.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "~0.45.0", - "@typespec/compiler": "~0.59.0", - "@typespec/http": "~0.59.0", - "@typespec/openapi": "~0.59.0", - "@typespec/rest": "~0.59.0", - "@typespec/versioning": "~0.59.0" + "@azure-tools/typespec-azure-core": "~0.46.0", + "@typespec/compiler": "~0.60.0", + "@typespec/http": "~0.60.0", + "@typespec/openapi": "~0.60.0", + "@typespec/rest": "~0.60.0", + "@typespec/versioning": "~0.60.0" } }, "node_modules/@azure-tools/typespec-azure-rulesets": { - "version": "0.45.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-rulesets/-/typespec-azure-rulesets-0.45.0.tgz", - "integrity": "sha512-OpMYYc0ElxnswABud22GSqE24ZoJCRGh9fwSA8SoqsJr0uXRX7D6D5pA1FHFT3b5uBVHy0l+FFHvjz9wxfsbUw==", + "version": "0.46.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-rulesets/-/typespec-azure-rulesets-0.46.0.tgz", + "integrity": "sha512-HssO+0ARHbnuLhRiT/7l5DF2hV91Jf/MmsSPdOsDMbVZG26YsB8JD1MiBqs9VJZjB+1xn2DiimYrgqF4n9aDvw==", "dev": true, "license": "MIT", "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "~0.45.0", - "@azure-tools/typespec-azure-resource-manager": "~0.45.0", - "@azure-tools/typespec-client-generator-core": "~0.45.0", - "@typespec/compiler": "~0.59.0" + "@azure-tools/typespec-azure-core": "~0.46.0", + "@azure-tools/typespec-azure-resource-manager": "~0.46.0", + "@azure-tools/typespec-client-generator-core": "~0.46.0", + "@typespec/compiler": "~0.60.0" } }, "node_modules/@azure-tools/typespec-client-generator-cli": { @@ -785,6 +969,7 @@ "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-cli/-/typespec-client-generator-cli-0.13.0.tgz", "integrity": "sha512-50kgfm5UKNEn/DknGKOl2T6dupEYGtG+BPWeaC8dWWitSmj9DCAIb/CXtASbiI4KN2fT1kTpDnjlGdEUhXhhgw==", "dev": true, + "license": "MIT", "dependencies": { "@autorest/openapi-to-typespec": "0.10.0", "@azure-tools/rest-api-diff": ">=0.1.0 <1.0.0", @@ -810,9 +995,9 @@ } }, "node_modules/@azure-tools/typespec-client-generator-core": { - "version": "0.45.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.45.0.tgz", - "integrity": "sha512-x8F/+xBeU3Y5BLH2tcCXBaI3w/XNkaifTadp2AVuYuifL43QInQRILBvZvTb5+1c4LmvDQOnLqIbZ3cdt+9fTA==", + "version": "0.46.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.46.0.tgz", + "integrity": "sha512-Ss0dNcOeTyc9CBsNFV6OToLV7OOKidAfeewmKePtY2qAHW+CqWZnVvUHunpFt2jFs6CqjFpgU9g+1wPbLCFj9A==", "dev": true, "license": "MIT", "dependencies": { @@ -823,12 +1008,12 @@ "node": ">=18.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "~0.45.0", - "@typespec/compiler": "~0.59.0", - "@typespec/http": "~0.59.0", - "@typespec/openapi": "~0.59.0", - "@typespec/rest": "~0.59.0", - "@typespec/versioning": "~0.59.0" + "@azure-tools/typespec-azure-core": "~0.46.0", + "@typespec/compiler": "~0.60.0", + "@typespec/http": "~0.60.0", + "@typespec/openapi": "~0.60.0", + "@typespec/rest": "~0.60.0", + "@typespec/versioning": "~0.60.0" } }, "node_modules/@azure-tools/typespec-liftr-base": { @@ -1006,9 +1191,9 @@ } }, "node_modules/@azure/core-auth": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/@azure/core-auth/-/core-auth-1.7.2.tgz", - "integrity": "sha512-Igm/S3fDYmnMq1uKS38Ae1/m37B3zigdlZw+kocwEhh5GjyKjPrXKO2J6rzpC1wAxrNil/jX9BJRqBshyjnF3g==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@azure/core-auth/-/core-auth-1.8.0.tgz", + "integrity": "sha512-YvFMowkXzLbXNM11yZtVLhUCmuG0ex7JKOH366ipjmHBhL3vpDcPAeWF+jf0X+jVXwFqo3UhsWUq4kH0ZPdu/g==", "dev": true, "license": "MIT", "dependencies": { @@ -1021,10 +1206,9 @@ } }, "node_modules/@azure/core-http": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-3.0.4.tgz", - "integrity": "sha512-Fok9VVhMdxAFOtqiiAtg74fL0UJkt0z3D+ouUUxcRLzZNBioPRAMJFVxiWoJljYpXsRi4GDQHzQHDc9AiYaIUQ==", - "deprecated": "deprecating as we migrated to core v2", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-3.0.3.tgz", + "integrity": "sha512-QMib3wXotJMFhHgmJBPUF9YsyErw34H0XDFQd9CauH7TPB+RGcyl9Ayy7iURtJB04ngXhE6YwrQsWDXlSLrilg==", "dev": true, "license": "MIT", "dependencies": { @@ -1096,14 +1280,14 @@ } }, "node_modules/@azure/core-rest-pipeline": { - "version": "1.16.3", - "resolved": "https://registry.npmjs.org/@azure/core-rest-pipeline/-/core-rest-pipeline-1.16.3.tgz", - "integrity": "sha512-VxLk4AHLyqcHsfKe4MZ6IQ+D+ShuByy+RfStKfSjxJoL3WBWq17VNmrz8aT8etKzqc2nAeIyLxScjpzsS4fz8w==", + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/@azure/core-rest-pipeline/-/core-rest-pipeline-1.17.0.tgz", + "integrity": "sha512-62Vv8nC+uPId3j86XJ0WI+sBf0jlqTqPUFCBNrGtlaUeQUIXWV/D8GE5A1d+Qx8H7OQojn2WguC8kChD6v0shA==", "dev": true, "license": "MIT", "dependencies": { "@azure/abort-controller": "^2.0.0", - "@azure/core-auth": "^1.4.0", + "@azure/core-auth": "^1.8.0", "@azure/core-tracing": "^1.0.1", "@azure/core-util": "^1.9.0", "@azure/logger": "^1.0.0", @@ -1129,9 +1313,9 @@ } }, "node_modules/@azure/core-util": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/@azure/core-util/-/core-util-1.9.2.tgz", - "integrity": "sha512-l1Qrqhi4x1aekkV+OlcqsJa4AnAkj5p0JV8omgwjaV9OAbP41lvrMvs+CptfetKkeEaGRGSzby7sjPZEX7+kkQ==", + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@azure/core-util/-/core-util-1.10.0.tgz", + "integrity": "sha512-dqLWQsh9Nro1YQU+405POVtXnwrIVqPyfUzc4zXCbThTg7+vNNaiMkwbX9AMXKyoFYFClxmB3s25ZFr3+jZkww==", "dev": true, "license": "MIT", "dependencies": { @@ -1920,9 +2104,9 @@ "license": "MIT" }, "node_modules/@eslint/js": { - "version": "9.9.1", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.9.1.tgz", - "integrity": "sha512-xIDQRsfg5hNBqHz04H1R3scSVwmI+KUbqjsQKHKQ1DAUSaUjYPReZZmS/5PNiKu1fUvzDd6H7DEDKACSEhu+TQ==", + "version": "9.10.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.10.0.tgz", + "integrity": "sha512-fuXtbiP5GWIn8Fz+LWoOMVf/Jxm+aajZYkhi6CuEm4SxymFM+eUWzbO9qXT+L0iCkL5+KGYMCSGxo686H19S1g==", "dev": true, "license": "MIT", "engines": { @@ -2003,9 +2187,9 @@ } }, "node_modules/@isaacs/cliui/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", "dev": true, "license": "MIT", "engines": { @@ -2396,9 +2580,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.21.2.tgz", - "integrity": "sha512-fSuPrt0ZO8uXeS+xP3b+yYTCBUd05MoSp2N/MFOgjhhUhMmchXlpTQrTpI8T+YAwAQuK7MafsCOxW7VrPMrJcg==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.21.3.tgz", + "integrity": "sha512-MmKSfaB9GX+zXl6E8z4koOr/xU63AMVleLEa64v7R0QF/ZloMs5vcD1sHgM64GXXS1csaJutG+ddtzcueI/BLg==", "cpu": [ "arm" ], @@ -2410,9 +2594,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.21.2.tgz", - "integrity": "sha512-xGU5ZQmPlsjQS6tzTTGwMsnKUtu0WVbl0hYpTPauvbRAnmIvpInhJtgjj3mcuJpEiuUw4v1s4BimkdfDWlh7gA==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.21.3.tgz", + "integrity": "sha512-zrt8ecH07PE3sB4jPOggweBjJMzI1JG5xI2DIsUbkA+7K+Gkjys6eV7i9pOenNSDJH3eOr/jLb/PzqtmdwDq5g==", "cpu": [ "arm64" ], @@ -2424,9 +2608,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.21.2.tgz", - "integrity": "sha512-99AhQ3/ZMxU7jw34Sq8brzXqWH/bMnf7ZVhvLk9QU2cOepbQSVTns6qoErJmSiAvU3InRqC2RRZ5ovh1KN0d0Q==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.21.3.tgz", + "integrity": "sha512-P0UxIOrKNBFTQaXTxOH4RxuEBVCgEA5UTNV6Yz7z9QHnUJ7eLX9reOd/NYMO3+XZO2cco19mXTxDMXxit4R/eQ==", "cpu": [ "arm64" ], @@ -2438,9 +2622,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.21.2.tgz", - "integrity": "sha512-ZbRaUvw2iN/y37x6dY50D8m2BnDbBjlnMPotDi/qITMJ4sIxNY33HArjikDyakhSv0+ybdUxhWxE6kTI4oX26w==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.21.3.tgz", + "integrity": "sha512-L1M0vKGO5ASKntqtsFEjTq/fD91vAqnzeaF6sfNAy55aD+Hi2pBI5DKwCO+UNDQHWsDViJLqshxOahXyLSh3EA==", "cpu": [ "x64" ], @@ -2452,9 +2636,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.21.2.tgz", - "integrity": "sha512-ztRJJMiE8nnU1YFcdbd9BcH6bGWG1z+jP+IPW2oDUAPxPjo9dverIOyXz76m6IPA6udEL12reYeLojzW2cYL7w==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.21.3.tgz", + "integrity": "sha512-btVgIsCjuYFKUjopPoWiDqmoUXQDiW2A4C3Mtmp5vACm7/GnyuprqIDPNczeyR5W8rTXEbkmrJux7cJmD99D2g==", "cpu": [ "arm" ], @@ -2466,9 +2650,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.21.2.tgz", - "integrity": "sha512-flOcGHDZajGKYpLV0JNc0VFH361M7rnV1ee+NTeC/BQQ1/0pllYcFmxpagltANYt8FYf9+kL6RSk80Ziwyhr7w==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.21.3.tgz", + "integrity": "sha512-zmjbSphplZlau6ZTkxd3+NMtE4UKVy7U4aVFMmHcgO5CUbw17ZP6QCgyxhzGaU/wFFdTfiojjbLG3/0p9HhAqA==", "cpu": [ "arm" ], @@ -2480,9 +2664,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.21.2.tgz", - "integrity": "sha512-69CF19Kp3TdMopyteO/LJbWufOzqqXzkrv4L2sP8kfMaAQ6iwky7NoXTp7bD6/irKgknDKM0P9E/1l5XxVQAhw==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.21.3.tgz", + "integrity": "sha512-nSZfcZtAnQPRZmUkUQwZq2OjQciR6tEoJaZVFvLHsj0MF6QhNMg0fQ6mUOsiCUpTqxTx0/O6gX0V/nYc7LrgPw==", "cpu": [ "arm64" ], @@ -2494,9 +2678,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.21.2.tgz", - "integrity": "sha512-48pD/fJkTiHAZTnZwR0VzHrao70/4MlzJrq0ZsILjLW/Ab/1XlVUStYyGt7tdyIiVSlGZbnliqmult/QGA2O2w==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.21.3.tgz", + "integrity": "sha512-MnvSPGO8KJXIMGlQDYfvYS3IosFN2rKsvxRpPO2l2cum+Z3exiExLwVU+GExL96pn8IP+GdH8Tz70EpBhO0sIQ==", "cpu": [ "arm64" ], @@ -2508,9 +2692,9 @@ ] }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.21.2.tgz", - "integrity": "sha512-cZdyuInj0ofc7mAQpKcPR2a2iu4YM4FQfuUzCVA2u4HI95lCwzjoPtdWjdpDKyHxI0UO82bLDoOaLfpZ/wviyQ==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.21.3.tgz", + "integrity": "sha512-+W+p/9QNDr2vE2AXU0qIy0qQE75E8RTwTwgqS2G5CRQ11vzq0tbnfBd6brWhS9bCRjAjepJe2fvvkvS3dno+iw==", "cpu": [ "ppc64" ], @@ -2522,9 +2706,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.21.2.tgz", - "integrity": "sha512-RL56JMT6NwQ0lXIQmMIWr1SW28z4E4pOhRRNqwWZeXpRlykRIlEpSWdsgNWJbYBEWD84eocjSGDu/XxbYeCmwg==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.21.3.tgz", + "integrity": "sha512-yXH6K6KfqGXaxHrtr+Uoy+JpNlUlI46BKVyonGiaD74ravdnF9BUNC+vV+SIuB96hUMGShhKV693rF9QDfO6nQ==", "cpu": [ "riscv64" ], @@ -2536,9 +2720,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.21.2.tgz", - "integrity": "sha512-PMxkrWS9z38bCr3rWvDFVGD6sFeZJw4iQlhrup7ReGmfn7Oukrr/zweLhYX6v2/8J6Cep9IEA/SmjXjCmSbrMQ==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.21.3.tgz", + "integrity": "sha512-R8cwY9wcnApN/KDYWTH4gV/ypvy9yZUHlbJvfaiXSB48JO3KpwSpjOGqO4jnGkLDSk1hgjYkTbTt6Q7uvPf8eg==", "cpu": [ "s390x" ], @@ -2550,9 +2734,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.21.2.tgz", - "integrity": "sha512-B90tYAUoLhU22olrafY3JQCFLnT3NglazdwkHyxNDYF/zAxJt5fJUB/yBoWFoIQ7SQj+KLe3iL4BhOMa9fzgpw==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.21.3.tgz", + "integrity": "sha512-kZPbX/NOPh0vhS5sI+dR8L1bU2cSO9FgxwM8r7wHzGydzfSjLRCFAT87GR5U9scj2rhzN3JPYVC7NoBbl4FZ0g==", "cpu": [ "x64" ], @@ -2564,9 +2748,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.21.2.tgz", - "integrity": "sha512-7twFizNXudESmC9oneLGIUmoHiiLppz/Xs5uJQ4ShvE6234K0VB1/aJYU3f/4g7PhssLGKBVCC37uRkkOi8wjg==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.21.3.tgz", + "integrity": "sha512-S0Yq+xA1VEH66uiMNhijsWAafffydd2X5b77eLHfRmfLsRSpbiAWiRHV6DEpz6aOToPsgid7TI9rGd6zB1rhbg==", "cpu": [ "x64" ], @@ -2578,9 +2762,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.21.2.tgz", - "integrity": "sha512-9rRero0E7qTeYf6+rFh3AErTNU1VCQg2mn7CQcI44vNUWM9Ze7MSRS/9RFuSsox+vstRt97+x3sOhEey024FRQ==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.21.3.tgz", + "integrity": "sha512-9isNzeL34yquCPyerog+IMCNxKR8XYmGd0tHSV+OVx0TmE0aJOo9uw4fZfUuk2qxobP5sug6vNdZR6u7Mw7Q+Q==", "cpu": [ "arm64" ], @@ -2592,9 +2776,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.21.2.tgz", - "integrity": "sha512-5rA4vjlqgrpbFVVHX3qkrCo/fZTj1q0Xxpg+Z7yIo3J2AilW7t2+n6Q8Jrx+4MrYpAnjttTYF8rr7bP46BPzRw==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.21.3.tgz", + "integrity": "sha512-nMIdKnfZfzn1Vsk+RuOvl43ONTZXoAPUUxgcU0tXooqg4YrAqzfKzVenqqk2g5efWh46/D28cKFrOzDSW28gTA==", "cpu": [ "ia32" ], @@ -2606,9 +2790,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.21.2.tgz", - "integrity": "sha512-6UUxd0+SKomjdzuAcp+HAmxw1FlGBnl1v2yEPSabtx4lBfdXHDVsW7+lQkgz9cNFJGY3AWR7+V8P5BqkD9L9nA==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.21.3.tgz", + "integrity": "sha512-fOvu7PCQjAj4eWDEuD8Xz5gpzFqXzGlxHZozHP4b9Jxv9APtdxL6STqztDzMLuRXEc4UpXGGhx029Xgm91QBeA==", "cpu": [ "x64" ], @@ -3259,9 +3443,9 @@ } }, "node_modules/@typespec/compiler": { - "version": "0.59.1", - "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-0.59.1.tgz", - "integrity": "sha512-O2ljgr6YoFaIH6a8lWc90/czdv4B2X6N9wz4WsnQnVvgO0Tj0s+3xkvp4Tv59RKMhT0f3fK6dL8oEGO32FYk1A==", + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-0.60.0.tgz", + "integrity": "sha512-qAS99tJv6RvxSescfxRVal4QWSfdf3BzIOgE8+Az6emL68aTE/W8zQ0Ijpgmhax7sC2AnLTxCK1tM9kj1YguRw==", "dev": true, "license": "MIT", "dependencies": { @@ -3302,36 +3486,36 @@ } }, "node_modules/@typespec/http": { - "version": "0.59.1", - "resolved": "https://registry.npmjs.org/@typespec/http/-/http-0.59.1.tgz", - "integrity": "sha512-Ai8oCAO+Bw1HMSZ9gOI5Od4fNn/ul4HrVtTB01xFuLK6FQj854pxhzao8ylPnr7gIRQ327FV12/QfXR87yCiYQ==", + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@typespec/http/-/http-0.60.0.tgz", + "integrity": "sha512-ktfS9vpHfltyeAaQLNAZdqrn6Per3vmB/HDH/iyudYLA5wWblT1siKvpFCMWq53CJorRO7yeOKv+Q/M26zwEtg==", "dev": true, "license": "MIT", "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.59.0" + "@typespec/compiler": "~0.60.0" } }, "node_modules/@typespec/openapi": { - "version": "0.59.0", - "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-0.59.0.tgz", - "integrity": "sha512-do1Dm5w0MuK3994gYTBg6qMfgeIxmmsDqnz3zimYKMPpbnUBi4F6/o4iCfn0Fn9kaNl+H6UlOzZpsZW9xHui1Q==", + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-0.60.0.tgz", + "integrity": "sha512-YVwLppgHY8r/MudHNSLSUXzdw+CIpjmb31gI2a0KDGnI6sWDwY7LSWfjGU4TY/ubt0+X0Tjoy330mTvw71YBTg==", "dev": true, "license": "MIT", "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.59.0", - "@typespec/http": "~0.59.0" + "@typespec/compiler": "~0.60.0", + "@typespec/http": "~0.60.0" } }, "node_modules/@typespec/openapi3": { - "version": "0.59.1", - "resolved": "https://registry.npmjs.org/@typespec/openapi3/-/openapi3-0.59.1.tgz", - "integrity": "sha512-89VbUbkWKxeFgE0w0hpVyk1UZ6ZHRxOhcAHvF5MgxQxEhs2ALXKAqapWjFQsYrLBhAUoWzdPFrJJUMbwF9kX0Q==", + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@typespec/openapi3/-/openapi3-0.60.0.tgz", + "integrity": "sha512-gvrTHZACdeQtV7GfhVOHqkyTgMFyM2nKAIiz2P83LIncMCDUc00bGKGmaBk+xpuwKtCJyxBeVpCbID31YAq96g==", "dev": true, "license": "MIT", "dependencies": { @@ -3345,10 +3529,10 @@ "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.59.0", - "@typespec/http": "~0.59.1", - "@typespec/openapi": "~0.59.0", - "@typespec/versioning": "~0.59.0" + "@typespec/compiler": "~0.60.0", + "@typespec/http": "~0.60.0", + "@typespec/openapi": "~0.60.0", + "@typespec/versioning": "~0.60.0" } }, "node_modules/@typespec/openapi3/node_modules/yaml": { @@ -3369,35 +3553,36 @@ "resolved": "https://registry.npmjs.org/@typespec/prettier-plugin-typespec/-/prettier-plugin-typespec-0.59.0.tgz", "integrity": "sha512-6baXmjOKvvxGOH+rH/kAn7FaR+agdPN8iw+kT08XvWdLrsQXECDTl0lb2pH1RztWIfL3fC7SwoT/naEztNVDog==", "dev": true, + "license": "MIT", "dependencies": { "prettier": "~3.3.3" } }, "node_modules/@typespec/rest": { - "version": "0.59.1", - "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.59.1.tgz", - "integrity": "sha512-uKU431jBYL2tVQWG5THA75+OtXDa1e8cMAafYK/JJRRiVRd8D/Epd8fp07dzlB8tFGrhCaGlekRMqFPFrHh2/A==", + "version": "0.60.0", + "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.60.0.tgz", + "integrity": "sha512-mHYubyuBvwdV2xkHrJfPwV7b/Ksyb9lA1Q/AQwpVFa7Qu1X075TBVALmH+hK3V0EdUG1CGJZ5Sw4BWgl8ZS0BA==", "dev": true, "license": "MIT", "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.59.0", - "@typespec/http": "~0.59.1" + "@typespec/compiler": "~0.60.0", + "@typespec/http": "~0.60.0" } }, "node_modules/@typespec/versioning": { - "version": "0.59.0", - "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.59.0.tgz", - "integrity": "sha512-aihO/ux0lLmsuYAdGVkiBflSudcZokYG42SELk1FtMFo609G3Pd7ep7hau6unBnMIceQZejB0ow5UGRupK4X5A==", + "version": "0.60.1", + "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.60.1.tgz", + "integrity": "sha512-HogYL7P9uOPoSvkLLDjF22S6E9td6EY3c6TcIHhCzDTAQoi54csikD0gNrtcCkFG0UeQk29HgQymV397j+vp4g==", "dev": true, "license": "MIT", "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.59.0" + "@typespec/compiler": "~0.60.0" } }, "node_modules/@ungap/structured-clone": { @@ -3408,14 +3593,14 @@ "license": "ISC" }, "node_modules/@vitest/expect": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-2.0.5.tgz", - "integrity": "sha512-yHZtwuP7JZivj65Gxoi8upUN2OzHTi3zVfjwdpu2WrvCZPLwsJ2Ey5ILIPccoW23dd/zQBlJ4/dhi7DWNyXCpA==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-2.1.0.tgz", + "integrity": "sha512-N3/xR4fSu0+6sVZETEtPT1orUs2+Y477JOXTcU3xKuu3uBlsgbD7/7Mz2LZ1Jr1XjwilEWlrIgSCj4N1+5ZmsQ==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/spy": "2.0.5", - "@vitest/utils": "2.0.5", + "@vitest/spy": "2.1.0", + "@vitest/utils": "2.1.0", "chai": "^5.1.1", "tinyrainbow": "^1.2.0" }, @@ -3424,9 +3609,9 @@ } }, "node_modules/@vitest/pretty-format": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-2.0.5.tgz", - "integrity": "sha512-h8k+1oWHfwTkyTkb9egzwNMfJAEx4veaPSnMeKbVSjp4euqGSbQlm5+6VHwTr7u4FJslVVsUG5nopCaAYdOmSQ==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@vitest/pretty-format/-/pretty-format-2.1.0.tgz", + "integrity": "sha512-7sxf2F3DNYatgmzXXcTh6cq+/fxwB47RIQqZJFoSH883wnVAoccSRT6g+dTKemUBo8Q5N4OYYj1EBXLuRKvp3Q==", "dev": true, "license": "MIT", "dependencies": { @@ -3437,13 +3622,13 @@ } }, "node_modules/@vitest/runner": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-2.0.5.tgz", - "integrity": "sha512-TfRfZa6Bkk9ky4tW0z20WKXFEwwvWhRY+84CnSEtq4+3ZvDlJyY32oNTJtM7AW9ihW90tX/1Q78cb6FjoAs+ig==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-2.1.0.tgz", + "integrity": "sha512-D9+ZiB8MbMt7qWDRJc4CRNNUlne/8E1X7dcKhZVAbcOKG58MGGYVDqAq19xlhNfMFZsW0bpVKgztBwks38Ko0w==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/utils": "2.0.5", + "@vitest/utils": "2.1.0", "pathe": "^1.1.2" }, "funding": { @@ -3451,14 +3636,14 @@ } }, "node_modules/@vitest/snapshot": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-2.0.5.tgz", - "integrity": "sha512-SgCPUeDFLaM0mIUHfaArq8fD2WbaXG/zVXjRupthYfYGzc8ztbFbu6dUNOblBG7XLMR1kEhS/DNnfCZ2IhdDew==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-2.1.0.tgz", + "integrity": "sha512-x69CygGMzt9VCO283K2/FYQ+nBrOj66OTKpsPykjCR4Ac3lLV+m85hj9reaIGmjBSsKzVvbxWmjWE3kF5ha3uQ==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/pretty-format": "2.0.5", - "magic-string": "^0.30.10", + "@vitest/pretty-format": "2.1.0", + "magic-string": "^0.30.11", "pathe": "^1.1.2" }, "funding": { @@ -3466,9 +3651,9 @@ } }, "node_modules/@vitest/spy": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-2.0.5.tgz", - "integrity": "sha512-c/jdthAhvJdpfVuaexSrnawxZz6pywlTPe84LUB2m/4t3rl2fTo9NFGBG4oWgaD+FTgDDV8hJ/nibT7IfH3JfA==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-2.1.0.tgz", + "integrity": "sha512-IXX5NkbdgTYTog3F14i2LgnBc+20YmkXMx0IWai84mcxySUDRgm0ihbOfR4L0EVRBDFG85GjmQQEZNNKVVpkZw==", "dev": true, "license": "MIT", "dependencies": { @@ -3479,14 +3664,13 @@ } }, "node_modules/@vitest/utils": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-2.0.5.tgz", - "integrity": "sha512-d8HKbqIcya+GR67mkZbrzhS5kKhtp8dQLcmRZLGTscGVg7yImT82cIrhtn2L8+VujWcy6KZweApgNmPsTAO/UQ==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-2.1.0.tgz", + "integrity": "sha512-rreyfVe0PuNqJfKYUwfPDfi6rrp0VSu0Wgvp5WBqJonP+4NvXHk48X6oBam1Lj47Hy6jbJtnMj3OcRdrkTP0tA==", "dev": true, "license": "MIT", "dependencies": { - "@vitest/pretty-format": "2.0.5", - "estree-walker": "^3.0.3", + "@vitest/pretty-format": "2.1.0", "loupe": "^3.1.1", "tinyrainbow": "^1.2.0" }, @@ -3531,9 +3715,9 @@ } }, "node_modules/acorn-walk": { - "version": "8.3.3", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.3.tgz", - "integrity": "sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==", + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", + "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", "dev": true, "license": "MIT", "dependencies": { @@ -3910,9 +4094,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001655", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001655.tgz", - "integrity": "sha512-jRGVy3iSGO5Uutn2owlb5gR6qsGngTw9ZTb4ali9f3glshcNmJ2noam4Mo9zia5P9Dk3jNNydy7vQjuE5dQmfg==", + "version": "1.0.30001660", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001660.tgz", + "integrity": "sha512-GacvNTTuATm26qC74pt+ad1fW15mlQ/zuTzzY1ZoIzECTP8HURDfF43kNxPgf7H1jmelCBQTTbBNxdSXOA7Bqg==", "dev": true, "funding": [ { @@ -3979,6 +4163,7 @@ "resolved": "https://registry.npmjs.org/change-case-all/-/change-case-all-2.1.0.tgz", "integrity": "sha512-v6b0WWWkZUMHVuYk82l+WROgkUm4qEN2w5hKRNWtEOYwWqUGoi8C6xH0l1RLF1EoWqDFK6MFclmN3od6ws3/uw==", "dev": true, + "license": "MIT", "dependencies": { "change-case": "^5.2.0", "sponge-case": "^2.0.2", @@ -4312,13 +4497,13 @@ } }, "node_modules/debug": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", - "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "dev": true, "license": "MIT", "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -4485,9 +4670,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.13", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.13.tgz", - "integrity": "sha512-lbBcvtIJ4J6sS4tb5TLp1b4LyfCdMkwStzXPyAgVgTRAsep4bvrAGaBOP7ZJtQMNJpSQ9SqG4brWOroNaQtm7Q==", + "version": "1.5.20", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.20.tgz", + "integrity": "sha512-74mdl6Fs1HHzK9SUX4CKFxAtAe3nUns48y79TskHNAG6fGOlLfyKA4j855x+0b5u8rWJIrlaG9tcTPstMlwjIw==", "dev": true, "license": "ISC" }, @@ -6131,9 +6316,9 @@ "license": "MIT" }, "node_modules/is-unicode-supported": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.0.0.tgz", - "integrity": "sha512-FRdAyx5lusK1iHG0TWpVtk9+1i+GjrzRffhDg4ovQ7mcidMQ6mj+MhKPmvh7Xwyv5gIS06ns49CA7Sqg7lC22Q==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", + "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==", "dev": true, "license": "MIT", "engines": { @@ -6726,13 +6911,6 @@ "dev": true, "license": "MIT" }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true, - "license": "MIT" - }, "node_modules/merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", @@ -6790,19 +6968,6 @@ "node": ">= 0.6" } }, - "node_modules/mimic-fn": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", - "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/min-indent": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", @@ -6877,9 +7042,9 @@ } }, "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "dev": true, "license": "MIT" }, @@ -7416,22 +7581,6 @@ "fn.name": "1.x.x" } }, - "node_modules/onetime": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", - "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "mimic-fn": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/openapi-types": { "version": "12.1.3", "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-12.1.3.tgz", @@ -7608,9 +7757,9 @@ "license": "ISC" }, "node_modules/path-to-regexp": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.2.tgz", - "integrity": "sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.3.0.tgz", + "integrity": "sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==", "dev": true, "license": "MIT" }, @@ -7682,9 +7831,9 @@ } }, "node_modules/postcss": { - "version": "8.4.44", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.44.tgz", - "integrity": "sha512-Aweb9unOEpQ3ezu4Q00DPvvM2ZTUitJdNKeP/+uQgr1IBIqu574IaZoURId7BKtWMREwzKa9OgzPzezWGPWFQw==", + "version": "8.4.45", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.45.tgz", + "integrity": "sha512-7KTLTdzdZZYscUc65XmjFiB73vBhBfbPztCYdUNvlaso9PrzjzcmjqBPR0lNGkcVlcO4BjiO5rK/qNz+XAen1Q==", "dev": true, "funding": [ { @@ -8039,6 +8188,7 @@ "resolved": "https://registry.npmjs.org/proper-lockfile/-/proper-lockfile-2.0.1.tgz", "integrity": "sha512-rjaeGbsmhNDcDInmwi4MuI6mRwJu6zq8GjYCLuSuE7GF+4UjgzkL69sVKKJ2T2xH61kK7rXvGYpvaTu909oXaQ==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.1.2", "retry": "^0.10.0" @@ -8052,6 +8202,7 @@ "resolved": "https://registry.npmjs.org/retry/-/retry-0.10.1.tgz", "integrity": "sha512-ZXUSQYTHdl3uS7IuCehYfMzKyIDBNoAuUblvy5oGO5UJSUTmStUUVPXbA9Qxd173Bgre53yCQczQuHgRWAdvJQ==", "dev": true, + "license": "MIT", "engines": { "node": "*" } @@ -8327,9 +8478,9 @@ } }, "node_modules/rollup": { - "version": "4.21.2", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.21.2.tgz", - "integrity": "sha512-e3TapAgYf9xjdLvKQCkQTnbTKd4a6jwlpQSJJFokHGaX2IVjoEqkIIhiQfqsi0cdwlOD+tQGuOd5AJkc5RngBw==", + "version": "4.21.3", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.21.3.tgz", + "integrity": "sha512-7sqRtBNnEbcBtMeRVc6VRsJMmpI+JU1z9VTvW8D4gXIYQFz0aLcsE6rRkyghZkLfEgUZgVvOG7A5CVz/VW5GIA==", "dev": true, "license": "MIT", "dependencies": { @@ -8343,22 +8494,22 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.21.2", - "@rollup/rollup-android-arm64": "4.21.2", - "@rollup/rollup-darwin-arm64": "4.21.2", - "@rollup/rollup-darwin-x64": "4.21.2", - "@rollup/rollup-linux-arm-gnueabihf": "4.21.2", - "@rollup/rollup-linux-arm-musleabihf": "4.21.2", - "@rollup/rollup-linux-arm64-gnu": "4.21.2", - "@rollup/rollup-linux-arm64-musl": "4.21.2", - "@rollup/rollup-linux-powerpc64le-gnu": "4.21.2", - "@rollup/rollup-linux-riscv64-gnu": "4.21.2", - "@rollup/rollup-linux-s390x-gnu": "4.21.2", - "@rollup/rollup-linux-x64-gnu": "4.21.2", - "@rollup/rollup-linux-x64-musl": "4.21.2", - "@rollup/rollup-win32-arm64-msvc": "4.21.2", - "@rollup/rollup-win32-ia32-msvc": "4.21.2", - "@rollup/rollup-win32-x64-msvc": "4.21.2", + "@rollup/rollup-android-arm-eabi": "4.21.3", + "@rollup/rollup-android-arm64": "4.21.3", + "@rollup/rollup-darwin-arm64": "4.21.3", + "@rollup/rollup-darwin-x64": "4.21.3", + "@rollup/rollup-linux-arm-gnueabihf": "4.21.3", + "@rollup/rollup-linux-arm-musleabihf": "4.21.3", + "@rollup/rollup-linux-arm64-gnu": "4.21.3", + "@rollup/rollup-linux-arm64-musl": "4.21.3", + "@rollup/rollup-linux-powerpc64le-gnu": "4.21.3", + "@rollup/rollup-linux-riscv64-gnu": "4.21.3", + "@rollup/rollup-linux-s390x-gnu": "4.21.3", + "@rollup/rollup-linux-x64-gnu": "4.21.3", + "@rollup/rollup-linux-x64-musl": "4.21.3", + "@rollup/rollup-win32-arm64-msvc": "4.21.3", + "@rollup/rollup-win32-ia32-msvc": "4.21.3", + "@rollup/rollup-win32-x64-msvc": "4.21.3", "fsevents": "~2.3.2" } }, @@ -8581,9 +8732,9 @@ } }, "node_modules/source-map-js": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", - "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", "dev": true, "license": "BSD-3-Clause", "engines": { @@ -8630,7 +8781,8 @@ "version": "2.0.3", "resolved": "https://registry.npmjs.org/sponge-case/-/sponge-case-2.0.3.tgz", "integrity": "sha512-i4h9ZGRfxV6Xw3mpZSFOfbXjf0cQcYmssGWutgNIfFZ2VM+YIWfD71N/kjjwK6X/AAHzBr+rciEcn/L34S8TGw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/sprintf-js": { "version": "1.0.3", @@ -8901,7 +9053,8 @@ "version": "3.0.3", "resolved": "https://registry.npmjs.org/swap-case/-/swap-case-3.0.3.tgz", "integrity": "sha512-6p4op8wE9CQv7uDFzulI6YXUw4lD9n4oQierdbFThEKVWVQcbQcUjdP27W8XE7V4QnWmnq9jueSHceyyQnqQVA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/teleport-javascript": { "version": "1.0.0", @@ -9010,6 +9163,13 @@ "dev": true, "license": "MIT" }, + "node_modules/tinyexec": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.0.tgz", + "integrity": "sha512-tVGE0mVJPGb0chKhqmsoosjsS+qUnJVGJpZgsHYQcGoPlG3B51R3PouqTgEGH2Dc9jjFyOqOpix6ZHNMXp1FZg==", + "dev": true, + "license": "MIT" + }, "node_modules/tinypool": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-1.0.1.tgz", @@ -9031,9 +9191,9 @@ } }, "node_modules/tinyspy": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-3.0.0.tgz", - "integrity": "sha512-q5nmENpTHgiPVd1cJDDc9cVoYN5x4vCvwT3FMilvKPKneCBZAxn2YWQjDF0UMcE9k0Cay1gBiDfTMU0g+mPMQA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-3.0.2.tgz", + "integrity": "sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==", "dev": true, "license": "MIT", "engines": { @@ -9045,6 +9205,7 @@ "resolved": "https://registry.npmjs.org/title-case/-/title-case-3.0.3.tgz", "integrity": "sha512-e1zGYRvbffpcHIrnuqT0Dh+gEJtDaxDSoG4JAIpq4oDFyooziLBIiYQv0GBT4FUAnUop5uZ1hiIAj7oAF6sOCA==", "dev": true, + "license": "MIT", "dependencies": { "tslib": "^2.0.3" } @@ -9377,16 +9538,15 @@ } }, "node_modules/vite-node": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-2.0.5.tgz", - "integrity": "sha512-LdsW4pxj0Ot69FAoXZ1yTnA9bjGohr2yNBU7QKRxpz8ITSkhuDl6h3zS/tvgz4qrNjeRnvrWeXQ8ZF7Um4W00Q==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-2.1.0.tgz", + "integrity": "sha512-+ybYqBVUjYyIscoLzMWodus2enQDZOpGhcU6HdOVD6n8WZdk12w1GFL3mbnxLs7hPtRtqs1Wo5YF6/Tsr6fmhg==", "dev": true, "license": "MIT", "dependencies": { "cac": "^6.7.14", - "debug": "^4.3.5", + "debug": "^4.3.6", "pathe": "^1.1.2", - "tinyrainbow": "^1.2.0", "vite": "^5.0.0" }, "bin": { @@ -9400,9 +9560,9 @@ } }, "node_modules/vite-node/node_modules/@types/node": { - "version": "22.5.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.3.tgz", - "integrity": "sha512-njripolh85IA9SQGTAqbmnNZTdxv7X/4OYGPz8tgy5JDr8MP+uDBa921GpYEoDDnwm0Hmn5ZPeJgiiSTPoOzkQ==", + "version": "22.5.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.4.tgz", + "integrity": "sha512-FDuKUJQm/ju9fT/SeX/6+gBzoPzlVCzfzmGkwKvRHQVxi4BntVbyIwf6a4Xn62mrvndLiml6z/UBXIdEVjQLXg==", "dev": true, "license": "MIT", "optional": true, @@ -9421,9 +9581,9 @@ "peer": true }, "node_modules/vite-node/node_modules/vite": { - "version": "5.4.3", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.3.tgz", - "integrity": "sha512-IH+nl64eq9lJjFqU+/yrRnrHPVTlgy42/+IzbOdaFDVlyLgI/wDlf+FCobXLX1cT0X5+7LMyH1mIy2xJdLfo8Q==", + "version": "5.4.4", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.4.tgz", + "integrity": "sha512-RHFCkULitycHVTtelJ6jQLd+KSAAzOgEYorV32R2q++M6COBjKJR6BxqClwp5sf0XaBDjVMuJ9wnNfyAJwjMkA==", "dev": true, "license": "MIT", "dependencies": { @@ -9485,6 +9645,7 @@ "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-3.6.2.tgz", "integrity": "sha512-T24Jb5V48e4VgYliUXMnZ379ItbrXgOimweKaJshD84z+8q7ZOZjJan0MeDe+Ugb+uqERDVV8SBmemaGMSMugA==", "dev": true, + "license": "MIT", "engines": { "node": ">=4.0.0 || >=6.0.0" } diff --git a/package.json b/package.json index ae59f7c41d91..735613026a16 100644 --- a/package.json +++ b/package.json @@ -2,21 +2,21 @@ "name": "azure-rest-api-specs", "devDependencies": { "@azure-tools/typespec-apiview": "0.4.9", - "@azure-tools/typespec-autorest": "0.45.0", - "@azure-tools/typespec-azure-core": "0.45.0", - "@azure-tools/typespec-azure-portal-core": "0.45.0", - "@azure-tools/typespec-azure-resource-manager": "0.45.0", - "@azure-tools/typespec-azure-rulesets": "0.45.0", + "@azure-tools/typespec-autorest": "0.46.0", + "@azure-tools/typespec-azure-core": "0.46.0", + "@azure-tools/typespec-azure-portal-core": "0.46.0", + "@azure-tools/typespec-azure-resource-manager": "0.46.0", + "@azure-tools/typespec-azure-rulesets": "0.46.0", "@azure-tools/typespec-client-generator-cli": "0.13.0", - "@azure-tools/typespec-client-generator-core": "0.45.0", + "@azure-tools/typespec-client-generator-core": "0.46.0", "@azure-tools/typespec-liftr-base": "0.4.0", "@azure/avocado": "^0.8.4", - "@typespec/compiler": "0.59.1", - "@typespec/http": "0.59.1", - "@typespec/openapi": "0.59.0", - "@typespec/openapi3": "0.59.1", - "@typespec/rest": "0.59.1", - "@typespec/versioning": "0.59.0", + "@typespec/compiler": "0.60.0", + "@typespec/http": "0.60.0", + "@typespec/openapi": "0.60.0", + "@typespec/openapi3": "0.60.0", + "@typespec/rest": "0.60.0", + "@typespec/versioning": "0.60.1", "azure-rest-api-specs-eng-tools": "file:eng/tools", "oav": "^3.3.7", "prettier": "~3.3.3", diff --git a/specification/ai/DocumentIntelligence/models.tsp b/specification/ai/DocumentIntelligence/models.tsp index 56dee597bdd1..f5863bdbeb5f 100644 --- a/specification/ai/DocumentIntelligence/models.tsp +++ b/specification/ai/DocumentIntelligence/models.tsp @@ -1265,7 +1265,6 @@ model AuthorizeCopyRequest { """) model CopyAuthorization { @doc("ID of the target Azure resource where the document model should be copied to.") - @extension("x-ms-azure-resource", true) targetResourceId: string; @doc(""" @@ -1310,7 +1309,6 @@ model AuthorizeClassifierCopyRequest { """) model ClassifierCopyAuthorization { @doc("ID of the target Azure resource where the document classifier should be copied to.") - @extension("x-ms-azure-resource", true) targetResourceId: string; @doc(""" diff --git a/specification/ai/DocumentIntelligence/tspconfig.yaml b/specification/ai/DocumentIntelligence/tspconfig.yaml index e2a695eedbf9..42384ac0413f 100644 --- a/specification/ai/DocumentIntelligence/tspconfig.yaml +++ b/specification/ai/DocumentIntelligence/tspconfig.yaml @@ -15,7 +15,6 @@ options: azure-resource-provider-folder: "data-plane" emit-lro-options: "none" emitter-output-dir: "{project-root}/.." - examples-directory: "examples" omit-unreachable-types: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/DocumentIntelligence.json" "@azure-tools/typespec-python": diff --git a/specification/ai/Face/tspconfig.yaml b/specification/ai/Face/tspconfig.yaml index aab67d1c771f..69333ed57336 100644 --- a/specification/ai/Face/tspconfig.yaml +++ b/specification/ai/Face/tspconfig.yaml @@ -11,7 +11,6 @@ options: azure-resource-provider-folder: "data-plane" emit-lro-options: "none" emitter-output-dir: "{project-root}/.." - examples-directory: "examples" omit-unreachable-types: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/Face.json" "@azure-tools/typespec-python": diff --git a/specification/ai/HealthInsights/HealthInsights.OpenAPI/tspconfig.yaml b/specification/ai/HealthInsights/HealthInsights.OpenAPI/tspconfig.yaml index 4594c77237d3..5808e46c70d6 100644 --- a/specification/ai/HealthInsights/HealthInsights.OpenAPI/tspconfig.yaml +++ b/specification/ai/HealthInsights/HealthInsights.OpenAPI/tspconfig.yaml @@ -13,6 +13,5 @@ options: azure-resource-provider-folder: "data-plane" emit-lro-options: "none" emitter-output-dir: "{project-root}/../.." - examples-directory: examples omit-unreachable-types: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json" diff --git a/specification/ai/ImageAnalysis/tspconfig.yaml b/specification/ai/ImageAnalysis/tspconfig.yaml index 3e15fc0cce52..968e244f118a 100644 --- a/specification/ai/ImageAnalysis/tspconfig.yaml +++ b/specification/ai/ImageAnalysis/tspconfig.yaml @@ -12,7 +12,6 @@ options: output-file: "{azure-resource-provider-folder}/ImageAnalysis/{version-status}/{version}/generated.json" azure-resource-provider-folder: "data-plane" emit-lro-options: "none" - examples-directory: examples omit-unreachable-types: true "@azure-tools/typespec-python": package-dir: "azure-ai-vision-imageanalysis" diff --git a/specification/ai/OpenAI.Assistants/assistants/routes.tsp b/specification/ai/OpenAI.Assistants/assistants/routes.tsp index 8c03597f64a0..cc9df3039efa 100644 --- a/specification/ai/OpenAI.Assistants/assistants/routes.tsp +++ b/specification/ai/OpenAI.Assistants/assistants/routes.tsp @@ -15,7 +15,7 @@ namespace Azure.AI.OpenAI.Assistants; * @returns The new assistant instance. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @post @added(ServiceApiVersions.v2024_02_15_preview) @@ -35,7 +35,7 @@ op createAssistant( */ #suppress "@azure-tools/typespec-azure-core/use-standard-names" "mirrored API responds with a container" #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @get @added(ServiceApiVersions.v2024_02_15_preview) @@ -49,7 +49,7 @@ op listAssistants(...OpenAIListRequestOptions): OpenAIPageableListOf; * @returns The requested assistant instance. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" #suppress "@azure-tools/typespec-azure-core/use-standard-names" "mirrored API name parity" @get @@ -64,7 +64,7 @@ op getAssistant(@path assistantId: string): Assistant; * @returns The updated assistant instance. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @post @route("/assistants/{assistantId}") @@ -84,7 +84,7 @@ op updateAssistant( * @returns Status information about the requested deletion operation. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @delete @route("/assistants/{assistantId}") diff --git a/specification/ai/OpenAI.Assistants/files/routes.tsp b/specification/ai/OpenAI.Assistants/files/routes.tsp index 4ec51ee9327f..ff066065fe03 100644 --- a/specification/ai/OpenAI.Assistants/files/routes.tsp +++ b/specification/ai/OpenAI.Assistants/files/routes.tsp @@ -19,7 +19,7 @@ namespace Azure.AI.OpenAI.Assistants; */ #suppress "@azure-tools/typespec-azure-core/use-standard-names" "mirrored API responds with a container" #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @get @added(ServiceApiVersions.v2024_02_15_preview) @@ -36,7 +36,7 @@ op listFiles(@query purpose?: FilePurpose): FileListResponse; * @returns A representation of the uploaded file. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" #suppress "@azure-tools/typespec-azure-core/byos" "mirrored API" @post @@ -58,7 +58,7 @@ op uploadFile( ): OpenAIFile; #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @delete @doc("Delete a previously uploaded file.") @@ -71,7 +71,7 @@ op deleteFile( ): FileDeletionStatus; #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" #suppress "@azure-tools/typespec-azure-core/use-standard-names" "mirrored API name parity" @get diff --git a/specification/ai/OpenAI.Assistants/messages/routes.tsp b/specification/ai/OpenAI.Assistants/messages/routes.tsp index bb8e40cbba3a..22f1d681b7ab 100644 --- a/specification/ai/OpenAI.Assistants/messages/routes.tsp +++ b/specification/ai/OpenAI.Assistants/messages/routes.tsp @@ -23,7 +23,7 @@ namespace Azure.AI.OpenAI.Assistants; */ #suppress "@azure-tools/typespec-azure-core/use-standard-names" "mirrored API responds with a container" #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @post @route("/threads/{threadId}/messages") @@ -43,7 +43,7 @@ op createMessage( */ #suppress "@azure-tools/typespec-azure-core/use-standard-names" "mirrored API responds with a container" #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @get @route("/threads/{threadId}/messages") @@ -67,7 +67,7 @@ op listMessages( * @returns A representation of the requested message. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" #suppress "@azure-tools/typespec-azure-core/use-standard-names" "mirrored API name parity" @get @@ -83,7 +83,7 @@ op getMessage(@path threadId: string, @path messageId: string): ThreadMessage; * @returns A representation of the modified message. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @post @route("/threads/{threadId}/messages/{messageId}") diff --git a/specification/ai/OpenAI.Assistants/run_steps/routes.tsp b/specification/ai/OpenAI.Assistants/run_steps/routes.tsp index b23a0b2b6272..f038461dc5c1 100644 --- a/specification/ai/OpenAI.Assistants/run_steps/routes.tsp +++ b/specification/ai/OpenAI.Assistants/run_steps/routes.tsp @@ -18,7 +18,7 @@ namespace Azure.AI.OpenAI.Assistants; * @returns Information about the requested run step. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" #suppress "@azure-tools/typespec-azure-core/use-standard-names" "mirrored API name parity" @get @@ -39,7 +39,7 @@ op getRunStep( */ #suppress "@azure-tools/typespec-azure-core/use-standard-names" "mirrored API responds with a container" #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @get @route("/threads/{threadId}/runs/{runId}/steps") diff --git a/specification/ai/OpenAI.Assistants/runs/routes.tsp b/specification/ai/OpenAI.Assistants/runs/routes.tsp index dfe573ab50f1..44748b3f8799 100644 --- a/specification/ai/OpenAI.Assistants/runs/routes.tsp +++ b/specification/ai/OpenAI.Assistants/runs/routes.tsp @@ -22,7 +22,7 @@ namespace Azure.AI.OpenAI.Assistants; * @returns Information about the new thread run. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @post @route("/threads/{threadId}/runs") @@ -45,7 +45,7 @@ op createRun( */ #suppress "@azure-tools/typespec-azure-core/use-standard-names" "mirrored API responds with a container" #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @get @route("/threads/{threadId}/runs") @@ -63,7 +63,7 @@ op listRuns( * @returns The requested information about the specified thread run. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" #suppress "@azure-tools/typespec-azure-core/use-standard-names" "mirrored API name parity" @get @@ -79,7 +79,7 @@ op getRun(@path threadId: string, @path runId: string): ThreadRun; * @returns Information about the modified run. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @post @route("/threads/{threadId}/runs/{runId}") @@ -100,7 +100,7 @@ op updateRun( * @returns Updated information about the run. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @post @route("/threads/{threadId}/runs/{runId}/submit_tool_outputs") @@ -124,7 +124,7 @@ op submitToolOutputsToRun( * @returns Updated information about the cancelled run. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @post @route("/threads/{threadId}/runs/{runId}/cancel") @@ -137,7 +137,7 @@ op cancelRun(@path threadId: string, @path runId: string): ThreadRun; * @returns Information about the newly created thread. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @post @route("/threads/runs") diff --git a/specification/ai/OpenAI.Assistants/threads/routes.tsp b/specification/ai/OpenAI.Assistants/threads/routes.tsp index 84cb8de0b557..2251f8daed97 100644 --- a/specification/ai/OpenAI.Assistants/threads/routes.tsp +++ b/specification/ai/OpenAI.Assistants/threads/routes.tsp @@ -15,7 +15,7 @@ namespace Azure.AI.OpenAI.Assistants; * @returns Information about the newly created thread. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @post @added(ServiceApiVersions.v2024_02_15_preview) @@ -37,7 +37,7 @@ op createThread( * @returns Information about the requested thread. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" #suppress "@azure-tools/typespec-azure-core/use-standard-names" "mirrored API name parity" @get @@ -53,7 +53,7 @@ op getThread(@path threadId: string): AssistantThread; * @returns Information about the modified thread. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @post @route("/threads/{threadId}") @@ -73,7 +73,7 @@ op updateThread( * @returns Status information about the requested thread deletion operation. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @delete @route("/threads/{threadId}") diff --git a/specification/ai/OpenAI.Assistants/tspconfig.yaml b/specification/ai/OpenAI.Assistants/tspconfig.yaml index 75c925ce08fa..7484a8f6027e 100644 --- a/specification/ai/OpenAI.Assistants/tspconfig.yaml +++ b/specification/ai/OpenAI.Assistants/tspconfig.yaml @@ -15,7 +15,6 @@ options: "@azure-tools/typespec-autorest": emitter-output-dir: "{project-root}/../" azure-resource-provider-folder: "data-plane" - examples-directory: "{project-root}/examples" output-file: "{output-folder-base}/OpenApiV2/{version-status}/{version}/assistants_generated.json" omit-unreachable-types: true emit-lro-options: "none" diff --git a/specification/ai/OpenAI.Assistants/vector_stores/routes.tsp b/specification/ai/OpenAI.Assistants/vector_stores/routes.tsp index 28bd617bcfc0..bf405b417c29 100644 --- a/specification/ai/OpenAI.Assistants/vector_stores/routes.tsp +++ b/specification/ai/OpenAI.Assistants/vector_stores/routes.tsp @@ -16,7 +16,7 @@ namespace Azure.AI.OpenAI.Assistants; */ #suppress "@azure-tools/typespec-azure-core/use-standard-names" "mirrored API responds with a container" #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @get @route("/vector_stores") diff --git a/specification/ai/data-plane/DocumentIntelligence/preview/2024-07-31-preview/DocumentIntelligence.json b/specification/ai/data-plane/DocumentIntelligence/preview/2024-07-31-preview/DocumentIntelligence.json index fa58a1897aab..4b959334552a 100644 --- a/specification/ai/data-plane/DocumentIntelligence/preview/2024-07-31-preview/DocumentIntelligence.json +++ b/specification/ai/data-plane/DocumentIntelligence/preview/2024-07-31-preview/DocumentIntelligence.json @@ -2207,8 +2207,7 @@ "properties": { "targetResourceId": { "type": "string", - "description": "ID of the target Azure resource where the document classifier should be copied to.", - "x-ms-azure-resource": true + "description": "ID of the target Azure resource where the document classifier should be copied to." }, "targetResourceRegion": { "type": "string", @@ -2413,8 +2412,7 @@ "properties": { "targetResourceId": { "type": "string", - "description": "ID of the target Azure resource where the document model should be copied to.", - "x-ms-azure-resource": true + "description": "ID of the target Azure resource where the document model should be copied to." }, "targetResourceRegion": { "type": "string", diff --git a/specification/apicenter/ApiCenter.DataApi/tspconfig.yaml b/specification/apicenter/ApiCenter.DataApi/tspconfig.yaml index 45fdf8bb1e9a..ed4d3f2e24f2 100644 --- a/specification/apicenter/ApiCenter.DataApi/tspconfig.yaml +++ b/specification/apicenter/ApiCenter.DataApi/tspconfig.yaml @@ -11,7 +11,6 @@ options: azure-resource-provider-folder: "data-plane" emit-lro-options: "none" emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/azure.apicenter.dataapi.json" "@azure-tools/typespec-python": package-dir: "azure-apicenter" diff --git a/specification/apicenter/ApiCenter.Management/main.tsp b/specification/apicenter/ApiCenter.Management/main.tsp index 72da97970e24..e749f7a8185b 100644 --- a/specification/apicenter/ApiCenter.Management/main.tsp +++ b/specification/apicenter/ApiCenter.Management/main.tsp @@ -43,54 +43,63 @@ enum Versions { v2024_03_15_preview: "2024-03-15-preview", } +#suppress "deprecated" "LEGACY - DO NOT COPY THIS DOESN'T MAKE SENSE - FIX" @@encodedName(Apis.createOrUpdate::parameters.resource, "application/json", "payload" ); @@clientName(Apis.createOrUpdate::parameters.resource, "payload"); +#suppress "deprecated" "LEGACY - DO NOT COPY THIS DOESN'T MAKE SENSE - FIX" @@encodedName(ApiDefinitions.createOrUpdate::parameters.resource, "application/json", "payload" ); @@clientName(ApiDefinitions.createOrUpdate::parameters.resource, "payload"); +#suppress "deprecated" "LEGACY - DO NOT COPY THIS DOESN'T MAKE SENSE - FIX" @@encodedName(ApiVersions.createOrUpdate::parameters.resource, "application/json", "payload" ); @@clientName(ApiVersions.createOrUpdate::parameters.resource, "payload"); +#suppress "deprecated" "LEGACY - DO NOT COPY THIS DOESN'T MAKE SENSE - FIX" @@encodedName(Deployments.createOrUpdate::parameters.resource, "application/json", "payload" ); @@clientName(Deployments.createOrUpdate::parameters.resource, "payload"); +#suppress "deprecated" "LEGACY - DO NOT COPY THIS DOESN'T MAKE SENSE - FIX" @@encodedName(Environments.createOrUpdate::parameters.resource, "application/json", "payload" ); @@clientName(Environments.createOrUpdate::parameters.resource, "payload"); +#suppress "deprecated" "LEGACY - DO NOT COPY THIS DOESN'T MAKE SENSE - FIX" @@encodedName(MetadataSchemas.createOrUpdate::parameters.resource, "application/json", "payload" ); @@clientName(MetadataSchemas.createOrUpdate::parameters.resource, "payload"); +#suppress "deprecated" "LEGACY - DO NOT COPY THIS DOESN'T MAKE SENSE - FIX" @@encodedName(Services.update::parameters.properties, "application/json", "payload" ); @@clientName(Services.update::parameters.properties, "payload"); +#suppress "deprecated" "LEGACY - DO NOT COPY THIS DOESN'T MAKE SENSE - FIX" @@encodedName(Workspaces.createOrUpdate::parameters.resource, "application/json", "payload" ); @@clientName(Workspaces.createOrUpdate::parameters.resource, "payload"); +#suppress "deprecated" "LEGACY - DO NOT COPY THIS DOESN'T MAKE SENSE - FIX" @@encodedName(ApiDefinitions.importSpecification::parameters.body, "application/json", "payload" @@ -105,6 +114,7 @@ enum Versions { @@clientName(ApiDefinitions.exportSpecification::parameters.body, "payload"); +#suppress "deprecated" "LEGACY - DO NOT COPY THIS DOESN'T MAKE SENSE - FIX" @@encodedName(Services.exportMetadataSchema::parameters.body, "application/json", "payload" diff --git a/specification/apicenter/ApiCenter.Management/tspconfig.yaml b/specification/apicenter/ApiCenter.Management/tspconfig.yaml index 70f9f5896ce9..3463917ab3c3 100644 --- a/specification/apicenter/ApiCenter.Management/tspconfig.yaml +++ b/specification/apicenter/ApiCenter.Management/tspconfig.yaml @@ -8,7 +8,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/apicenter.json" - examples-directory: "{project-root}/examples" use-read-only-status-schema: true linter: extends: diff --git a/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources/EvidenceResource.tsp b/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources/EvidenceResource.tsp index e01aee122698..ffeae25ebb95 100644 --- a/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources/EvidenceResource.tsp +++ b/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources/EvidenceResource.tsp @@ -36,8 +36,8 @@ model EvidenceResource extends Azure.ResourceManager.Foundations.ProxyResource { /** * Evidence property. */ - @extension("x-ms-client-flatten", true) - @extension("x-ms-client-name", "properties") + #suppress "deprecated" "Legacy flatten" + @Azure.ClientGenerator.Core.flattenProperty properties: EvidenceProperties; } @@ -47,7 +47,7 @@ interface Evidence { /** * Get the evidence metadata */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Evidence_Get") get is ArmResourceRead< EvidenceResource, @@ -59,7 +59,7 @@ interface Evidence { /** * Create or Update an evidence a specified report */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Evidence_CreateOrUpdate") createOrUpdate is ArmResourceCreateOrReplaceSync< EvidenceResource, @@ -72,14 +72,14 @@ interface Evidence { /** * Delete an existent evidence from a specified report */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Evidence_Delete") delete is ArmResourceDeleteSync; /** * Returns a paginated list of evidences for a specified report. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Evidence_ListByReport") listByReport is ArmResourceListByParent< EvidenceResource, @@ -92,7 +92,7 @@ interface Evidence { /** * Download evidence file. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Evidence_Download") download is ArmResourceActionSync< EvidenceResource, @@ -110,14 +110,9 @@ interface Evidence { ); @@doc(Evidence.download::parameters.body, "Parameters for the query operation"); +#suppress "deprecated" "LEGACY - DO NOT COPY - FIX" @@encodedName(Evidence.createOrUpdate::parameters.resource, "application/json", "parameters" ); - -@@OpenAPI.extension(Evidence.createOrUpdate::parameters.resource, - "x-ms-client-name", - "properties" -); - -@@clientName(Evidence.createOrUpdate::parameters.resource, "parameters"); +@@clientName(Evidence.createOrUpdate::parameters.resource, "properties"); diff --git a/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources/ReportResource.tsp b/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources/ReportResource.tsp index 4f6cc4ec9464..2135d8d86b3a 100644 --- a/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources/ReportResource.tsp +++ b/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources/ReportResource.tsp @@ -36,8 +36,8 @@ model ReportResource extends Azure.ResourceManager.Foundations.ProxyResource { /** * Report property. */ - @extension("x-ms-client-flatten", true) - @extension("x-ms-client-name", "properties") + #suppress "deprecated" "Legacy flatten" + @Azure.ClientGenerator.Core.flattenProperty properties: ReportProperties; } @@ -47,14 +47,14 @@ interface Report { /** * Get the AppComplianceAutomation report and its properties. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Report_Get") get is ArmResourceRead; /** * Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" #suppress "@azure-tools/typespec-azure-core/invalid-final-state" "MUST CHANGE ON NEXT UPDATE" @operationId("Report_CreateOrUpdate") @Azure.Core.useFinalStateVia("azure-async-operation") @@ -67,7 +67,7 @@ interface Report { /** * Update an exiting AppComplianceAutomation report. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @parameterVisibility @operationId("Report_Update") update is ArmCustomPatchAsync< @@ -79,7 +79,7 @@ interface Report { /** * Delete an AppComplianceAutomation report. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Report_Delete") delete is ArmResourceDeleteWithoutOkAsync< ReportResource, @@ -89,7 +89,7 @@ interface Report { /** * Get the AppComplianceAutomation report list for the tenant. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Report_List") list is ArmResourceListByParent< ReportResource, @@ -102,7 +102,7 @@ interface Report { /** * Synchronize attestation record from app compliance. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Report_SyncCertRecord") syncCertRecord is ArmResourceActionAsync< ReportResource, @@ -114,7 +114,7 @@ interface Report { /** * Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Report_NestedResourceCheckNameAvailability") checkNameAvailability is ArmResourceActionSync< ReportResource, @@ -125,7 +125,7 @@ interface Report { /** * Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Report_Fix") fix is ArmResourceActionAsync< ReportResource, @@ -137,7 +137,7 @@ interface Report { /** * Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service unregistered, automation removed. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Report_GetScopingQuestions") getScopingQuestions is ArmResourceActionSync< ReportResource, @@ -149,7 +149,7 @@ interface Report { /** * Verify the AppComplianceAutomation report health status. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Report_Verify") verify is ArmResourceActionAsync< ReportResource, @@ -162,17 +162,13 @@ interface Report { @@doc(Report.createOrUpdate::parameters.resource, "Parameters for the create or update operation" ); +#suppress "deprecated" "LEGACY - DO NOT COPY - FIX" @@encodedName(Report.createOrUpdate::parameters.resource, "application/json", "parameters" ); -@@OpenAPI.extension(Report.createOrUpdate::parameters.resource, - "x-ms-client-name", - "properties" -); - -@@clientName(Report.createOrUpdate::parameters.resource, "parameters"); +@@clientName(Report.createOrUpdate::parameters.resource, "properties"); @@doc(Report.update::parameters.properties, "Parameters for the create or update operation" @@ -183,7 +179,7 @@ interface Report { @@doc(Report.checkNameAvailability::parameters.body, "NameAvailabilityRequest object." ); - +#suppress "deprecated" "LEGACY - DO NOT COPY - FIX" @@encodedName(Report.update::parameters.properties, "application/json", "parameters" diff --git a/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources/ScopingConfigurationResource.tsp b/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources/ScopingConfigurationResource.tsp index a64a09ed8103..2442c2d51262 100644 --- a/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources/ScopingConfigurationResource.tsp +++ b/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources/ScopingConfigurationResource.tsp @@ -41,8 +41,8 @@ model ScopingConfigurationResource /** * ScopingConfiguration property. */ - @extension("x-ms-client-flatten", true) - @extension("x-ms-client-name", "properties") + #suppress "deprecated" "Legacy flatten" + @Azure.ClientGenerator.Core.flattenProperty properties: ScopingConfigurationProperties; } @@ -52,28 +52,28 @@ interface ScopingConfiguration { /** * Get the AppComplianceAutomation scoping configuration of the specific report. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("ScopingConfiguration_Get") get is ArmResourceRead; /** * Get the AppComplianceAutomation scoping configuration of the specific report. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("ScopingConfiguration_CreateOrUpdate") createOrUpdate is ArmResourceCreateOrReplaceSync; /** * Clean the AppComplianceAutomation scoping configuration of the specific report. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("ScopingConfiguration_Delete") delete is ArmResourceDeleteSync; /** * Returns a list format of the singleton scopingConfiguration for a specified report. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("ScopingConfiguration_List") list is ArmResourceListByParent; } @@ -82,16 +82,11 @@ interface ScopingConfiguration { "Parameters for the create or update operation, this is a singleton resource, so please make sure you're using 'default' as the name." ); +#suppress "deprecated" "LEGACY - DO NOT COPY - FIX" @@encodedName(ScopingConfiguration.createOrUpdate::parameters.resource, "application/json", "parameters" ); - -@@OpenAPI.extension(ScopingConfiguration.createOrUpdate::parameters.resource, - "x-ms-client-name", - "properties" -); - @@clientName(ScopingConfiguration.createOrUpdate::parameters.resource, - "parameters" + "properties" ); diff --git a/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources/SnapshotResource.tsp b/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources/SnapshotResource.tsp index fbe07341ba02..4208639624f8 100644 --- a/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources/SnapshotResource.tsp +++ b/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources/SnapshotResource.tsp @@ -34,8 +34,8 @@ model SnapshotResource extends Azure.ResourceManager.Foundations.ProxyResource { /** * Snapshot's property. */ - @extension("x-ms-client-flatten", true) - @extension("x-ms-client-name", "properties") + #suppress "deprecated" "Legacy flatten" + @Azure.ClientGenerator.Core.flattenProperty properties?: SnapshotProperties; } @@ -45,14 +45,14 @@ interface Snapshot { /** * Get the AppComplianceAutomation snapshot and its properties. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Snapshot_Get") get is ArmResourceRead; /** * Get the AppComplianceAutomation snapshot list. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Snapshot_List") list is ArmResourceListByParent< SnapshotResource, @@ -65,7 +65,7 @@ interface Snapshot { /** * Download compliance needs from snapshot, like: Compliance Report, Resource List. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Snapshot_Download") download is ArmResourceActionAsync< SnapshotResource, diff --git a/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources/WebhookResource.tsp b/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources/WebhookResource.tsp index b5fb2eb16187..48c17b466b70 100644 --- a/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources/WebhookResource.tsp +++ b/specification/appcomplianceautomation/AppComplianceAutomation.Management/resources/WebhookResource.tsp @@ -40,8 +40,8 @@ model WebhookResource extends Azure.ResourceManager.Foundations.ProxyResource { /** * Webhook property. */ - @extension("x-ms-client-flatten", true) - @extension("x-ms-client-name", "properties") + #suppress "deprecated" "Legacy flatten" + @Azure.ClientGenerator.Core.flattenProperty properties: WebhookProperties; // Replace 'WebhookProperties' with the actual type } @@ -51,21 +51,21 @@ interface Webhook { /** * Get the AppComplianceAutomation webhook and its properties. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Webhook_Get") get is ArmResourceRead; /** * Create a new AppComplianceAutomation webhook or update an exiting AppComplianceAutomation webhook. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Webhook_CreateOrUpdate") createOrUpdate is ArmResourceCreateOrReplaceSync; /** * Update an exiting AppComplianceAutomation webhook. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @parameterVisibility @operationId("Webhook_Update") update is ArmCustomPatchSync< @@ -78,14 +78,14 @@ interface Webhook { /** * Delete an AppComplianceAutomation webhook. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Webhook_Delete") delete is ArmResourceDeleteSync; /** * Get the AppComplianceAutomation webhook list. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Webhook_List") list is ArmResourceListByParent< WebhookResource, @@ -103,19 +103,16 @@ interface Webhook { "Parameters for the create or update operation" ); +#suppress "deprecated" "LEGACY - DO NOT COPY - FIX" @@encodedName(Webhook.update::parameters.properties, "application/json", "parameters" ); +#suppress "deprecated" "LEGACY - DO NOT COPY - FIX" @@encodedName(Webhook.createOrUpdate::parameters.resource, "application/json", "parameters" ); -@@OpenAPI.extension(Webhook.createOrUpdate::parameters.resource, - "x-ms-client-name", - "properties" -); - -@@clientName(Webhook.createOrUpdate::parameters.resource, "parameters"); +@@clientName(Webhook.createOrUpdate::parameters.resource, "properties"); diff --git a/specification/appcomplianceautomation/AppComplianceAutomation.Management/routes.tsp b/specification/appcomplianceautomation/AppComplianceAutomation.Management/routes.tsp index f5e9912fb6f4..8d37deb635e4 100644 --- a/specification/appcomplianceautomation/AppComplianceAutomation.Management/routes.tsp +++ b/specification/appcomplianceautomation/AppComplianceAutomation.Management/routes.tsp @@ -80,11 +80,12 @@ interface ProviderActions { ListInUseStorageAccountsResponse >; } - +#suppress "deprecated" "LEGACY - DO NOT COPY - FIX" @@encodedName(ArmProviderActionAsync::parameters.body, "application/json", "parameters" ); +#suppress "deprecated" "LEGACY - DO NOT COPY - FIX" @@encodedName(ArmProviderActionSync::parameters.body, "application/json", "parameters" diff --git a/specification/appcomplianceautomation/AppComplianceAutomation.Management/tspconfig.yaml b/specification/appcomplianceautomation/AppComplianceAutomation.Management/tspconfig.yaml index 9d35858dd1ac..f69e35628880 100644 --- a/specification/appcomplianceautomation/AppComplianceAutomation.Management/tspconfig.yaml +++ b/specification/appcomplianceautomation/AppComplianceAutomation.Management/tspconfig.yaml @@ -15,13 +15,11 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/appcomplianceautomation.json" - examples-directory: "{project-root}/examples" "@azure-tools/typespec-ts": flavor: azure package-dir: "arm-appcomplianceautomation" packageDetails: name: "@azure/arm-appcomplianceautomation" - examples-directory: "{project-root}/examples" # "@azure-tools/typespec-java": # flavor: azure # package-dir: "azure-resourcemanager-appcomplianceautomation" diff --git a/specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/appcomplianceautomation.json b/specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/appcomplianceautomation.json index d602558f2e49..6d78941bf01b 100644 --- a/specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/appcomplianceautomation.json +++ b/specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/appcomplianceautomation.json @@ -2513,8 +2513,7 @@ "properties": { "$ref": "#/definitions/EvidenceProperties", "description": "Evidence property.", - "x-ms-client-flatten": true, - "x-ms-client-name": "properties" + "x-ms-client-flatten": true } }, "required": [ @@ -3278,8 +3277,7 @@ "properties": { "$ref": "#/definitions/ReportProperties", "description": "Report property.", - "x-ms-client-flatten": true, - "x-ms-client-name": "properties" + "x-ms-client-flatten": true } }, "required": [ @@ -3920,8 +3918,7 @@ "properties": { "$ref": "#/definitions/ScopingConfigurationProperties", "description": "ScopingConfiguration property.", - "x-ms-client-flatten": true, - "x-ms-client-name": "properties" + "x-ms-client-flatten": true } }, "required": [ @@ -4114,8 +4111,7 @@ "properties": { "$ref": "#/definitions/SnapshotProperties", "description": "Snapshot's property.", - "x-ms-client-flatten": true, - "x-ms-client-name": "properties" + "x-ms-client-flatten": true } }, "allOf": [ @@ -4391,8 +4387,7 @@ "properties": { "$ref": "#/definitions/WebhookProperties", "description": "Webhook property.", - "x-ms-client-flatten": true, - "x-ms-client-name": "properties" + "x-ms-client-flatten": true } }, "required": [ diff --git a/specification/appconfiguration/AppConfiguration/tspconfig.yaml b/specification/appconfiguration/AppConfiguration/tspconfig.yaml index 3f11875c32e0..5d2c31b98df7 100644 --- a/specification/appconfiguration/AppConfiguration/tspconfig.yaml +++ b/specification/appconfiguration/AppConfiguration/tspconfig.yaml @@ -11,7 +11,6 @@ options: azure-resource-provider-folder: "data-plane" emit-lro-options: "none" emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/Microsoft.AppConfiguration/{version-status}/{version}/appconfiguration.json" "@azure-tools/typespec-python": package-dir: "azure-appconfiguration" diff --git a/specification/appconfiguration/data-plane/Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json b/specification/appconfiguration/data-plane/Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json index fb2796e96161..387cd34363c3 100644 --- a/specification/appconfiguration/data-plane/Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json +++ b/specification/appconfiguration/data-plane/Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json @@ -132,7 +132,8 @@ } }, "x-ms-pageable": { - "nextLinkName": "@nextLink" + "nextLinkName": "@nextLink", + "itemName": "items" } }, "head": { @@ -393,7 +394,8 @@ } }, "x-ms-pageable": { - "nextLinkName": "@nextLink" + "nextLinkName": "@nextLink", + "itemName": "items" } }, "head": { @@ -1210,7 +1212,8 @@ } }, "x-ms-pageable": { - "nextLinkName": "@nextLink" + "nextLinkName": "@nextLink", + "itemName": "items" } }, "head": { @@ -1690,7 +1693,8 @@ } }, "x-ms-pageable": { - "nextLinkName": "@nextLink" + "nextLinkName": "@nextLink", + "itemName": "items" } }, "head": { @@ -2043,7 +2047,8 @@ } }, "x-ms-pageable": { - "nextLinkName": "@nextLink" + "nextLinkName": "@nextLink", + "itemName": "items" } }, "head": { diff --git a/specification/applicationinsights/ApplicationInsights.LiveMetrics/tspconfig.yaml b/specification/applicationinsights/ApplicationInsights.LiveMetrics/tspconfig.yaml index d07fa7ed9623..9432493c50eb 100644 --- a/specification/applicationinsights/ApplicationInsights.LiveMetrics/tspconfig.yaml +++ b/specification/applicationinsights/ApplicationInsights.LiveMetrics/tspconfig.yaml @@ -11,7 +11,6 @@ options: azure-resource-provider-folder: "data-plane" emit-lro-options: "none" emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" # omit the enum type Versions from being added to versioned swagger omit-unreachable-types: true output-file: "{azure-resource-provider-folder}/LiveMetrics/{version-status}/{version}/livemetrics.json" diff --git a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp index c31cb5aeb677..ddee90aa3ec5 100644 --- a/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp +++ b/specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp @@ -1434,14 +1434,15 @@ model VirtualMachineScaleSetExtensionProperties { /** * Json formatted public settings for the extension. */ - #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachineScaleSet.json#L5002C1-L5009C11" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachineScaleSet.json#L5002C1-L5009C11" settings?: Record; /** * The extension can contain either protectedSettings or * protectedSettingsFromKeyVault or no protected settings at all. */ - #suppress "@azure-tools/typespec-azure-core/bad-record-type" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachineScaleSet.json#L5002C1-L5009C11" + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "Converted legacy object to typespec https://github.com/Azure/azure-rest-api-specs/blob/d715112415eb08572ee96cc4bd77217aa44dedf1/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2024-03-01/virtualMachineScaleSet.json#L5002C1-L5009C11" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Legacy" @visibility("create", "update") @OpenAPI.extension("x-ms-secret", true) protectedSettings?: Record; diff --git a/specification/azurefleet/AzureFleet.Management/tspconfig.yaml b/specification/azurefleet/AzureFleet.Management/tspconfig.yaml index 86dc2f60cac1..860e37107159 100644 --- a/specification/azurefleet/AzureFleet.Management/tspconfig.yaml +++ b/specification/azurefleet/AzureFleet.Management/tspconfig.yaml @@ -17,7 +17,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/azurefleet.json" - examples-directory: "examples" "@azure-tools/typespec-csharp": flavor: azure package-dir: "Azure.ResourceManager.ComputeFleet" @@ -37,13 +36,11 @@ options: package-dir: "azure-resourcemanager-computefleet" namespace: com.azure.resourcemanager.computefleet service-name: Compute Fleet - examples-directory: "{project-root}/examples" flavor: azure "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/computefleet" package-dir: "armcomputefleet" module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" - examples-directory: "{project-root}/examples" fix-const-stuttering: true flavor: "azure" generate-examples: true diff --git a/specification/azurelargeinstance/AzureLargeInstance.Management/AzureLargeInstance.tsp b/specification/azurelargeinstance/AzureLargeInstance.Management/AzureLargeInstance.tsp index 2ad468a7bd2d..6495c251c3b6 100644 --- a/specification/azurelargeinstance/AzureLargeInstance.Management/AzureLargeInstance.tsp +++ b/specification/azurelargeinstance/AzureLargeInstance.Management/AzureLargeInstance.tsp @@ -99,6 +99,7 @@ interface AzureLargeInstances { * @template TBaseParameters Optional. Allows overriding the parameters for the operation */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "Template for optional body" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - migrate to LRO apis" @autoRoute @OpenAPI.extension("x-ms-long-running-operation", true) @OpenAPI.extension( @@ -118,7 +119,7 @@ op ArmResourceActionNoBody< ...ResourceInstanceParameters, ...TRequest, ): ArmAcceptedLroResponse | TResponse | ErrorResponse; - +#suppress "deprecated" "LEGACY - DO NOT COPY - FIX" @@encodedName(AzureLargeInstances.update::parameters.properties, "application/json", "tagsParameter" diff --git a/specification/azurelargeinstance/AzureLargeInstance.Management/AzureLargeStorageInstance.tsp b/specification/azurelargeinstance/AzureLargeInstance.Management/AzureLargeStorageInstance.tsp index e6bc5cef74f4..a91d8ce9508f 100644 --- a/specification/azurelargeinstance/AzureLargeInstance.Management/AzureLargeStorageInstance.tsp +++ b/specification/azurelargeinstance/AzureLargeInstance.Management/AzureLargeStorageInstance.tsp @@ -74,7 +74,7 @@ interface AzureLargeStorageInstances { """) listBySubscription is ArmListBySubscription; } - +#suppress "deprecated" "LEGACY - DO NOT COPY - FIX" @@encodedName(AzureLargeStorageInstances.update::parameters.properties, "application/json", "tagsParameter" diff --git a/specification/azurelargeinstance/AzureLargeInstance.Management/tspconfig.yaml b/specification/azurelargeinstance/AzureLargeInstance.Management/tspconfig.yaml index 2a039e0195e1..47ab3999d4c1 100644 --- a/specification/azurelargeinstance/AzureLargeInstance.Management/tspconfig.yaml +++ b/specification/azurelargeinstance/AzureLargeInstance.Management/tspconfig.yaml @@ -10,5 +10,4 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/azurelargeinstance.json" - examples-directory: "{project-root}/examples" use-read-only-status-schema: true diff --git a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/GalleryImages.tsp b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/GalleryImages.tsp index d8b9c89f6cbb..993036234bbc 100644 --- a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/GalleryImages.tsp +++ b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/GalleryImages.tsp @@ -12,9 +12,9 @@ using TypeSpec.OpenAPI; namespace Microsoft.AzureStackHCI; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "x-ms-azure-resource legacy" @doc("The gallery images resource definition.") @extension("x-ms-azure-resource", true) -@extension("x-ms-client-flatten", true) model GalleryImage is TrackedResource { @doc("Name of the gallery image") @pattern("^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,62}[a-zA-Z0-9]$") diff --git a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/HybridIdentityMetadata.tsp b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/HybridIdentityMetadata.tsp index a56739975467..ed7981b49563 100644 --- a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/HybridIdentityMetadata.tsp +++ b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/HybridIdentityMetadata.tsp @@ -14,6 +14,7 @@ using TypeSpec.OpenAPI; namespace Microsoft.AzureStackHCI; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "x-ms-azure-resource legacy" @doc("Defines the HybridIdentityMetadata.") @extension("x-ms-azure-resource", true) @singleton("default") diff --git a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/LogicalNetworks.tsp b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/LogicalNetworks.tsp index ddac7729c509..41cd2770fb1a 100644 --- a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/LogicalNetworks.tsp +++ b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/LogicalNetworks.tsp @@ -12,9 +12,9 @@ using TypeSpec.OpenAPI; namespace Microsoft.AzureStackHCI; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "x-ms-azure-resource legacy" @doc("The logical network resource definition.") @extension("x-ms-azure-resource", true) -@extension("x-ms-client-flatten", true) model LogicalNetwork is TrackedResource { @doc("Name of the logical network") @pattern("^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,62}[a-zA-Z0-9]$") diff --git a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/MarketplaceGalleryImages.tsp b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/MarketplaceGalleryImages.tsp index 875896ea1edb..a925b023a0c0 100644 --- a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/MarketplaceGalleryImages.tsp +++ b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/MarketplaceGalleryImages.tsp @@ -12,9 +12,9 @@ using TypeSpec.OpenAPI; namespace Microsoft.AzureStackHCI; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "x-ms-azure-resource legacy" @doc("The marketplace gallery image resource definition.") @extension("x-ms-azure-resource", true) -@extension("x-ms-client-flatten", true) model MarketplaceGalleryImage is TrackedResource { @doc("Name of the marketplace gallery image") diff --git a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/NetworkInterfaces.tsp b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/NetworkInterfaces.tsp index 76f4355a051b..547f4bc5b587 100644 --- a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/NetworkInterfaces.tsp +++ b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/NetworkInterfaces.tsp @@ -12,9 +12,9 @@ using TypeSpec.OpenAPI; namespace Microsoft.AzureStackHCI; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "x-ms-azure-resource legacy" @doc("The network interface resource definition.") @extension("x-ms-azure-resource", true) -@extension("x-ms-client-flatten", true) model NetworkInterface is TrackedResource { @doc("Name of the network interface") @pattern("^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,62}[a-zA-Z0-9]$") diff --git a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/StorageContainers.tsp b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/StorageContainers.tsp index 8c97b3a2920f..f2c596107f20 100644 --- a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/StorageContainers.tsp +++ b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/StorageContainers.tsp @@ -11,9 +11,9 @@ using TypeSpec.OpenAPI; namespace Microsoft.AzureStackHCI; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "x-ms-azure-resource legacy" @doc("The storage container resource definition.") @extension("x-ms-azure-resource", true) -@extension("x-ms-client-flatten", true) model StorageContainer is TrackedResource { @doc("Name of the storage container") @pattern("^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,62}[a-zA-Z0-9]$") diff --git a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/VirtualHardDisks.tsp b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/VirtualHardDisks.tsp index d5c11774c069..507c3ae39e87 100644 --- a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/VirtualHardDisks.tsp +++ b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/VirtualHardDisks.tsp @@ -12,9 +12,9 @@ using TypeSpec.OpenAPI; namespace Microsoft.AzureStackHCI; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "x-ms-azure-resource legacy" @doc("The virtual hard disk resource definition.") @extension("x-ms-azure-resource", true) -@extension("x-ms-client-flatten", true) model VirtualHardDisk is TrackedResource { @doc("Name of the virtual hard disk") @pattern("^[a-zA-Z0-9]$|^[a-zA-Z0-9][-._a-zA-Z0-9]{0,62}[a-zA-Z0-9]$") diff --git a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/VirtualMachineInstance.tsp b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/VirtualMachineInstance.tsp index c502b2eacac6..d2afc88903bd 100644 --- a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/VirtualMachineInstance.tsp +++ b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/VirtualMachineInstance.tsp @@ -11,9 +11,9 @@ using TypeSpec.OpenAPI; namespace Microsoft.AzureStackHCI; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "x-ms-azure-resource legacy" @doc("The virtual machine instance resource definition.") @extension("x-ms-azure-resource", true) -@extension("x-ms-client-flatten", true) @singleton("default") model VirtualMachineInstance is ExtensionResource { diff --git a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/models.tsp b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/models.tsp index a229ff6911ef..af6e9bf4d78c 100644 --- a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/models.tsp +++ b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/models.tsp @@ -541,8 +541,9 @@ model GalleryImageVersion { @doc("This is the version of the gallery image.") name?: string; + #suppress "deprecated" "Legacy flattening" @doc("Describes the properties of a gallery image version.") - @extension("x-ms-client-flatten", true) + @Azure.ClientGenerator.Core.flattenProperty properties?: GalleryImageVersionProperties; } @@ -574,7 +575,6 @@ model GalleryOSDiskImage { } @doc("The observed state of gallery images") -@extension("x-ms-client-flatten", true) model GalleryImageStatus { @doc("GalleryImage provisioning error code") errorCode?: string; @@ -619,6 +619,7 @@ model ExtendedLocation { @doc("The gallery images resource patch definition.") model GalleryImagesUpdateRequest { + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" @doc("Resource tags") tags?: Record; } @@ -652,8 +653,9 @@ model LogicalNetworkPropertiesDhcpOptions { @doc("Properties of the subnet.") model Subnet { + #suppress "deprecated" "Legacy flattening" @doc("Properties of the subnet.") - @extension("x-ms-client-flatten", true) + @Azure.ClientGenerator.Core.flattenProperty properties?: SubnetProperties; @doc("Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.") @@ -704,8 +706,9 @@ model RouteTable { @visibility("read") type?: string; + #suppress "deprecated" "LEGACY flattening" @doc("Properties of the route table.") - @extension("x-ms-client-flatten", true) + @Azure.ClientGenerator.Core.flattenProperty properties?: RouteTableProperties; } @@ -718,8 +721,9 @@ model RouteTableProperties { @doc("Route - Route resource.") model Route { + #suppress "deprecated" "Legacy flattend property" @doc("Properties of the route.") - @extension("x-ms-client-flatten", true) + @Azure.ClientGenerator.Core.flattenProperty properties?: RouteProperties; @doc("Name - name of the subnet") @@ -845,7 +849,6 @@ model NetworkInterfaceProperties { #suppress "@azure-tools/typespec-azure-core/casing-style" "IP is a short form. The casing is correct." @doc("InterfaceIPConfiguration IPConfiguration in a network interface.") -@extension("x-ms-client-flatten", true) model IPConfiguration { @doc("Name - The name of the resource that is unique within a resource group. This name can be used to access the resource.") @visibility("read", "create") @@ -886,7 +889,6 @@ model InterfaceDNSSettings { } @doc("The observed state of network interfaces") -@extension("x-ms-client-flatten", true) model NetworkInterfaceStatus { @doc("NetworkInterface provisioning error code") errorCode?: string; @@ -908,7 +910,6 @@ model NetworkInterfaceStatusProvisioningStatus { } @doc("The observed state of logical networks") -@extension("x-ms-client-flatten", true) model LogicalNetworkStatus { @doc("LogicalNetwork provisioning error code") errorCode?: string; @@ -931,6 +932,7 @@ model LogicalNetworkStatusProvisioningStatus { @doc("The logical network resource patch definition.") model LogicalNetworksUpdateRequest { + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" @doc("Resource tags") tags?: Record; } @@ -970,7 +972,6 @@ model MarketplaceGalleryImageProperties { } @doc("The observed state of marketplace gallery images") -@extension("x-ms-client-flatten", true) model MarketplaceGalleryImageStatus { @doc("MarketplaceGalleryImage provisioning error code") errorCode?: string; @@ -1006,18 +1007,21 @@ model MarketplaceGalleryImageStatusDownloadStatus { @doc("The marketplace gallery image resource patch definition.") model MarketplaceGalleryImagesUpdateRequest { + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" @doc("Resource tags") tags?: Record; } @doc("The network interface resource patch definition.") model NetworkInterfacesUpdateRequest { + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" @doc("Resource tags") tags?: Record; } @doc("Tags object for patch operations.") model TagsObject { + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" @doc("Resource tags.") tags?: Record; } @@ -1037,7 +1041,6 @@ model StorageContainerProperties { } @doc("The observed state of storage containers") -@extension("x-ms-client-flatten", true) model StorageContainerStatus { @doc("StorageContainer provisioning error code") errorCode?: string; @@ -1068,6 +1071,7 @@ model StorageContainerStatusProvisioningStatus { @doc("The storage container resource patch definition.") model StorageContainersUpdateRequest { + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" @doc("Resource tags") tags?: Record; } @@ -1119,7 +1123,6 @@ model VirtualHardDiskProperties { } @doc("The observed state of virtual hard disks") -@extension("x-ms-client-flatten", true) model VirtualHardDiskStatus { @doc("VirtualHardDisk provisioning error code") errorCode?: string; @@ -1169,6 +1172,7 @@ model VirtualHardDiskUploadStatus { @doc("The virtual hard disk resource patch definition.") model VirtualHardDisksUpdateRequest { + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" @doc("Resource tags") tags?: Record; } @@ -1468,7 +1472,6 @@ model InstanceViewStatus { } @doc("The observed state of virtual machine instances") -@extension("x-ms-client-flatten", true) model VirtualMachineInstanceStatus { @doc("VirtualMachine provisioning error code") errorCode?: string; diff --git a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/tspconfig.yaml b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/tspconfig.yaml index 28aa0342cccd..d405a644ceab 100644 --- a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/tspconfig.yaml +++ b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/tspconfig.yaml @@ -9,7 +9,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/StackHCIVM/{version-status}/{version}/stackhcivm.json" - examples-directory: "{project-root}/examples" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/azurestackhci/Operations.Management/tspconfig.yaml b/specification/azurestackhci/Operations.Management/tspconfig.yaml index 7bfd4bf58b80..ce55d803eae4 100644 --- a/specification/azurestackhci/Operations.Management/tspconfig.yaml +++ b/specification/azurestackhci/Operations.Management/tspconfig.yaml @@ -9,7 +9,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/operations/{version-status}/{version}/operations.json" - examples-directory: "{project-root}/examples" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCIVM/preview/2024-02-01-preview/stackhcivm.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCIVM/preview/2024-02-01-preview/stackhcivm.json index 6620931c33dd..b5971bfff41b 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCIVM/preview/2024-02-01-preview/stackhcivm.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCIVM/preview/2024-02-01-preview/stackhcivm.json @@ -3850,8 +3850,7 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ], - "x-ms-azure-resource": true, - "x-ms-client-flatten": true + "x-ms-azure-resource": true }, "GalleryImageIdentifier": { "type": "object", @@ -3979,8 +3978,7 @@ "format": "int64", "description": "The progress of the operation in percentage" } - }, - "x-ms-client-flatten": true + } }, "GalleryImageStatusDownloadStatus": { "type": "object", @@ -4352,8 +4350,7 @@ "$ref": "#/definitions/IPConfigurationProperties", "description": "InterfaceIPConfigurationPropertiesFormat properties of IP configuration." } - }, - "x-ms-client-flatten": true + } }, "IPConfigurationProperties": { "type": "object", @@ -4579,8 +4576,7 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ], - "x-ms-azure-resource": true, - "x-ms-client-flatten": true + "x-ms-azure-resource": true }, "LogicalNetworkArmReference": { "type": "object", @@ -4682,8 +4678,7 @@ "$ref": "#/definitions/LogicalNetworkStatusProvisioningStatus", "description": "Logical network provisioning status" } - }, - "x-ms-client-flatten": true + } }, "LogicalNetworkStatusProvisioningStatus": { "type": "object", @@ -4731,8 +4726,7 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ], - "x-ms-azure-resource": true, - "x-ms-client-flatten": true + "x-ms-azure-resource": true }, "MarketplaceGalleryImageListResult": { "type": "object", @@ -4831,8 +4825,7 @@ "format": "int64", "description": "The progress of the operation in percentage" } - }, - "x-ms-client-flatten": true + } }, "MarketplaceGalleryImageStatusDownloadStatus": { "type": "object", @@ -4904,8 +4897,7 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ], - "x-ms-azure-resource": true, - "x-ms-client-flatten": true + "x-ms-azure-resource": true }, "NetworkInterfaceArmReference": { "type": "object", @@ -4998,8 +4990,7 @@ "$ref": "#/definitions/NetworkInterfaceStatusProvisioningStatus", "description": "Network interface provisioning status" } - }, - "x-ms-client-flatten": true + } }, "NetworkInterfaceStatusProvisioningStatus": { "type": "object", @@ -5801,8 +5792,7 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ], - "x-ms-azure-resource": true, - "x-ms-client-flatten": true + "x-ms-azure-resource": true }, "StorageContainerArmReference": { "type": "object", @@ -5892,8 +5882,7 @@ "$ref": "#/definitions/StorageContainerStatusProvisioningStatus", "description": "Storage container's provisioning status" } - }, - "x-ms-client-flatten": true + } }, "StorageContainerStatusProvisioningStatus": { "type": "object", @@ -6064,8 +6053,7 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ], - "x-ms-azure-resource": true, - "x-ms-client-flatten": true + "x-ms-azure-resource": true }, "VirtualHardDiskArmReference": { "type": "object", @@ -6182,8 +6170,7 @@ "$ref": "#/definitions/VirtualHardDiskStatusProvisioningStatus", "description": "Provisioning status of the vhd" } - }, - "x-ms-client-flatten": true + } }, "VirtualHardDiskStatusProvisioningStatus": { "type": "object", @@ -6284,8 +6271,7 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ], - "x-ms-azure-resource": true, - "x-ms-client-flatten": true + "x-ms-azure-resource": true }, "VirtualMachineInstanceListResult": { "type": "object", @@ -6764,8 +6750,7 @@ "$ref": "#/definitions/VirtualMachineInstanceStatusProvisioningStatus", "description": "Provisioning status of the virtual machine instance" } - }, - "x-ms-client-flatten": true + } }, "VirtualMachineInstanceStatusProvisioningStatus": { "type": "object", diff --git a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCIVM/preview/2024-05-01-preview/stackhcivm.json b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCIVM/preview/2024-05-01-preview/stackhcivm.json index 6299e226ac5d..2342ba4a649c 100644 --- a/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCIVM/preview/2024-05-01-preview/stackhcivm.json +++ b/specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCIVM/preview/2024-05-01-preview/stackhcivm.json @@ -3853,8 +3853,7 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ], - "x-ms-azure-resource": true, - "x-ms-client-flatten": true + "x-ms-azure-resource": true }, "GalleryImageIdentifier": { "type": "object", @@ -3994,8 +3993,7 @@ "format": "int64", "description": "The progress of the operation in percentage" } - }, - "x-ms-client-flatten": true + } }, "GalleryImageStatusDownloadStatus": { "type": "object", @@ -4399,8 +4397,7 @@ "$ref": "#/definitions/IPConfigurationProperties", "description": "InterfaceIPConfigurationPropertiesFormat properties of IP configuration." } - }, - "x-ms-client-flatten": true + } }, "IPConfigurationProperties": { "type": "object", @@ -4626,8 +4623,7 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ], - "x-ms-azure-resource": true, - "x-ms-client-flatten": true + "x-ms-azure-resource": true }, "LogicalNetworkArmReference": { "type": "object", @@ -4729,8 +4725,7 @@ "$ref": "#/definitions/LogicalNetworkStatusProvisioningStatus", "description": "Logical network provisioning status" } - }, - "x-ms-client-flatten": true + } }, "LogicalNetworkStatusProvisioningStatus": { "type": "object", @@ -4778,8 +4773,7 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ], - "x-ms-azure-resource": true, - "x-ms-client-flatten": true + "x-ms-azure-resource": true }, "MarketplaceGalleryImageListResult": { "type": "object", @@ -4878,8 +4872,7 @@ "format": "int64", "description": "The progress of the operation in percentage" } - }, - "x-ms-client-flatten": true + } }, "MarketplaceGalleryImageStatusDownloadStatus": { "type": "object", @@ -4951,8 +4944,7 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ], - "x-ms-azure-resource": true, - "x-ms-client-flatten": true + "x-ms-azure-resource": true }, "NetworkInterfaceArmReference": { "type": "object", @@ -5045,8 +5037,7 @@ "$ref": "#/definitions/NetworkInterfaceStatusProvisioningStatus", "description": "Network interface provisioning status" } - }, - "x-ms-client-flatten": true + } }, "NetworkInterfaceStatusProvisioningStatus": { "type": "object", @@ -5848,8 +5839,7 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ], - "x-ms-azure-resource": true, - "x-ms-client-flatten": true + "x-ms-azure-resource": true }, "StorageContainerArmReference": { "type": "object", @@ -5939,8 +5929,7 @@ "$ref": "#/definitions/StorageContainerStatusProvisioningStatus", "description": "Storage container's provisioning status" } - }, - "x-ms-client-flatten": true + } }, "StorageContainerStatusProvisioningStatus": { "type": "object", @@ -6111,8 +6100,7 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/TrackedResource" } ], - "x-ms-azure-resource": true, - "x-ms-client-flatten": true + "x-ms-azure-resource": true }, "VirtualHardDiskArmReference": { "type": "object", @@ -6254,8 +6242,7 @@ "$ref": "#/definitions/VirtualHardDiskUploadStatus", "description": "The upload status of the virtual hard disk" } - }, - "x-ms-client-flatten": true + } }, "VirtualHardDiskStatusProvisioningStatus": { "type": "object", @@ -6408,8 +6395,7 @@ "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" } ], - "x-ms-azure-resource": true, - "x-ms-client-flatten": true + "x-ms-azure-resource": true }, "VirtualMachineInstanceListResult": { "type": "object", @@ -6918,8 +6904,7 @@ "$ref": "#/definitions/VirtualMachineInstanceStatusProvisioningStatus", "description": "Provisioning status of the virtual machine instance" } - }, - "x-ms-client-flatten": true + } }, "VirtualMachineInstanceStatusProvisioningStatus": { "type": "object", diff --git a/specification/batch/Azure.Batch/routes.tsp b/specification/batch/Azure.Batch/routes.tsp index ca471f2871c9..181b81fd6a8b 100644 --- a/specification/batch/Azure.Batch/routes.tsp +++ b/specification/batch/Azure.Batch/routes.tsp @@ -80,7 +80,7 @@ interface Pools { start time of the last aggregation interval currently available. """) @query - @clientName("starttime") + @clientName("starttime", "!autorest") startTime?: utcDateTime; @doc(""" @@ -96,7 +96,7 @@ interface Pools { https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-account-usage-metrics. """) @query - @clientName("filter") + @clientName("filter", "!autorest") $filter?: string; }, BatchPoolListUsageMetricsResult @@ -130,17 +130,17 @@ interface Pools { https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-pools. """) @query - @clientName("filter") + @clientName("filter", "!autorest") $filter?: string; @doc("An OData $select clause.") @query - @clientName("select") + @clientName("select", "!autorest") $select?: string[]; @doc("An OData $expand clause.") @query - @clientName("expand") + @clientName("expand", "!autorest") $expand?: string[]; }, BatchPoolListResult @@ -181,12 +181,12 @@ interface Pools { BatchPoolHeaders & { @doc("An OData $select clause.") @query - @clientName("select") + @clientName("select", "!autorest") $select?: string[]; @doc("An OData $expand clause.") @query - @clientName("expand") + @clientName("expand", "!autorest") $expand?: string[]; }, BatchPool @@ -353,7 +353,7 @@ interface Pools { https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-support-images. """) @query - @clientName("filter") + @clientName("filter", "!autorest") $filter?: string; }, BatchAccountListSupportedImagesResult @@ -373,7 +373,7 @@ interface Pools { https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-support-images. """) @query - @clientName("filter") + @clientName("filter", "!autorest") $filter?: string; }, BatchPoolNodeCountsListResult @@ -418,12 +418,12 @@ interface Jobs { @doc("An OData $select clause.") @query - @clientName("select") + @clientName("select", "!autorest") $select?: string[]; @doc("An OData $expand clause.") @query - @clientName("expand") + @clientName("expand", "!autorest") $expand?: string[]; }, BatchJob @@ -577,17 +577,17 @@ interface Jobs { https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-jobs. """) @query - @clientName("filter") + @clientName("filter", "!autorest") $filter?: string; @doc("An OData $select clause.") @query - @clientName("select") + @clientName("select", "!autorest") $select?: string[]; @doc("An OData $expand clause.") @query - @clientName("expand") + @clientName("expand", "!autorest") $expand?: string[]; }, BatchJobListResult @@ -608,17 +608,17 @@ interface Jobs { https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-jobs-in-a-job-schedule. """) @query - @clientName("filter") + @clientName("filter", "!autorest") $filter?: string; @doc("An OData $select clause.") @query - @clientName("select") + @clientName("select", "!autorest") $select?: string[]; @doc("An OData $expand clause.") @query - @clientName("expand") + @clientName("expand", "!autorest") $expand?: string[]; }, BatchJobListResult @@ -649,12 +649,12 @@ interface Jobs { https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-job-preparation-and-release-status. """) @query - @clientName("filter") + @clientName("filter", "!autorest") $filter?: string; @doc("An OData $select clause.") @query - @clientName("select") + @clientName("select", "!autorest") $select?: string[]; }, BatchJobPreparationAndReleaseTaskStatusListResult @@ -730,12 +730,12 @@ interface JobSchedules { @doc("An OData $select clause.") @query - @clientName("select") + @clientName("select", "!autorest") $select?: string[]; @doc("An OData $expand clause.") @query - @clientName("expand") + @clientName("expand", "!autorest") $expand?: string[]; }, BatchJobSchedule @@ -850,17 +850,17 @@ interface JobSchedules { https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-job-schedules. """) @query - @clientName("filter") + @clientName("filter", "!autorest") $filter?: string; @doc("An OData $select clause.") @query - @clientName("select") + @clientName("select", "!autorest") $select?: string[]; @doc("An OData $expand clause.") @query - @clientName("expand") + @clientName("expand", "!autorest") $expand?: string[]; }, BatchJobScheduleListResult @@ -912,17 +912,17 @@ interface Tasks { https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-tasks. """) @query - @clientName("filter") + @clientName("filter", "!autorest") $filter?: string; @doc("An OData $select clause.") @query - @clientName("select") + @clientName("select", "!autorest") $select?: string[]; @doc("An OData $expand clause.") @query - @clientName("expand") + @clientName("expand", "!autorest") $expand?: string[]; }, BatchTaskListResult @@ -1007,12 +1007,12 @@ interface Tasks { @doc("An OData $select clause.") @query - @clientName("select") + @clientName("select", "!autorest") $select?: string[]; @doc("An OData $expand clause.") @query - @clientName("expand") + @clientName("expand", "!autorest") $expand?: string[]; }, BatchTask & DataServiceResponseHeaders @@ -1058,7 +1058,7 @@ interface Tasks { @doc("An OData $select clause.") @query - @clientName("select") + @clientName("select", "!autorest") $select?: string[]; }, BatchTaskListSubtasksResult @@ -1187,7 +1187,7 @@ interface Tasks { https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-task-files. """) @query - @clientName("filter") + @clientName("filter", "!autorest") $filter?: string; @doc(""" @@ -1306,7 +1306,7 @@ interface Nodes { @doc("An OData $select clause.") @query - @clientName("select") + @clientName("select", "!autorest") $select?: string[]; }, BatchNode @@ -1445,12 +1445,12 @@ interface Nodes { https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-nodes-in-a-pool. """) @query - @clientName("filter") + @clientName("filter", "!autorest") $filter?: string; @doc("An OData $select clause.") @query - @clientName("select") + @clientName("select", "!autorest") $select?: string[]; }, BatchNodeListResult @@ -1478,7 +1478,7 @@ interface Nodes { @doc("An OData $select clause.") @query - @clientName("select") + @clientName("select", "!autorest") $select?: string[]; }, BatchNodeVMExtension @@ -1500,7 +1500,7 @@ interface Nodes { @doc("An OData $select clause.") @query - @clientName("select") + @clientName("select", "!autorest") $select?: string[]; }, BatchNodeVMExtensionListResult @@ -1580,7 +1580,7 @@ interface Nodes { https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-compute-node-files. """) @query - @clientName("filter") + @clientName("filter", "!autorest") $filter?: string; @doc("Whether to list children of a directory.") diff --git a/specification/batch/Azure.Batch/tspconfig.yaml b/specification/batch/Azure.Batch/tspconfig.yaml index e20847628cf3..024a4b79b0dc 100644 --- a/specification/batch/Azure.Batch/tspconfig.yaml +++ b/specification/batch/Azure.Batch/tspconfig.yaml @@ -10,7 +10,6 @@ options: "@azure-tools/typespec-autorest": azure-resource-provider-folder: "./data-plane" emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/Azure.Batch/preview/{version}/BatchService.json" "@azure-tools/typespec-csharp": package-dir: "Azure.Batch" diff --git a/specification/codesigning/CodeSigning.Management/models.tsp b/specification/codesigning/CodeSigning.Management/models.tsp index 57ffb6ef26d2..bb8b69ae8130 100644 --- a/specification/codesigning/CodeSigning.Management/models.tsp +++ b/specification/codesigning/CodeSigning.Management/models.tsp @@ -3,6 +3,7 @@ import "@typespec/http"; import "@azure-tools/typespec-azure-core"; import "@typespec/openapi"; import "@azure-tools/typespec-azure-resource-manager"; +import "@azure-tools/typespec-client-generator-core"; using TypeSpec.Rest; using TypeSpec.Http; @@ -144,11 +145,13 @@ model AccountSku { @doc("Parameters for creating or updating a trusted signing account.") model CodeSigningAccountPatch { + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" @doc("Resource tags.") tags?: Record; + #suppress "deprecated" "Legacy flatten" @doc("Properties of the trusted signing account.") - @extension("x-ms-client-flatten", true) + @Azure.ClientGenerator.Core.flattenProperty properties?: CodeSigningAccountPatchProperties; } @@ -225,10 +228,11 @@ model CertificateProfileProperties { @visibility("read") status?: CertificateProfileStatus; + #suppress "deprecated" "Legacy flatten" @doc("List of renewed certificates.") @visibility("read") @extension("x-ms-identifiers", []) - @extension("x-ms-client-flatten", true) + @Azure.ClientGenerator.Core.flattenProperty certificates?: Certificate[]; } @@ -252,8 +256,9 @@ model Certificate { @doc("Status of the certificate.") status?: CertificateStatus; + #suppress "deprecated" "Legacy flatten" @doc("Revocations history of a certificate.") - @extension("x-ms-client-flatten", true) + @Azure.ClientGenerator.Core.flattenProperty revocation?: Revocation; } diff --git a/specification/codesigning/CodeSigning.Management/tspconfig.yaml b/specification/codesigning/CodeSigning.Management/tspconfig.yaml index 45181e899887..78c952a12b48 100644 --- a/specification/codesigning/CodeSigning.Management/tspconfig.yaml +++ b/specification/codesigning/CodeSigning.Management/tspconfig.yaml @@ -9,7 +9,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/codeSigningAccount.json" - examples-directory: "{project-root}/examples" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/cognitiveservices/AnomalyDetector/tspconfig.yaml b/specification/cognitiveservices/AnomalyDetector/tspconfig.yaml index 42c5c3e3fb21..a996b743c21e 100644 --- a/specification/cognitiveservices/AnomalyDetector/tspconfig.yaml +++ b/specification/cognitiveservices/AnomalyDetector/tspconfig.yaml @@ -16,7 +16,6 @@ options: "@azure-tools/typespec-autorest": azure-resource-provider-folder: "data-plane" emit-lro-options: "none" - examples-directory: examples omit-unreachable-types: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json" emitter-output-dir: "{project-root}/../" diff --git a/specification/cognitiveservices/ContentSafety/client.tsp b/specification/cognitiveservices/ContentSafety/client.tsp index b5ffe6dfc544..a942d771b21e 100644 --- a/specification/cognitiveservices/ContentSafety/client.tsp +++ b/specification/cognitiveservices/ContentSafety/client.tsp @@ -33,3 +33,4 @@ interface BlocklistClient { listTextBlocklists is ContentSafety.TextBlocklists.listTextBlocklists; removeBlocklistItems is ContentSafety.TextBlocklists.removeBlocklistItems; } +@@clientName(Azure.Core.Foundations.ResourceBody.resource, "options"); diff --git a/specification/cognitiveservices/ContentSafety/routes.tsp b/specification/cognitiveservices/ContentSafety/routes.tsp index fd1c488bf489..2d64cc0cb02f 100644 --- a/specification/cognitiveservices/ContentSafety/routes.tsp +++ b/specification/cognitiveservices/ContentSafety/routes.tsp @@ -88,8 +88,6 @@ interface BlockOps NoConditionalRequests & NoClientRequestId> {} -@@clientName(Azure.Core.Foundations.ResourceBody.resource, "options"); - interface TextBlocklists { @summary("Get Text Blocklist By blocklistName") @doc("Returns text blocklist details.") diff --git a/specification/cognitiveservices/ContentSafety/tspconfig.yaml b/specification/cognitiveservices/ContentSafety/tspconfig.yaml index 6bdb81635c4e..565abdc7cc74 100644 --- a/specification/cognitiveservices/ContentSafety/tspconfig.yaml +++ b/specification/cognitiveservices/ContentSafety/tspconfig.yaml @@ -12,7 +12,6 @@ options: output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/contentsafety.json" azure-resource-provider-folder: "data-plane" emit-lro-options: "none" - examples-directory: ./examples omit-unreachable-types: true "@azure-tools/typespec-python": package-dir: "azure-ai-contentsafety" @@ -39,7 +38,6 @@ options: "@azure-tools/typespec-java": package-dir: "azure-ai-contentsafety" namespace: com.azure.ai.contentsafety - examples-directory: "{project-root}/examples" partial-update: true flavor: azure api-version: "2023-10-01" diff --git a/specification/cognitiveservices/Language.AnalyzeDocuments/tspconfig.yaml b/specification/cognitiveservices/Language.AnalyzeDocuments/tspconfig.yaml index b25f63077995..0b618ea0c52d 100644 --- a/specification/cognitiveservices/Language.AnalyzeDocuments/tspconfig.yaml +++ b/specification/cognitiveservices/Language.AnalyzeDocuments/tspconfig.yaml @@ -12,7 +12,6 @@ options: azure-resource-provider-folder: "data-plane" emit-lro-options: "none" emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/Language/{version-status}/{version}/analyzedocuments.json" "@azure-tools/typespec-csharp": package-dir: "Azure.AI.Language.Documents" diff --git a/specification/cognitiveservices/Language.AnalyzeText/tspconfig.yaml b/specification/cognitiveservices/Language.AnalyzeText/tspconfig.yaml index ff38a8d5fd53..a75ce746f65e 100644 --- a/specification/cognitiveservices/Language.AnalyzeText/tspconfig.yaml +++ b/specification/cognitiveservices/Language.AnalyzeText/tspconfig.yaml @@ -12,7 +12,6 @@ options: azure-resource-provider-folder: "data-plane" emit-lro-options: "none" emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/Language/{version-status}/{version}/analyzetext.json" "@azure-tools/typespec-csharp": package-dir: "Azure.AI.Language.AnalyzeText" diff --git a/specification/cognitiveservices/Language.Conversations/tspconfig.yaml b/specification/cognitiveservices/Language.Conversations/tspconfig.yaml index ee5bee61bca5..867638867f22 100644 --- a/specification/cognitiveservices/Language.Conversations/tspconfig.yaml +++ b/specification/cognitiveservices/Language.Conversations/tspconfig.yaml @@ -12,7 +12,6 @@ options: azure-resource-provider-folder: "data-plane" emit-lro-options: "none" emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/Language/{version-status}/{version}/analyzeconversations.json" "@azure-tools/typespec-csharp": package-dir: "Azure.AI.Language.Conversations" diff --git a/specification/cognitiveservices/OpenAI.Inference/models/batch.tsp b/specification/cognitiveservices/OpenAI.Inference/models/batch.tsp index 5e20f65ba139..bf1823974242 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/batch.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/batch.tsp @@ -56,7 +56,7 @@ model BatchCreateRequest { metadata?: Record; } -/** Defines the response when creating a batch. */ +/** The requested new batch job. */ @added(ServiceApiVersions.v2024_07_01_Preview) model BatchCreateResponse { // Customization note: the status code in OpenAI is 200. diff --git a/specification/cognitiveservices/OpenAI.Inference/models/completions/chat_messages.tsp b/specification/cognitiveservices/OpenAI.Inference/models/completions/chat_messages.tsp index 702a4c0c9056..c0897d3590e5 100644 --- a/specification/cognitiveservices/OpenAI.Inference/models/completions/chat_messages.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/models/completions/chat_messages.tsp @@ -14,7 +14,13 @@ using TypeSpec.Versioning; namespace Azure.OpenAI; #suppress "@azure-tools/typespec-autorest/union-unsupported" "External API shape is defined in OpenAPI 3.0 as oneOf." -alias ChatMessageContent = string | ChatMessageContentItem[]; +@doc("The contents of the user message, with available input types varying by selected model.") +union ChatMessageContent { + string, + + @added(ServiceApiVersions.v2024_02_15_Preview) + ChatMessageContentItem[], +} @added(ServiceApiVersions.v2024_02_15_Preview) @doc("An abstract representation of a structured content item within a chat message.") diff --git a/specification/cognitiveservices/OpenAI.Inference/routes/batches.tsp b/specification/cognitiveservices/OpenAI.Inference/routes/batches.tsp index 21ca05c46340..0a6d202de03a 100644 --- a/specification/cognitiveservices/OpenAI.Inference/routes/batches.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/routes/batches.tsp @@ -19,7 +19,7 @@ namespace Azure.OpenAI; */ #suppress "@azure-tools/typespec-azure-core/use-standard-names" "mirrored API responds with a container" #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @get @added(ServiceApiVersions.v2024_07_01_Preview) @@ -42,7 +42,7 @@ op listBatches( */ #suppress "@azure-tools/typespec-azure-core/use-standard-names" "mirrored API responds with a container" #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @post @added(ServiceApiVersions.v2024_07_01_Preview) @@ -60,7 +60,7 @@ op createBatch( * @returns The requested existing batch job. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" #suppress "@azure-tools/typespec-azure-core/use-standard-names" "mirrored API name parity" @get @@ -80,7 +80,7 @@ op getBatch( * @returns The updated batch job that was canceled. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" #suppress "@azure-tools/typespec-azure-core/use-standard-names" "mirrored API name parity" @post diff --git a/specification/cognitiveservices/OpenAI.Inference/routes/files.tsp b/specification/cognitiveservices/OpenAI.Inference/routes/files.tsp index 020e0bb7dfc1..d16314446213 100644 --- a/specification/cognitiveservices/OpenAI.Inference/routes/files.tsp +++ b/specification/cognitiveservices/OpenAI.Inference/routes/files.tsp @@ -19,7 +19,7 @@ namespace Azure.OpenAI; */ #suppress "@azure-tools/typespec-azure-core/use-standard-names" "mirrored API responds with a container" #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @get @added(ServiceApiVersions.v2024_07_01_Preview) @@ -36,7 +36,7 @@ op listFiles(@query purpose?: FilePurpose): FileListResponse; * @returns A representation of the uploaded file. */ #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" #suppress "@azure-tools/typespec-azure-core/byos" "mirrored API" @post @@ -58,7 +58,7 @@ op uploadFile( ): OpenAIFile; #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" @delete @doc("Delete a previously uploaded file.") @@ -72,7 +72,7 @@ op deleteFile( ): FileDeletionStatus; #suppress "@azure-tools/typespec-azure-core/use-standard-operations" "not yet an Azure operation" -#suppress "@azure-tools/typespec-azure-core/no-operation-id" "non-standard operations" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "non-standard operations" #suppress "@azure-tools/typespec-azure-core/operation-missing-api-version" "not yet versioned" #suppress "@azure-tools/typespec-azure-core/use-standard-names" "mirrored API name parity" @get diff --git a/specification/cognitiveservices/OpenAI.Inference/tspconfig.yaml b/specification/cognitiveservices/OpenAI.Inference/tspconfig.yaml index 15156ac77004..ab7dea48e4e9 100644 --- a/specification/cognitiveservices/OpenAI.Inference/tspconfig.yaml +++ b/specification/cognitiveservices/OpenAI.Inference/tspconfig.yaml @@ -14,7 +14,6 @@ options: output-file: "{azure-resource-provider-folder}/AzureOpenAI/inference/{version-status}/{version}/generated.json" azure-resource-provider-folder: "data-plane" emit-lro-options: "none" - examples-directory: "{project-root}/examples" omit-unreachable-types: true "@azure-tools/typespec-csharp": package-dir: "Azure.AI.OpenAI" diff --git a/specification/cognitiveservices/Speech.VideoTranslation/main.tsp b/specification/cognitiveservices/Speech.VideoTranslation/main.tsp index 988b53583084..1a3885be349b 100644 --- a/specification/cognitiveservices/Speech.VideoTranslation/main.tsp +++ b/specification/cognitiveservices/Speech.VideoTranslation/main.tsp @@ -9,6 +9,7 @@ using TypeSpec.Rest; using TypeSpec.Versioning; using TypeSpec.OpenAPI; +#suppress "@azure-tools/typespec-azure-core/no-openapi" "Keeping this in the spec for now" @doc("Video translation API to translate video from source locale to target locale.") @versioned(VideoTranslation.ApiVersions) @service({ diff --git a/specification/cognitiveservices/Speech.VideoTranslation/tspconfig.yaml b/specification/cognitiveservices/Speech.VideoTranslation/tspconfig.yaml index 8367bce57161..950a9701e295 100644 --- a/specification/cognitiveservices/Speech.VideoTranslation/tspconfig.yaml +++ b/specification/cognitiveservices/Speech.VideoTranslation/tspconfig.yaml @@ -10,6 +10,5 @@ options: "@azure-tools/typespec-autorest": azure-resource-provider-folder: "data-plane" emitter-output-dir: "{project-root}/.." - examples-directory: "examples" omit-unreachable-types: true output-file: "{azure-resource-provider-folder}/Speech/VideoTranslation/{version-status}/{version}/VideoTranslation.json" diff --git a/specification/cognitiveservices/data-plane/AnomalyDetector/stable/v1.1/openapi.json b/specification/cognitiveservices/data-plane/AnomalyDetector/stable/v1.1/openapi.json index 7b2b3dc75b47..86b9d41268bd 100644 --- a/specification/cognitiveservices/data-plane/AnomalyDetector/stable/v1.1/openapi.json +++ b/specification/cognitiveservices/data-plane/AnomalyDetector/stable/v1.1/openapi.json @@ -148,7 +148,8 @@ } }, "x-ms-pageable": { - "nextLinkName": "nextLink" + "nextLinkName": "nextLink", + "itemName": "models" } }, "post": { diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json index 80ad47ec677a..567fbfd40f21 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-06-01-preview/generated.json @@ -588,6 +588,10 @@ "messages" ] }, + "ChatMessageContent": { + "type": "string", + "x-nullable": false + }, "ChatRequestAssistantMessage": { "type": "object", "description": "A request chat message representing response or action from the assistant.", @@ -654,6 +658,7 @@ "description": "A request chat message representing user input to the assistant.", "properties": { "content": { + "$ref": "#/definitions/ChatMessageContent", "description": "The contents of the user message, with available input types varying by selected model." }, "name": { diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json index 5a9d2881f642..0fdd49dade35 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2023-07-01-preview/generated.json @@ -600,6 +600,10 @@ "messages" ] }, + "ChatMessageContent": { + "type": "string", + "x-nullable": false + }, "ChatRequestAssistantMessage": { "type": "object", "description": "A request chat message representing response or action from the assistant.", @@ -696,6 +700,7 @@ "description": "A request chat message representing user input to the assistant.", "properties": { "content": { + "$ref": "#/definitions/ChatMessageContent", "description": "The contents of the user message, with available input types varying by selected model." }, "name": { diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-02-15-preview/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-02-15-preview/generated.json index da1d7570972a..630c9b28e131 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-02-15-preview/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-02-15-preview/generated.json @@ -2321,6 +2321,7 @@ "type" ] }, + "ChatMessageContent": {}, "ChatRequestAssistantMessage": { "type": "object", "description": "A request chat message representing response or action from the assistant.", @@ -2451,6 +2452,7 @@ "description": "A request chat message representing user input to the assistant.", "properties": { "content": { + "$ref": "#/definitions/ChatMessageContent", "description": "The contents of the user message, with available input types varying by selected model." }, "name": { diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-03-01-preview/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-03-01-preview/generated.json index a0f0eb9f5181..08a6d0d39cdf 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-03-01-preview/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-03-01-preview/generated.json @@ -2321,6 +2321,7 @@ "type" ] }, + "ChatMessageContent": {}, "ChatRequestAssistantMessage": { "type": "object", "description": "A request chat message representing response or action from the assistant.", @@ -2451,6 +2452,7 @@ "description": "A request chat message representing user input to the assistant.", "properties": { "content": { + "$ref": "#/definitions/ChatMessageContent", "description": "The contents of the user message, with available input types varying by selected model." }, "name": { diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-04-01-preview/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-04-01-preview/generated.json index b5c82a20f9cf..90332b7b9115 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-04-01-preview/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-04-01-preview/generated.json @@ -2457,6 +2457,7 @@ "type" ] }, + "ChatMessageContent": {}, "ChatRequestAssistantMessage": { "type": "object", "description": "A request chat message representing response or action from the assistant.", @@ -2587,6 +2588,7 @@ "description": "A request chat message representing user input to the assistant.", "properties": { "content": { + "$ref": "#/definitions/ChatMessageContent", "description": "The contents of the user message, with available input types varying by selected model." }, "name": { diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-05-01-preview/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-05-01-preview/generated.json index 5413c40f9c8e..a652c7340c93 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-05-01-preview/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-05-01-preview/generated.json @@ -2612,6 +2612,7 @@ "type" ] }, + "ChatMessageContent": {}, "ChatRequestAssistantMessage": { "type": "object", "description": "A request chat message representing response or action from the assistant.", @@ -2742,6 +2743,7 @@ "description": "A request chat message representing user input to the assistant.", "properties": { "content": { + "$ref": "#/definitions/ChatMessageContent", "description": "The contents of the user message, with available input types varying by selected model." }, "name": { diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-07-01-preview/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-07-01-preview/generated.json index 41826b0db202..bd3bab32eaa8 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-07-01-preview/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-07-01-preview/generated.json @@ -3289,6 +3289,7 @@ "type" ] }, + "ChatMessageContent": {}, "ChatRequestAssistantMessage": { "type": "object", "description": "A request chat message representing response or action from the assistant.", @@ -3419,6 +3420,7 @@ "description": "A request chat message representing user input to the assistant.", "properties": { "content": { + "$ref": "#/definitions/ChatMessageContent", "description": "The contents of the user message, with available input types varying by selected model." }, "name": { diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2023-05-15/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2023-05-15/generated.json index 2b0040733354..bb2aff930744 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2023-05-15/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2023-05-15/generated.json @@ -405,6 +405,10 @@ "messages" ] }, + "ChatMessageContent": { + "type": "string", + "x-nullable": false + }, "ChatRequestAssistantMessage": { "type": "object", "description": "A request chat message representing response or action from the assistant.", @@ -471,6 +475,7 @@ "description": "A request chat message representing user input to the assistant.", "properties": { "content": { + "$ref": "#/definitions/ChatMessageContent", "description": "The contents of the user message, with available input types varying by selected model." }, "name": { diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2024-02-01/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2024-02-01/generated.json index 1b6d32c87a54..9392d94741f2 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2024-02-01/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2024-02-01/generated.json @@ -600,6 +600,10 @@ "messages" ] }, + "ChatMessageContent": { + "type": "string", + "x-nullable": false + }, "ChatRequestAssistantMessage": { "type": "object", "description": "A request chat message representing response or action from the assistant.", @@ -696,6 +700,7 @@ "description": "A request chat message representing user input to the assistant.", "properties": { "content": { + "$ref": "#/definitions/ChatMessageContent", "description": "The contents of the user message, with available input types varying by selected model." }, "name": { diff --git a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2024-06-01/generated.json b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2024-06-01/generated.json index 65578f9ba9e5..4d95f38b9fd5 100644 --- a/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2024-06-01/generated.json +++ b/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2024-06-01/generated.json @@ -2612,6 +2612,7 @@ "type" ] }, + "ChatMessageContent": {}, "ChatRequestAssistantMessage": { "type": "object", "description": "A request chat message representing response or action from the assistant.", @@ -2742,6 +2743,7 @@ "description": "A request chat message representing user input to the assistant.", "properties": { "content": { + "$ref": "#/definitions/ChatMessageContent", "description": "The contents of the user message, with available input types varying by selected model." }, "name": { diff --git a/specification/communication/Communication.JobRouter/tspconfig.yaml b/specification/communication/Communication.JobRouter/tspconfig.yaml index f46ef43ff65e..5bbf6cf62172 100644 --- a/specification/communication/Communication.JobRouter/tspconfig.yaml +++ b/specification/communication/Communication.JobRouter/tspconfig.yaml @@ -27,7 +27,6 @@ options: output-file: "{azure-resource-provider-folder}/JobRouter/{version-status}/{version}/communicationservicejobrouter.json" emitter-output-dir: "{project-root}/.." omit-unreachable-types: true - examples-directory: "{project-root}/examples" "@azure-tools/typespec-csharp": clear-output-folder: true model-namespace: false diff --git a/specification/communication/Communication.Messages/tspconfig.yaml b/specification/communication/Communication.Messages/tspconfig.yaml index 211452b49fc9..efa014db6fba 100644 --- a/specification/communication/Communication.Messages/tspconfig.yaml +++ b/specification/communication/Communication.Messages/tspconfig.yaml @@ -27,7 +27,6 @@ options: output-file: "{azure-resource-provider-folder}/Messages/{version-status}/{version}/communicationservicesmessages.json" emitter-output-dir: "{project-root}/.." omit-unreachable-types: true - examples-directory: "{project-root}/examples" "@azure-tools/typespec-csharp": clear-output-folder: true model-namespace: false diff --git a/specification/communitytraining/Community.Management/tspconfig.yaml b/specification/communitytraining/Community.Management/tspconfig.yaml index 5b9db1d431bc..c40e38aca037 100644 --- a/specification/communitytraining/Community.Management/tspconfig.yaml +++ b/specification/communitytraining/Community.Management/tspconfig.yaml @@ -8,7 +8,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/CommunityTrainings.json" - examples-directory: "{project-root}/examples" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/computeschedule/ComputeSchedule.Management/models.tsp b/specification/computeschedule/ComputeSchedule.Management/models.tsp index 7c926fa1c260..164dd9a03641 100644 --- a/specification/computeschedule/ComputeSchedule.Management/models.tsp +++ b/specification/computeschedule/ComputeSchedule.Management/models.tsp @@ -114,7 +114,6 @@ model Schedule { timeZone: string; @doc("The deadlinetype of the operation, this can either be InitiateAt or CompleteBy") - @extension("x-ms-enum.modelAsString", true) deadlineType: DeadlineType = DeadlineType.Unknown; } @@ -160,7 +159,6 @@ model ResourceOperationDetails { resourceId: Azure.Core.armResourceIdentifier; @doc("Type of operation performed on the resources") - @extension("x-ms-enum.modelAsString", true) opType: ResourceOperationType = ResourceOperationType.Unknown; @doc("Subscription id attached to the request") @@ -171,11 +169,9 @@ model ResourceOperationDetails { deadline: offsetDateTime; @doc("Type of deadline of the operation") - @extension("x-ms-enum.modelAsString", true) deadlineType: DeadlineType = DeadlineType.Unknown; @doc("Current state of the operation") - @extension("x-ms-enum.modelAsString", true) state: OperationState = OperationState.Unknown; @doc("Timezone for the operation") @@ -274,7 +270,7 @@ model DeallocateResourceOperationResponse { type: string; @doc("The location of the deallocate request eg westus") - @extension("x-ms-mutability", ["read", "create"]) + @visibility("read", "create") location: string; @extension("x-ms-identifiers", ["resourceId"]) @@ -307,7 +303,7 @@ model StartResourceOperationResponse { type: string; @doc("The location of the start request eg westus") - @extension("x-ms-mutability", ["read", "create"]) + @visibility("read", "create") location: string; @extension("x-ms-identifiers", ["resourceId"]) @@ -340,7 +336,7 @@ model HibernateResourceOperationResponse { type: string; @doc("The location of the Hibernate request eg westus") - @extension("x-ms-mutability", ["read", "create"]) + @visibility("read", "create") location: string; @extension("x-ms-identifiers", ["resourceId"]) diff --git a/specification/computeschedule/ComputeSchedule.Management/tspconfig.yaml b/specification/computeschedule/ComputeSchedule.Management/tspconfig.yaml index 8c35b32e5278..a78e474bdd8e 100644 --- a/specification/computeschedule/ComputeSchedule.Management/tspconfig.yaml +++ b/specification/computeschedule/ComputeSchedule.Management/tspconfig.yaml @@ -5,7 +5,6 @@ options: emitter-output-dir: "{project-root}/.." azure-resource-provider-folder: "resource-manager" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/computeschedule.json" - examples-directory: "{project-root}/examples" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/computeschedule/resource-manager/Microsoft.ComputeSchedule/preview/2024-08-15-preview/computeschedule.json b/specification/computeschedule/resource-manager/Microsoft.ComputeSchedule/preview/2024-08-15-preview/computeschedule.json index 2b03268aec5d..e23760f86190 100644 --- a/specification/computeschedule/resource-manager/Microsoft.ComputeSchedule/preview/2024-08-15-preview/computeschedule.json +++ b/specification/computeschedule/resource-manager/Microsoft.ComputeSchedule/preview/2024-08-15-preview/computeschedule.json @@ -1102,8 +1102,7 @@ "description": "Hibernate operations on the resources" } ] - }, - "x-ms-enum.modelAsString": true + } }, "subscriptionId": { "type": "string", @@ -1143,8 +1142,7 @@ "description": "Complete the operation by the given deadline." } ] - }, - "x-ms-enum.modelAsString": true + } }, "state": { "type": "string", @@ -1211,8 +1209,7 @@ "description": "Operations that are blocked" } ] - }, - "x-ms-enum.modelAsString": true + } }, "timeZone": { "type": "string", @@ -1372,8 +1369,7 @@ "description": "Complete the operation by the given deadline." } ] - }, - "x-ms-enum.modelAsString": true + } } }, "required": [ diff --git a/specification/confidentialledger/Microsoft.CodeTransparency/tspconfig.yaml b/specification/confidentialledger/Microsoft.CodeTransparency/tspconfig.yaml index addaaae6d287..3f7eb764893a 100644 --- a/specification/confidentialledger/Microsoft.CodeTransparency/tspconfig.yaml +++ b/specification/confidentialledger/Microsoft.CodeTransparency/tspconfig.yaml @@ -10,7 +10,6 @@ options: "@azure-tools/typespec-autorest": azure-resource-provider-folder: "./data-plane" emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/cts.json" "@azure-tools/typespec-python": flavor: azure diff --git a/specification/confidentialledger/Microsoft.ManagedCcf/tspconfig.yaml b/specification/confidentialledger/Microsoft.ManagedCcf/tspconfig.yaml index 71a6b23abd19..8a3be0895f34 100644 --- a/specification/confidentialledger/Microsoft.ManagedCcf/tspconfig.yaml +++ b/specification/confidentialledger/Microsoft.ManagedCcf/tspconfig.yaml @@ -11,5 +11,4 @@ options: "@azure-tools/typespec-autorest": azure-resource-provider-folder: "./data-plane" emitter-output-dir: "{project-root}/.." - examples-directory: ./examples output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/mccfgov.json" diff --git a/specification/confidentialledger/data-plane/Microsoft.CodeTransparency/preview/2024-01-11-preview/cts.json b/specification/confidentialledger/data-plane/Microsoft.CodeTransparency/preview/2024-01-11-preview/cts.json index e706aef09f4c..19f7d15f4eb1 100644 --- a/specification/confidentialledger/data-plane/Microsoft.CodeTransparency/preview/2024-01-11-preview/cts.json +++ b/specification/confidentialledger/data-plane/Microsoft.CodeTransparency/preview/2024-01-11-preview/cts.json @@ -260,7 +260,7 @@ } }, "503": { - "description": "Service unavailable.", + "description": "Service temporarily unavailable", "schema": { "$ref": "#/definitions/ServiceUnavailableError" }, @@ -295,7 +295,8 @@ } }, "x-ms-pageable": { - "nextLinkName": "nextLink" + "nextLinkName": "nextLink", + "itemName": "transactionIds" } } }, diff --git a/specification/containerservice/Fleet.Management/fleet.tsp b/specification/containerservice/Fleet.Management/fleet.tsp index df75bf9acedc..8bf428c3a67c 100644 --- a/specification/containerservice/Fleet.Management/fleet.tsp +++ b/specification/containerservice/Fleet.Management/fleet.tsp @@ -182,7 +182,7 @@ interface Fleets { get is ArmResourceRead; #suppress "@azure-tools/typespec-azure-core/invalid-final-state" "must change at next update" - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "changing the operation-id on an existing operation is an SDK breaking change" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "changing the operation-id on an existing operation is an SDK breaking change" @doc("Creates or updates a Fleet.") @operationId("Fleets_CreateOrUpdate") @Azure.Core.useFinalStateVia("azure-async-operation") @@ -204,7 +204,7 @@ interface Fleets { IfMatchParameters >; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Use operationId to keep same name as deprecated sync operation" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Use operationId to keep same name as deprecated sync operation" @added(Versions.v2023_06_15_preview) @operationId("Fleets_Update") @extension( diff --git a/specification/containerservice/Fleet.Management/fleetmember.tsp b/specification/containerservice/Fleet.Management/fleetmember.tsp index 2efbbc15380f..6da428ce9561 100644 --- a/specification/containerservice/Fleet.Management/fleetmember.tsp +++ b/specification/containerservice/Fleet.Management/fleetmember.tsp @@ -100,7 +100,7 @@ interface FleetMembers { IfMatchParameters >; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Use operationId to keep same name as deprecated sync operation" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Use operationId to keep same name as deprecated sync operation" @sharedRoute @added(Versions.v2023_06_15_preview) @operationId("FleetMembers_Update") diff --git a/specification/containerservice/Fleet.Management/helpers.tsp b/specification/containerservice/Fleet.Management/helpers.tsp index 1833fcf955ad..bf648fe7ecb9 100644 --- a/specification/containerservice/Fleet.Management/helpers.tsp +++ b/specification/containerservice/Fleet.Management/helpers.tsp @@ -45,6 +45,7 @@ op FleetCustomPatchSync< ): ArmResponse | ErrorResponse; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation-outside-interface" "this is a template" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @autoRoute @doc("Create a {name}", TResource) @extension("x-ms-long-running-operation", true) @@ -70,9 +71,9 @@ op FleetArmResourceCreateOrUpdateAsync< // this is a copy of ArmResourceDeleteAsync that adds the location header to comply with arm linter. #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "this is a template" #suppress "@azure-tools/typespec-providerhub/no-inline-model" "inlining the response with a header does not present a risk" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @autoRoute @doc("Delete a {name}", TResource) -@extension("x-ms-long-running-operation", true) @extension( "x-ms-long-running-operation-options", { diff --git a/specification/containerservice/Fleet.Management/tspconfig.yaml b/specification/containerservice/Fleet.Management/tspconfig.yaml index d689f8d54806..d9ea513e7979 100644 --- a/specification/containerservice/Fleet.Management/tspconfig.yaml +++ b/specification/containerservice/Fleet.Management/tspconfig.yaml @@ -13,7 +13,6 @@ options: arm-resource-flattening: true emitter-output-dir: "{project-root}/.." arm-types-dir: "{project-root}/../../common-types/resource-management" - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/{service-name}/fleet/{version-status}/{version}/fleets.json" omit-unreachable-types: true use-read-only-status-schema: true diff --git a/specification/containerservice/Fleet.Management/update/strategy.tsp b/specification/containerservice/Fleet.Management/update/strategy.tsp index 27989dbd0c8b..38c5e48fed09 100644 --- a/specification/containerservice/Fleet.Management/update/strategy.tsp +++ b/specification/containerservice/Fleet.Management/update/strategy.tsp @@ -67,6 +67,7 @@ interface FleetUpdateStrategies { #suppress "deprecated" "Existing API" #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "Existing API" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - migrate to LRO apis" @extension( "x-ms-long-running-operation-options", { diff --git a/specification/containerstorage/ContainerStorage.Management/pool.tsp b/specification/containerstorage/ContainerStorage.Management/pool.tsp index 67ca32577450..058c739b4908 100644 --- a/specification/containerstorage/ContainerStorage.Management/pool.tsp +++ b/specification/containerstorage/ContainerStorage.Management/pool.tsp @@ -13,6 +13,7 @@ namespace Microsoft.ContainerStorage; interface Pools { get is ArmResourceRead; #suppress "@azure-tools/typespec-azure-core/invalid-final-state" "MUST CHANGE ON NEXT UPDATE" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DOT NOT COPY - migrate to LRO apis" @extension( "x-ms-long-running-operation-options", { diff --git a/specification/containerstorage/ContainerStorage.Management/snapshot.tsp b/specification/containerstorage/ContainerStorage.Management/snapshot.tsp index ed79f69d3d59..985c25b21a13 100644 --- a/specification/containerstorage/ContainerStorage.Management/snapshot.tsp +++ b/specification/containerstorage/ContainerStorage.Management/snapshot.tsp @@ -13,6 +13,7 @@ namespace Microsoft.ContainerStorage; interface Snapshots { get is ArmResourceRead; #suppress "@azure-tools/typespec-azure-core/invalid-final-state" "MUST CHANGE ON NEXT UPDATE" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DOT NOT COPY - migrate to LRO apis" @extension( "x-ms-long-running-operation-options", { diff --git a/specification/containerstorage/ContainerStorage.Management/tspconfig.yaml b/specification/containerstorage/ContainerStorage.Management/tspconfig.yaml index b4bcbcb76b28..858c8fc223ac 100644 --- a/specification/containerstorage/ContainerStorage.Management/tspconfig.yaml +++ b/specification/containerstorage/ContainerStorage.Management/tspconfig.yaml @@ -12,5 +12,4 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/containerstorage.json" diff --git a/specification/containerstorage/ContainerStorage.Management/volume.tsp b/specification/containerstorage/ContainerStorage.Management/volume.tsp index dccfe3cade40..c730fd1676cc 100644 --- a/specification/containerstorage/ContainerStorage.Management/volume.tsp +++ b/specification/containerstorage/ContainerStorage.Management/volume.tsp @@ -13,6 +13,7 @@ namespace Microsoft.ContainerStorage; interface Volumes { get is ArmResourceRead; #suppress "@azure-tools/typespec-azure-core/invalid-final-state" "MUST CHANGE ON NEXT UPDATE" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DOT NOT COPY - migrate to LRO apis" @extension( "x-ms-long-running-operation-options", { diff --git a/specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml b/specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml index 11957c7a6a04..d952a53f56e2 100644 --- a/specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml +++ b/specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml @@ -9,7 +9,6 @@ options: emitter-output-dir: "{project-root}/.." azure-resource-provider-folder: "resource-manager" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/contoso.json" - examples-directory: "{project-root}/examples" emit-common-types-schema: "never" "@azure-tools/typespec-csharp": flavor: azure @@ -28,7 +27,6 @@ options: package-dir: "azure-resourcemanager-contoso" namespace: "com.azure.resourcemanager.contoso" service-name: "contoso" - examples-directory: "{project-root}/examples" flavor: azure "@azure-tools/typespec-ts": package-dir: "arm-contoso" @@ -45,7 +43,6 @@ options: service-dir: "sdk/resourcemanager/contoso" package-dir: "armcontoso" module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" - examples-directory: "{project-root}/examples" fix-const-stuttering: true flavor: "azure" generate-examples: true diff --git a/specification/contosowidgetmanager/Contoso.WidgetManager/tspconfig.yaml b/specification/contosowidgetmanager/Contoso.WidgetManager/tspconfig.yaml index 2cb4ffa12652..93dd9d6f2085 100644 --- a/specification/contosowidgetmanager/Contoso.WidgetManager/tspconfig.yaml +++ b/specification/contosowidgetmanager/Contoso.WidgetManager/tspconfig.yaml @@ -15,7 +15,6 @@ options: azure-resource-provider-folder: "data-plane" emit-lro-options: "none" emitter-output-dir: "{project-root}/.." - examples-directory: "examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/widgets.json" "@azure-tools/typespec-python": package-dir: "azure-contoso-widgetmanager" diff --git a/specification/databasewatcher/DatabaseWatcher.Management/tspconfig.yaml b/specification/databasewatcher/DatabaseWatcher.Management/tspconfig.yaml index 7734a098531f..1178a6c18d05 100644 --- a/specification/databasewatcher/DatabaseWatcher.Management/tspconfig.yaml +++ b/specification/databasewatcher/DatabaseWatcher.Management/tspconfig.yaml @@ -7,7 +7,6 @@ options: emit-common-types-schema: "never" # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/Watcher.json" use-read-only-status-schema: true linter: diff --git a/specification/databasewatcher/DatabaseWatcher.Management/watcher.tsp b/specification/databasewatcher/DatabaseWatcher.Management/watcher.tsp index 68c780ceba38..65042af94b0d 100644 --- a/specification/databasewatcher/DatabaseWatcher.Management/watcher.tsp +++ b/specification/databasewatcher/DatabaseWatcher.Management/watcher.tsp @@ -138,11 +138,11 @@ interface Watchers { listByResourceGroup is ArmResourceListByParent; listBySubscription is ArmListBySubscription; + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @doc("The action to start monitoring all targets configured for a database watcher.") @action @post @armResourceAction(Watcher) - @extension("x-ms-long-running-operation", true) @extension( "x-ms-long-running-operation-options", { @@ -153,6 +153,7 @@ interface Watchers { ...ResourceInstanceParameters, ): ArmAcceptedLroResponse | ArmResponse | ErrorResponse; + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @doc("The action to stop monitoring all targets configured for a database watcher.") @action @post diff --git a/specification/devcenter/DevCenter/tspconfig.yaml b/specification/devcenter/DevCenter/tspconfig.yaml index d72a910d68d3..476f295d6a7a 100644 --- a/specification/devcenter/DevCenter/tspconfig.yaml +++ b/specification/devcenter/DevCenter/tspconfig.yaml @@ -11,7 +11,6 @@ options: emit-lro-options: "none" emitter-output-dir: "{project-root}/.." output-file: "{azure-resource-provider-folder}/Microsoft.DevCenter/{version-status}/{version}/devcenter.json" - examples-directory: "{project-root}/examples" omit-unreachable-types: true "@azure-tools/typespec-csharp": package-dir: "Azure.Developer.DevCenter" diff --git a/specification/developersigning/DeveloperSigning/tspconfig.yaml b/specification/developersigning/DeveloperSigning/tspconfig.yaml index 32ecb21fbd7a..bf57d497b1b3 100644 --- a/specification/developersigning/DeveloperSigning/tspconfig.yaml +++ b/specification/developersigning/DeveloperSigning/tspconfig.yaml @@ -11,7 +11,6 @@ options: azure-resource-provider-folder: "data-plane" emit-lro-options: "none" emitter-output-dir: "{project-root}/.." - examples-directory: "examples" omit-unreachable-types: true output-file: "{azure-resource-provider-folder}/Azure.Developer.Signing/{version-status}/{version}/azure.developer.signing.json" "@azure-tools/typespec-python": diff --git a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml index 9877694fac10..3b78047cb20e 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml +++ b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml @@ -11,7 +11,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/deviceregistry.json" - examples-directory: "{project-root}/examples" use-read-only-status-schema: true omit-unreachable-types: true "@azure-tools/typespec-java": @@ -19,7 +18,6 @@ options: flavor: "azure" namespace: "com.azure.resourcemanager.deviceregistry" service-name: "Device Registry" - examples-directory: "{project-root}/examples" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml b/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml index 17fc8e2ad920..a6de4688fc7d 100644 --- a/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml +++ b/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml @@ -15,7 +15,6 @@ options: emit-common-types-schema: "never" # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/devopsinfrastructure.json" omit-unreachable-types: true "@azure-tools/typespec-python": @@ -30,7 +29,6 @@ options: flavor: "azure" namespace: "com.azure.resourcemanager.devopsinfrastructure" service-name: "DevOps Infrastructure" - examples-directory: "{project-root}/examples" "@azure-tools/cadl-csharp": save-inputs: false clear-output-folder: true diff --git a/specification/edgezones/EdgeZones.Management/tspconfig.yaml b/specification/edgezones/EdgeZones.Management/tspconfig.yaml index e0e1de4ca70d..87cf3b8931b1 100644 --- a/specification/edgezones/EdgeZones.Management/tspconfig.yaml +++ b/specification/edgezones/EdgeZones.Management/tspconfig.yaml @@ -14,7 +14,6 @@ options: arm-resource-flattening: true use-read-only-status-schema: true emitter-output-dir: "{project-root}/.." - examples-directory: "examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/edgezones.json" "@azure-tools/typespec-python": package-dir: "azure-mgmt-edgezones" @@ -28,12 +27,10 @@ options: flavor: "azure" namespace: "com.azure.resourcemanager.edgezones" service-name: "Edge Zones" - examples-directory: "{project-root}/examples" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/edgezones" package-dir: "armedgezones" module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" - examples-directory: "{project-root}/examples" fix-const-stuttering: true flavor: "azure" generate-examples: true diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml index a5e8010b8169..970d52f81e55 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml @@ -11,7 +11,6 @@ linter: options: "@azure-tools/typespec-autorest": emitter-output-dir: "{project-root}/.." - examples-directory: examples omit-unreachable-types: false output-file: "{azure-resource-provider-folder}/Microsoft.EventGrid/{version-status}/{version}/GeneratedSystemEvents.json" azure-resource-provider-folder: "data-plane" diff --git a/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml b/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml index 12f19d5ae1b1..8477281bc07d 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml +++ b/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml @@ -11,7 +11,6 @@ linter: options: "@azure-tools/typespec-autorest": emitter-output-dir: "{project-root}/.." - examples-directory: examples omit-unreachable-types: true output-file: "{azure-resource-provider-folder}/Microsoft.EventGrid/{version-status}/{version}/EventGrid.json" azure-resource-provider-folder: "data-plane" diff --git a/specification/fabric/Microsoft.Fabric.Management/tspconfig.yaml b/specification/fabric/Microsoft.Fabric.Management/tspconfig.yaml index ae2e19864061..6aef6e95b624 100644 --- a/specification/fabric/Microsoft.Fabric.Management/tspconfig.yaml +++ b/specification/fabric/Microsoft.Fabric.Management/tspconfig.yaml @@ -12,7 +12,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/fabric.json" - examples-directory: "{project-root}/examples" "@azure-tools/typespec-csharp": flavor: azure package-dir: "Azure.ResourceManager.Fabric" diff --git a/specification/healthdataaiservices/HealthDataAIServices.DeidServices/tspconfig.yaml b/specification/healthdataaiservices/HealthDataAIServices.DeidServices/tspconfig.yaml index a3e699903a64..2890f991aec3 100644 --- a/specification/healthdataaiservices/HealthDataAIServices.DeidServices/tspconfig.yaml +++ b/specification/healthdataaiservices/HealthDataAIServices.DeidServices/tspconfig.yaml @@ -10,7 +10,6 @@ options: "@azure-tools/typespec-autorest": azure-resource-provider-folder: "data-plane" emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples/" output-file: "{project-root}/../data-plane/{service-name}/{version-status}/{version}/{service-name}.json" omit-unreachable-types: true "@azure-tools/typespec-python": diff --git a/specification/healthdataaiservices/HealthDataAIServices.Management/tspconfig.yaml b/specification/healthdataaiservices/HealthDataAIServices.Management/tspconfig.yaml index 0ad8c89affef..f45ad94de92c 100644 --- a/specification/healthdataaiservices/HealthDataAIServices.Management/tspconfig.yaml +++ b/specification/healthdataaiservices/HealthDataAIServices.Management/tspconfig.yaml @@ -8,7 +8,6 @@ options: azure-resource-provider-folder: "resource-manager" use-read-only-status-schema: true emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json" new-line: lf "@azure-tools/typespec-csharp": @@ -16,7 +15,6 @@ options: flavor: azure namespace: "{package-dir}" service-name: "Health Data AI Services" - examples-directory: "examples" "@azure-tools/typespec-python": package-dir: "azure-mgmt-healthdataaiservices" flavor: "azure" @@ -29,7 +27,6 @@ options: flavor: "azure" namespace: "com.azure.resourcemanager.healthdataaiservices" service-name: "Health Data AI Services" - examples-directory: "{project-root}/examples" "@azure-tools/typespec-ts": azureSdkForJs: true isModularLibrary: true @@ -46,7 +43,6 @@ options: service-dir: "sdk/resourcemanager/healthdataaiservices" package-dir: "armhealthdataaiservices" module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" - examples-directory: "{project-root}/examples" fix-const-stuttering: true flavor: "azure" generate-examples: true diff --git a/specification/hybridconnectivity/PublicCloud.Management/tspconfig.yaml b/specification/hybridconnectivity/PublicCloud.Management/tspconfig.yaml index b5c90b79c729..217fcecbfba9 100644 --- a/specification/hybridconnectivity/PublicCloud.Management/tspconfig.yaml +++ b/specification/hybridconnectivity/PublicCloud.Management/tspconfig.yaml @@ -7,7 +7,6 @@ options: azure-resource-provider-folder: "resource-manager" emitter-output-dir: "{output-dir}" output-file: "{azure-resource-provider-folder}/{service-name}/PublicCloud/{version-status}/{version}/publicCloud.json" - examples-directory: "examples" arm-types-dir: "../../../../../../common-types/resource-management" linter: extends: diff --git a/specification/informatica/Informatica.DataManagement.Management/tspconfig.yaml b/specification/informatica/Informatica.DataManagement.Management/tspconfig.yaml index 21d2ab7f073f..f920061a82c1 100644 --- a/specification/informatica/Informatica.DataManagement.Management/tspconfig.yaml +++ b/specification/informatica/Informatica.DataManagement.Management/tspconfig.yaml @@ -11,7 +11,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json" - examples-directory: "{project-root}/examples" # "@azure-tools/typespec-python": # package-dir: "azure-mgmt-informaticadatamanagement" # package-name: "{package-dir}" diff --git a/specification/iotoperations/IoTOperations.Management/main.tsp b/specification/iotoperations/IoTOperations.Management/main.tsp index 1907dc2bd0cf..d0f76ba18550 100644 --- a/specification/iotoperations/IoTOperations.Management/main.tsp +++ b/specification/iotoperations/IoTOperations.Management/main.tsp @@ -103,7 +103,7 @@ interface Dataflow { get is ArmResourceRead; createOrUpdate is ArmResourceCreateOrUpdateAsync; delete is ArmResourceDeleteWithoutOkAsync; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("Dataflow_ListByProfileResource") listByResourceGroup is ArmResourceListByParent; } diff --git a/specification/iotoperations/IoTOperations.Management/tspconfig.yaml b/specification/iotoperations/IoTOperations.Management/tspconfig.yaml index 2ab2592d781d..e6f26465450b 100644 --- a/specification/iotoperations/IoTOperations.Management/tspconfig.yaml +++ b/specification/iotoperations/IoTOperations.Management/tspconfig.yaml @@ -5,7 +5,6 @@ options: emitter-output-dir: "{project-root}/.." azure-resource-provider-folder: "resource-manager" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/iotoperations.json" - examples-directory: "{project-root}/examples" use-read-only-status-schema: true linter: extends: diff --git a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/tspconfig.yaml b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/tspconfig.yaml index 7952ec0caa95..bfb5a822f38a 100644 --- a/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/tspconfig.yaml +++ b/specification/iotoperationsdataprocessor/IoTOperationsDataProcessor.Management/tspconfig.yaml @@ -8,7 +8,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json" - examples-directory: "{project-root}/examples" omit-unreachable-types: true linter: extends: diff --git a/specification/iotoperationsmq/IoTOperationsMQ.Management/tspconfig.yaml b/specification/iotoperationsmq/IoTOperationsMQ.Management/tspconfig.yaml index 7ccf5b2a7949..054be2f00a65 100644 --- a/specification/iotoperationsmq/IoTOperationsMQ.Management/tspconfig.yaml +++ b/specification/iotoperationsmq/IoTOperationsMQ.Management/tspconfig.yaml @@ -8,7 +8,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/iotoperationsmq.json" - examples-directory: "{project-root}/examples" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/iotoperationsorchestrator/IoTOperationsOrchestrator.Management/tspconfig.yaml b/specification/iotoperationsorchestrator/IoTOperationsOrchestrator.Management/tspconfig.yaml index 7952ec0caa95..bfb5a822f38a 100644 --- a/specification/iotoperationsorchestrator/IoTOperationsOrchestrator.Management/tspconfig.yaml +++ b/specification/iotoperationsorchestrator/IoTOperationsOrchestrator.Management/tspconfig.yaml @@ -8,7 +8,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json" - examples-directory: "{project-root}/examples" omit-unreachable-types: true linter: extends: diff --git a/specification/kubernetesruntime/KubernetesRuntime.Management/tspconfig.yaml b/specification/kubernetesruntime/KubernetesRuntime.Management/tspconfig.yaml index 2b176a8d0be5..70be694b2a64 100644 --- a/specification/kubernetesruntime/KubernetesRuntime.Management/tspconfig.yaml +++ b/specification/kubernetesruntime/KubernetesRuntime.Management/tspconfig.yaml @@ -10,7 +10,6 @@ options: azure-resource-provider-folder: resource-manager # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/kubernetesruntime.json" use-read-only-status-schema: true diff --git a/specification/liftrastronomer/Astronomer.Astro.Management/tspconfig.yaml b/specification/liftrastronomer/Astronomer.Astro.Management/tspconfig.yaml index dc219e3ddd38..620cec5da05d 100644 --- a/specification/liftrastronomer/Astronomer.Astro.Management/tspconfig.yaml +++ b/specification/liftrastronomer/Astronomer.Astro.Management/tspconfig.yaml @@ -14,4 +14,3 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/astronomer.json" - examples-directory: "{project-root}/examples" diff --git a/specification/liftrqumulo/Qumulo.Storage.Management/LiftrBase.Storage/main.tsp b/specification/liftrqumulo/Qumulo.Storage.Management/LiftrBase.Storage/main.tsp index 6823303ff4b3..f693c72d9208 100644 --- a/specification/liftrqumulo/Qumulo.Storage.Management/LiftrBase.Storage/main.tsp +++ b/specification/liftrqumulo/Qumulo.Storage.Management/LiftrBase.Storage/main.tsp @@ -71,6 +71,7 @@ model FileSystemResourceProperties { /** * Initial administrator password of the resource */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Legacy" @extension("x-ms-secret", true) adminPassword: string; @@ -92,6 +93,7 @@ model FileSystemResourceUpdate { /** * Resource tags. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" tags?: Record; /** diff --git a/specification/liftrqumulo/Qumulo.Storage.Management/LiftrBase/main.tsp b/specification/liftrqumulo/Qumulo.Storage.Management/LiftrBase/main.tsp index 02ba7a0b9f24..066f7f1ef702 100644 --- a/specification/liftrqumulo/Qumulo.Storage.Management/LiftrBase/main.tsp +++ b/specification/liftrqumulo/Qumulo.Storage.Management/LiftrBase/main.tsp @@ -87,6 +87,7 @@ model UserDetails { /** * User Email */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Legacy" @extension("x-ms-secret", true) email: string; } diff --git a/specification/liftrqumulo/Qumulo.Storage.Management/main.tsp b/specification/liftrqumulo/Qumulo.Storage.Management/main.tsp index 2719ae4e0cc8..e634bb7bc3da 100644 --- a/specification/liftrqumulo/Qumulo.Storage.Management/main.tsp +++ b/specification/liftrqumulo/Qumulo.Storage.Management/main.tsp @@ -45,14 +45,14 @@ interface FileSystems { /** * Get a FileSystemResource */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("FileSystems_Get") get is ArmResourceRead; /** * Create a FileSystemResource */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("FileSystems_CreateOrUpdate") createOrUpdate is ArmResourceCreateOrReplaceAsync< FileSystemResource, @@ -63,7 +63,7 @@ interface FileSystems { /** * Update a FileSystemResource */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @parameterVisibility @operationId("FileSystems_Update") update is ArmCustomPatchSync; @@ -71,7 +71,7 @@ interface FileSystems { /** * Delete a FileSystemResource */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("FileSystems_Delete") delete is ArmResourceDeleteWithoutOkAsync< FileSystemResource, @@ -82,14 +82,14 @@ interface FileSystems { /** * List FileSystemResource resources by resource group */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("FileSystems_ListByResourceGroup") listByResourceGroup is ArmResourceListByParent; /** * List FileSystemResource resources by subscription ID */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("FileSystems_ListBySubscription") listBySubscription is ArmListBySubscription; } diff --git a/specification/liftrqumulo/Qumulo.Storage.Management/tspconfig.yaml b/specification/liftrqumulo/Qumulo.Storage.Management/tspconfig.yaml index 72b84d4019ad..34a7679c9def 100644 --- a/specification/liftrqumulo/Qumulo.Storage.Management/tspconfig.yaml +++ b/specification/liftrqumulo/Qumulo.Storage.Management/tspconfig.yaml @@ -10,7 +10,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/Qumulo.Storage.json" - examples-directory: "{project-root}/examples" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/loadtestservice/LoadTestService.Management/client.tsp b/specification/loadtestservice/LoadTestService.Management/client.tsp index c2e13f0bb157..bfab6903a67c 100644 --- a/specification/loadtestservice/LoadTestService.Management/client.tsp +++ b/specification/loadtestservice/LoadTestService.Management/client.tsp @@ -38,7 +38,6 @@ interface LoadTests { deleteLoadtest is Microsoft.LoadTestService.LoadTests.delete; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Operation id already published" outboundNetworkDependenciesEndpoints is Microsoft.LoadTestService.LoadTests.outboundNetworkDependenciesEndpoints; getQuota is Microsoft.LoadTestService.Quotas.get; diff --git a/specification/loadtestservice/LoadTestService.Management/models.tsp b/specification/loadtestservice/LoadTestService.Management/models.tsp index 8bdabcbea9de..1ee82a090e0e 100644 --- a/specification/loadtestservice/LoadTestService.Management/models.tsp +++ b/specification/loadtestservice/LoadTestService.Management/models.tsp @@ -3,6 +3,7 @@ import "@typespec/rest"; import "@typespec/versioning"; import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; +import "@azure-tools/typespec-client-generator-core"; using TypeSpec.Http; using TypeSpec.Rest; @@ -187,7 +188,6 @@ model QuotaResource is ProxyResource { @key("quotaBucketName") @path @segment("quotas") - @extension("x-ms-parameter-location", "method") name: string; } @@ -229,8 +229,9 @@ model CheckQuotaAvailabilityResponse { @visibility("read") name?: string; + #suppress "deprecated" "Legacy flatten" @doc("Check quota availability response properties.") - @extension("x-ms-client-flatten", true) + @Azure.ClientGenerator.Core.flattenProperty properties?: CheckQuotaAvailabilityResponseProperties; } @@ -245,7 +246,8 @@ model CheckQuotaAvailabilityResponseProperties { @doc("Request object of new quota for a quota bucket.") model QuotaBucketRequest { - @extension("x-ms-client-flatten", true) + #suppress "deprecated" "Legacy flatten" + @Azure.ClientGenerator.Core.flattenProperty @doc("Request object of new quota for a quota bucket.") properties?: QuotaBucketRequestProperties; } diff --git a/specification/loadtestservice/LoadTestService.Management/routes.tsp b/specification/loadtestservice/LoadTestService.Management/routes.tsp index 3f00bd06eb2c..89eed6fc3c08 100644 --- a/specification/loadtestservice/LoadTestService.Management/routes.tsp +++ b/specification/loadtestservice/LoadTestService.Management/routes.tsp @@ -11,16 +11,18 @@ namespace Microsoft.LoadTestService; interface Operations extends Azure.ResourceManager.Operations {} +#suppress "deprecated" "LEGACY - DO NOT COPY - FIX" @@encodedName(LoadTests.createOrUpdate::parameters.resource, "application/json", "LoadTestResource" ); +#suppress "deprecated" "LEGACY - DO NOT COPY - FIX" @@encodedName(LoadTests.update::parameters.properties, "application/json", "LoadTestResourcePatchRequestBody" ); - +#suppress "deprecated" "LEGACY - DO NOT COPY - FIX" @@encodedName(Quotas.checkAvailability::parameters.body, "application/json", "QuotaBucketRequest" @@ -53,7 +55,7 @@ interface LoadTests { delete is ArmResourceDeleteWithoutOkAsync; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "OperationID already published." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "OperationID already published." @operationId("LoadTests_ListOutboundNetworkDependenciesEndpoints") @doc("Lists the endpoints that agents may call as part of load testing.") outboundNetworkDependenciesEndpoints is CustomOperations.ArmResourceActionSyncCustomGet< diff --git a/specification/loadtestservice/LoadTestService.Management/tspconfig.yaml b/specification/loadtestservice/LoadTestService.Management/tspconfig.yaml index 707efbd8543a..9a2d20850869 100644 --- a/specification/loadtestservice/LoadTestService.Management/tspconfig.yaml +++ b/specification/loadtestservice/LoadTestService.Management/tspconfig.yaml @@ -2,7 +2,6 @@ emit: - "@azure-tools/typespec-autorest" linter: extends: - - "@azure-tools/typespec-azure-rulesets/data-plane" - "@azure-tools/typespec-azure-rulesets/resource-manager" parameters: "service-directory-name": @@ -14,7 +13,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true emitter-output-dir: "{project-root}/.." - examples-directory: ./examples output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/loadtestservice.json" omit-unreachable-types: true use-read-only-status-schema: true diff --git a/specification/loadtestservice/LoadTestService/client.tsp b/specification/loadtestservice/LoadTestService/client.tsp index a86f79404ed2..e37f6e8750ec 100644 --- a/specification/loadtestservice/LoadTestService/client.tsp +++ b/specification/loadtestservice/LoadTestService/client.tsp @@ -54,7 +54,6 @@ interface TestRunOperations { listMetricNamespaces is LoadTestRun.listMetricNamespaces; listMetrics is LoadTestRun.listMetrics; listTestRuns is LoadTestRun.listTestRuns; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" @clientName("stopTestRun", "javascript,python,java,csharp,go") stop is LoadTestRun.stop; } @@ -79,7 +78,6 @@ interface TestProfileRunOperations { deleteTestProfileRun is TestProfileRunAdministration.deleteTestProfileRun; getTestProfileRun is TestProfileRunAdministration.getTestProfileRun; listTestProfileRuns is TestProfileRunAdministration.listTestProfileRuns; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" @clientName("stopTestProfileRun", "javascript,python,java,csharp,go") stop is TestProfileRunAdministration.stop; } diff --git a/specification/loadtestservice/LoadTestService/routes.tsp b/specification/loadtestservice/LoadTestService/routes.tsp index eccc08c3d88c..631938e8f9ad 100644 --- a/specification/loadtestservice/LoadTestService/routes.tsp +++ b/specification/loadtestservice/LoadTestService/routes.tsp @@ -16,6 +16,7 @@ using Azure.ClientGenerator.Core; namespace Microsoft.LoadTestService; +#suppress "deprecated" "LEGACY - DO NOT COPY - FIX" @@encodedName(Azure.Core.Foundations.ResourceBody.resource, "application/json", "body" @@ -232,7 +233,7 @@ interface LoadTestRun { @doc("Get test run file by file name.") getTestRunFile is StandardResourceOperations.ResourceRead; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" + #suppress "@azure-tools/typespec-azure-core/no-openapi" @summary("Stop test run by test run Id.") @doc("Stop test run by test run Id.") @operationId("LoadTestRun_StopTestRun") @@ -489,7 +490,7 @@ interface TestProfileRunAdministration { @added(APIVersions.v2024_05_01_preview) deleteTestProfileRun is StandardResourceOperations.ResourceDelete; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" + #suppress "@azure-tools/typespec-azure-core/no-openapi" @summary("Stop test profile run.") @doc("Stop test profile run for the given test profile run Id.") @operationId("TestProfileRunAdministration_StopTestProfileRun") diff --git a/specification/loadtestservice/LoadTestService/tspconfig.yaml b/specification/loadtestservice/LoadTestService/tspconfig.yaml index 6c043be520f7..9c621ebbaced 100644 --- a/specification/loadtestservice/LoadTestService/tspconfig.yaml +++ b/specification/loadtestservice/LoadTestService/tspconfig.yaml @@ -22,7 +22,6 @@ options: output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/loadtestservice.json" azure-resource-provider-folder: "data-plane" emit-lro-options: "none" - examples-directory: ./examples omit-unreachable-types: true "@azure-tools/typespec-python": package-dir: "azure-developer-loadtesting" diff --git a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2023-12-01-preview/loadtestservice.json b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2023-12-01-preview/loadtestservice.json index 28a044009472..71ee495a5144 100644 --- a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2023-12-01-preview/loadtestservice.json +++ b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/preview/2023-12-01-preview/loadtestservice.json @@ -661,8 +661,7 @@ "in": "path", "description": "The quota name.", "required": true, - "type": "string", - "x-ms-parameter-location": "method" + "type": "string" } ], "responses": { @@ -708,8 +707,7 @@ "in": "path", "description": "The quota name.", "required": true, - "type": "string", - "x-ms-parameter-location": "method" + "type": "string" }, { "name": "QuotaBucketRequest", diff --git a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/loadtestservice.json b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/loadtestservice.json index 4fdb26dd2c8d..290cb0095885 100644 --- a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/loadtestservice.json +++ b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/stable/2022-12-01/loadtestservice.json @@ -189,8 +189,7 @@ "in": "path", "description": "The quota name.", "required": true, - "type": "string", - "x-ms-parameter-location": "method" + "type": "string" } ], "responses": { @@ -236,8 +235,7 @@ "in": "path", "description": "The quota name.", "required": true, - "type": "string", - "x-ms-parameter-location": "method" + "type": "string" }, { "name": "QuotaBucketRequest", diff --git a/specification/machinelearning/Azure.AI.ChatProtocol/tspconfig.yaml b/specification/machinelearning/Azure.AI.ChatProtocol/tspconfig.yaml index 210dbcdcae28..04f2db45305a 100644 --- a/specification/machinelearning/Azure.AI.ChatProtocol/tspconfig.yaml +++ b/specification/machinelearning/Azure.AI.ChatProtocol/tspconfig.yaml @@ -13,7 +13,6 @@ options: output-file: "{azure-resource-provider-folder}/Azure.AI.ChatProtocol/{version-status}/{version}/generated.json" azure-resource-provider-folder: "data-plane" emit-lro-options: "none" - examples-directory: examples omit-unreachable-types: true "@azure-tools/typespec-csharp": package-dir: "Azure.AI.ChatProtocol" diff --git a/specification/machinelearningservices/AzureAI.Assets/tspconfig.yaml b/specification/machinelearningservices/AzureAI.Assets/tspconfig.yaml index d6e09ae4103d..64ee3f8728e1 100644 --- a/specification/machinelearningservices/AzureAI.Assets/tspconfig.yaml +++ b/specification/machinelearningservices/AzureAI.Assets/tspconfig.yaml @@ -9,7 +9,6 @@ options: azure-resource-provider-folder: "data-plane" emit-lro-options: "none" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/azure-ai-assets.json" - examples-directory: "{project-root}/examples" "@azure-tools/typespec-python": package-mode: "dataplane" package-dir: "azure-ai-resources-autogen" diff --git a/specification/mobilepacketcore/MobilePacketCore.Management/common.tsp b/specification/mobilepacketcore/MobilePacketCore.Management/common.tsp index ab834c635adc..03b031dff680 100644 --- a/specification/mobilepacketcore/MobilePacketCore.Management/common.tsp +++ b/specification/mobilepacketcore/MobilePacketCore.Management/common.tsp @@ -11,6 +11,7 @@ namespace Microsoft.MobilePacketCore; * @template TBaseParameters Optional. Allows overriding the operation parameters */ #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "This is a valid template" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - migrate to LRO apis" @autoRoute @doc("Create a {name}", TResource) @OpenAPI.extension("x-ms-long-running-operation", true) diff --git a/specification/mobilepacketcore/MobilePacketCore.Management/tspconfig.yaml b/specification/mobilepacketcore/MobilePacketCore.Management/tspconfig.yaml index c832c62ba194..7b8c20def1a7 100644 --- a/specification/mobilepacketcore/MobilePacketCore.Management/tspconfig.yaml +++ b/specification/mobilepacketcore/MobilePacketCore.Management/tspconfig.yaml @@ -11,7 +11,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/mobilepacketcore.json" "@azure-tools/typespec-providerhub-controller": emitter-output-dir: "{output-dir}/generated" diff --git a/specification/mongocluster/DocumentDB.MongoCluster.Management/tspconfig.yaml b/specification/mongocluster/DocumentDB.MongoCluster.Management/tspconfig.yaml index 1e88571876dd..8151b7b02818 100644 --- a/specification/mongocluster/DocumentDB.MongoCluster.Management/tspconfig.yaml +++ b/specification/mongocluster/DocumentDB.MongoCluster.Management/tspconfig.yaml @@ -9,7 +9,6 @@ options: emitter-output-dir: "{project-root}/.." azure-resource-provider-folder: "resource-manager" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/mongoCluster.json" - examples-directory: "{project-root}/examples" "@azure-tools/typespec-python": package-dir: "azure-mgmt-mongocluster" package-name: "{package-dir}" @@ -22,12 +21,10 @@ options: flavor: "azure" namespace: "com.azure.resourcemanager.mongocluster" service-name: "Mongo Cluster" - examples-directory: "{project-root}/examples" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/mongocluster" package-dir: "armmongocluster" module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" - examples-directory: "{project-root}/examples" fix-const-stuttering: true flavor: "azure" generate-examples: true diff --git a/specification/monitor/Microsoft.Monitor.Management/tspconfig.yaml b/specification/monitor/Microsoft.Monitor.Management/tspconfig.yaml index 49f0f02d5ad1..8a3ab6a073f5 100644 --- a/specification/monitor/Microsoft.Monitor.Management/tspconfig.yaml +++ b/specification/monitor/Microsoft.Monitor.Management/tspconfig.yaml @@ -11,7 +11,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true emitter-output-dir: "{project-root}/.." - examples-directory: "examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/azuremonitor.json" new-line: lf omit-unreachable-types: true diff --git a/specification/mpcnetworkfunction/MpcNetworkFunction.Management/tspconfig.yaml b/specification/mpcnetworkfunction/MpcNetworkFunction.Management/tspconfig.yaml index d520acfa5dd8..d05e928cb6e5 100644 --- a/specification/mpcnetworkfunction/MpcNetworkFunction.Management/tspconfig.yaml +++ b/specification/mpcnetworkfunction/MpcNetworkFunction.Management/tspconfig.yaml @@ -12,7 +12,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true emitter-output-dir: "{project-root}/.." - examples-directory: "examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/networkfunction.json" "@azure-tools/typespec-providerhub-controller": emitter-output-dir: "{output-dir}/generated" diff --git a/specification/networkanalytics/NetworkAnalytics.Management/tspconfig.yaml b/specification/networkanalytics/NetworkAnalytics.Management/tspconfig.yaml index 58a836335be3..61ad12ed210b 100644 --- a/specification/networkanalytics/NetworkAnalytics.Management/tspconfig.yaml +++ b/specification/networkanalytics/NetworkAnalytics.Management/tspconfig.yaml @@ -13,7 +13,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/networkanalytics.json" - examples-directory: "{project-root}/examples" "@azure-tools/cadl-python": "basic-setup-py": true "package-version": 1.0.0b1 diff --git a/specification/oracle/Oracle.Database.Management/main.tsp b/specification/oracle/Oracle.Database.Management/main.tsp index b94fd50efc8e..3312b7f2c512 100644 --- a/specification/oracle/Oracle.Database.Management/main.tsp +++ b/specification/oracle/Oracle.Database.Management/main.tsp @@ -35,6 +35,7 @@ namespace Oracle.Database; interface Operations extends Azure.ResourceManager.Operations {} +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(Operations.list, "./examples/operations_list.json", "List Operations" diff --git a/specification/oracle/Oracle.Database.Management/operations/autonomousdatabase/autonomousDatabaseBackupOperations.tsp b/specification/oracle/Oracle.Database.Management/operations/autonomousdatabase/autonomousDatabaseBackupOperations.tsp index cbc60e6f6656..5b6d4d81dd0d 100644 --- a/specification/oracle/Oracle.Database.Management/operations/autonomousdatabase/autonomousDatabaseBackupOperations.tsp +++ b/specification/oracle/Oracle.Database.Management/operations/autonomousdatabase/autonomousDatabaseBackupOperations.tsp @@ -13,6 +13,7 @@ interface AutonomousDatabaseBackups AutonomousDatabaseBackup, AutonomousDatabaseBackupProperties > { + #suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @Autorest.example( "./examples/autonomousDatabaseBackup_patch.json", "Patch Autonomous Database Backup." @@ -25,6 +26,7 @@ interface AutonomousDatabaseBackups > >; + #suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @Autorest.example( "./examples/autonomousDatabaseBackup_listByParent.json", "List Autonomous Database Backups by Autonomous Database." @@ -32,14 +34,17 @@ interface AutonomousDatabaseBackups listByAutonomousDatabase is ArmResourceListByParent; } +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(AutonomousDatabaseBackups.createOrUpdate, "./examples/autonomousDatabaseBackup_create.json", "Create Autonomous Database Backup." ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(AutonomousDatabaseBackups.get, "./examples/autonomousDatabaseBackup_get.json", "Get Autonomous Database Backup." ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(AutonomousDatabaseBackups.delete, "./examples/autonomousDatabaseBackup_delete.json", "Delete Autonomous Database Backup." diff --git a/specification/oracle/Oracle.Database.Management/operations/autonomousdatabase/autonomousDatabaseCharacterSetOperations.tsp b/specification/oracle/Oracle.Database.Management/operations/autonomousdatabase/autonomousDatabaseCharacterSetOperations.tsp index 221e5878de33..83b7d51d68aa 100644 --- a/specification/oracle/Oracle.Database.Management/operations/autonomousdatabase/autonomousDatabaseCharacterSetOperations.tsp +++ b/specification/oracle/Oracle.Database.Management/operations/autonomousdatabase/autonomousDatabaseCharacterSetOperations.tsp @@ -14,10 +14,12 @@ interface AutonomousDatabaseCharacterSets "List AutonomousDatabaseCharacterSet resources by Location" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(AutonomousDatabaseCharacterSets.listByLocation, "./examples/autonomousDatabaseCharacterSet_listByLocation.json", "List autonomous db character sets by location" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(AutonomousDatabaseCharacterSets.get, "./examples/autonomousDatabaseCharacterSet_get.json", "Get autonomous db character set" diff --git a/specification/oracle/Oracle.Database.Management/operations/autonomousdatabase/autonomousDatabaseNationalCharacterSetOperations.tsp b/specification/oracle/Oracle.Database.Management/operations/autonomousdatabase/autonomousDatabaseNationalCharacterSetOperations.tsp index a71ed0035476..570faa512dfd 100644 --- a/specification/oracle/Oracle.Database.Management/operations/autonomousdatabase/autonomousDatabaseNationalCharacterSetOperations.tsp +++ b/specification/oracle/Oracle.Database.Management/operations/autonomousdatabase/autonomousDatabaseNationalCharacterSetOperations.tsp @@ -14,10 +14,12 @@ interface AutonomousDatabaseNationalCharacterSets "List AutonomousDatabaseNationalCharacterSet resources by Location" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(AutonomousDatabaseNationalCharacterSets.listByLocation, "./examples/autonomousDatabaseNationalCharacterSet_listByLocation.json", "List autonomous db national character sets by location" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(AutonomousDatabaseNationalCharacterSets.get, "./examples/autonomousDatabaseNationalCharacterSet_get.json", "Get autonomous db national character set" diff --git a/specification/oracle/Oracle.Database.Management/operations/autonomousdatabase/autonomousDatabaseOperations.tsp b/specification/oracle/Oracle.Database.Management/operations/autonomousdatabase/autonomousDatabaseOperations.tsp index b8f7b72e0066..380be0c7f76e 100644 --- a/specification/oracle/Oracle.Database.Management/operations/autonomousdatabase/autonomousDatabaseOperations.tsp +++ b/specification/oracle/Oracle.Database.Management/operations/autonomousdatabase/autonomousDatabaseOperations.tsp @@ -12,6 +12,7 @@ interface AutonomousDatabases AutonomousDatabaseBaseProperties > { //OCI switchover API doc: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/SwitchoverAutonomousDatabase + #suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @doc("Perform switchover action on Autonomous Database") @Autorest.example( "./examples/autonomousDatabase_switchover.json", @@ -24,6 +25,7 @@ interface AutonomousDatabases >; //OCI failover API doc: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/FailOverAutonomousDatabase + #suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @doc("Perform failover action on Autonomous Database") @Autorest.example( "./examples/autonomousDatabase_failover.json", @@ -36,6 +38,7 @@ interface AutonomousDatabases >; //OCI generate wallet API doc: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/GenerateAutonomousDatabaseWallet + #suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @doc("Generate wallet action on Autonomous Database") @Autorest.example( "./examples/autonomousDatabase_generateWallet.json", @@ -48,6 +51,7 @@ interface AutonomousDatabases >; //OCI RestoreAutonomousDatabase API doc: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/RestoreAutonomousDatabase + #suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @doc("Restores an Autonomous Database based on the provided request parameters.") @Autorest.example( "./examples/autonomousDatabase_restore.json", @@ -60,6 +64,7 @@ interface AutonomousDatabases >; //OCI ShrinkAutonomousDatabase API doc: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/ShrinkAutonomousDatabase + #suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @doc("This operation shrinks the current allocated storage down to the current actual used data storage.") @Autorest.example( "./examples/autonomousDatabase_shrink.json", @@ -72,30 +77,37 @@ interface AutonomousDatabases >; } +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(AutonomousDatabases.listBySubscription, "./examples/autonomousDatabase_listBySubscription.json", "List Autonomous Database by subscription" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(AutonomousDatabases.listByResourceGroup, "./examples/autonomousDatabase_listByResourceGroup.json", "List Autonomous Database by resource group" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(AutonomousDatabases.createOrUpdate, "./examples/autonomousDatabase_create.json", "Create Autonomous Database" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(AutonomousDatabases.createOrUpdate, "./examples/autonomousDatabaseClone_create.json", "Create clone Autonomous Database" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(AutonomousDatabases.get, "./examples/autonomousDatabase_get.json", "Get Autonomous Database" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(AutonomousDatabases.update, "./examples/autonomousDatabase_patch.json", "Patch Autonomous Database" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(AutonomousDatabases.delete, "./examples/autonomousDatabase_delete.json", "Delete Autonomous Database" diff --git a/specification/oracle/Oracle.Database.Management/operations/autonomousdatabase/autonomousDatabaseVersionOperations.tsp b/specification/oracle/Oracle.Database.Management/operations/autonomousdatabase/autonomousDatabaseVersionOperations.tsp index fba17da1afeb..61ff6fb682e2 100644 --- a/specification/oracle/Oracle.Database.Management/operations/autonomousdatabase/autonomousDatabaseVersionOperations.tsp +++ b/specification/oracle/Oracle.Database.Management/operations/autonomousdatabase/autonomousDatabaseVersionOperations.tsp @@ -15,10 +15,12 @@ interface AutonomousDatabaseVersions "List AutonomousDbVersion resources by Location" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(AutonomousDatabaseVersions.listByLocation, "./examples/autonomousDatabaseVersion_listByLocation.json", "List an autonomous versions by location" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(AutonomousDatabaseVersions.get, "./examples/autonomousDatabaseVersion_get.json", "Get an autonomous version" diff --git a/specification/oracle/Oracle.Database.Management/operations/commons.tsp b/specification/oracle/Oracle.Database.Management/operations/commons.tsp index 029de8a53bb7..e4467243b46b 100644 --- a/specification/oracle/Oracle.Database.Management/operations/commons.tsp +++ b/specification/oracle/Oracle.Database.Management/operations/commons.tsp @@ -61,8 +61,8 @@ interface OracleChildResource< @armResourceOperations interface ListActions { + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @doc("Generic Async Get operation") - @extension("x-ms-long-running-operation", true) @extension( "x-ms-long-running-operation-options", { diff --git a/specification/oracle/Oracle.Database.Management/operations/exadata/dbNodesOperations.tsp b/specification/oracle/Oracle.Database.Management/operations/exadata/dbNodesOperations.tsp index 0404892cf0bb..d23934e34130 100644 --- a/specification/oracle/Oracle.Database.Management/operations/exadata/dbNodesOperations.tsp +++ b/specification/oracle/Oracle.Database.Management/operations/exadata/dbNodesOperations.tsp @@ -10,12 +10,14 @@ namespace Oracle.Database; @armResourceOperations interface DbNodes extends OracleReadOnlyResource { // TODO: Swagger generator bug, cannot be extracted to interface + #suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @Autorest.example( "./examples/dbNodes_listByParent.json", "List DbNodes by VM Cluster" ) listByCloudVmCluster is ArmResourceListByParent; + #suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @doc("VM actions on DbNode of VM Cluster by the provided filter") @Autorest.example( "./examples/dbNodes_action.json", @@ -24,4 +26,5 @@ interface DbNodes extends OracleReadOnlyResource { action is ArmResourceActionAsync; } +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(DbNodes.get, "./examples/dbNodes_get.json", "Get DbNode"); diff --git a/specification/oracle/Oracle.Database.Management/operations/exadata/dbServersOperations.tsp b/specification/oracle/Oracle.Database.Management/operations/exadata/dbServersOperations.tsp index d85881cbfe66..77c0fa38cdca 100644 --- a/specification/oracle/Oracle.Database.Management/operations/exadata/dbServersOperations.tsp +++ b/specification/oracle/Oracle.Database.Management/operations/exadata/dbServersOperations.tsp @@ -9,6 +9,7 @@ namespace Oracle.Database; @armResourceOperations interface DbServers extends OracleReadOnlyResource { + #suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @Autorest.example( "./examples/dbServers_listByParent.json", "List DbServers by Exadata Infrastructure" @@ -16,6 +17,7 @@ interface DbServers extends OracleReadOnlyResource { listByCloudExadataInfrastructure is ArmResourceListByParent; } +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(DbServers.get, "./examples/dbServers_get.json", "Get DbServer by parent" diff --git a/specification/oracle/Oracle.Database.Management/operations/exadata/dbSystemShapeOperations.tsp b/specification/oracle/Oracle.Database.Management/operations/exadata/dbSystemShapeOperations.tsp index 14842e0c2216..2a6d8ba84d83 100644 --- a/specification/oracle/Oracle.Database.Management/operations/exadata/dbSystemShapeOperations.tsp +++ b/specification/oracle/Oracle.Database.Management/operations/exadata/dbSystemShapeOperations.tsp @@ -12,10 +12,12 @@ interface DbSystemShapes extends OracleLocationBasedResource {} "List DbSystemShape resources by Location" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(DbSystemShapes.listByLocation, "./examples/dbSystemShapes_listByLocation.json", "List DbSystemShapes by location" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(DbSystemShapes.get, "./examples/dbSystemShapes_get.json", "Get a DbSystemShape by name" diff --git a/specification/oracle/Oracle.Database.Management/operations/exadata/dnsPrivateViewsOperations.tsp b/specification/oracle/Oracle.Database.Management/operations/exadata/dnsPrivateViewsOperations.tsp index edd7a5616f34..a3d95f969711 100644 --- a/specification/oracle/Oracle.Database.Management/operations/exadata/dnsPrivateViewsOperations.tsp +++ b/specification/oracle/Oracle.Database.Management/operations/exadata/dnsPrivateViewsOperations.tsp @@ -12,10 +12,12 @@ interface DnsPrivateViews extends OracleLocationBasedResource {} "List DnsPrivateView resources by Location" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(DnsPrivateViews.listByLocation, "./examples/dnsPrivateViews_listByLocation.json", "List DnsPrivateViews by location" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(DnsPrivateViews.get, "./examples/dnsPrivateViews_get.json", "Get a DnsPrivateView by name" diff --git a/specification/oracle/Oracle.Database.Management/operations/exadata/dnsPrivateZonesOperations.tsp b/specification/oracle/Oracle.Database.Management/operations/exadata/dnsPrivateZonesOperations.tsp index 7ca39016ff1a..e18f5543bb9a 100644 --- a/specification/oracle/Oracle.Database.Management/operations/exadata/dnsPrivateZonesOperations.tsp +++ b/specification/oracle/Oracle.Database.Management/operations/exadata/dnsPrivateZonesOperations.tsp @@ -12,10 +12,12 @@ interface DnsPrivateZones extends OracleLocationBasedResource {} "List DnsPrivateZone resources by Location" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(DnsPrivateZones.listByLocation, "./examples/dnsPrivateZones_listByLocation.json", "List DnsPrivateZones by location" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(DnsPrivateZones.get, "./examples/dnsPrivateZones_get.json", "Get a DnsPrivateZone by name" diff --git a/specification/oracle/Oracle.Database.Management/operations/exadata/exadatainfrastructureOperations.tsp b/specification/oracle/Oracle.Database.Management/operations/exadata/exadatainfrastructureOperations.tsp index 4de022cd8a39..3cfc7a9baf68 100644 --- a/specification/oracle/Oracle.Database.Management/operations/exadata/exadatainfrastructureOperations.tsp +++ b/specification/oracle/Oracle.Database.Management/operations/exadata/exadatainfrastructureOperations.tsp @@ -13,6 +13,7 @@ interface CloudExadataInfrastructures CloudExadataInfrastructureProperties > { //OCI addStorageCapacityCloudExadataInfrastructure API doc: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/AddStorageCapacityCloudExadataInfrastructure + #suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @doc("Perform add storage capacity on exadata infra") @Autorest.example( "./examples/exaInfra_addStorageCapacity.json", @@ -25,26 +26,32 @@ interface CloudExadataInfrastructures >; } +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(CloudExadataInfrastructures.listBySubscription, "./examples/exaInfra_listBySubscription.json", "List Exadata Infrastructure by subscription" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(CloudExadataInfrastructures.listByResourceGroup, "./examples/exaInfra_listByResourceGroup.json", "List Exadata Infrastructure by resource group" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(CloudExadataInfrastructures.createOrUpdate, "./examples/exaInfra_create.json", "Create Exadata Infrastructure" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(CloudExadataInfrastructures.get, "./examples/exaInfra_get.json", "Get Exadata Infrastructure" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(CloudExadataInfrastructures.update, "./examples/exaInfra_patch.json", "Patch Exadata Infrastructure" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(CloudExadataInfrastructures.delete, "./examples/exaInfra_delete.json", "Delete Exadata Infrastructure" diff --git a/specification/oracle/Oracle.Database.Management/operations/exadata/giVersionOperations.tsp b/specification/oracle/Oracle.Database.Management/operations/exadata/giVersionOperations.tsp index e671ffbcc0e7..1d4223f38d56 100644 --- a/specification/oracle/Oracle.Database.Management/operations/exadata/giVersionOperations.tsp +++ b/specification/oracle/Oracle.Database.Management/operations/exadata/giVersionOperations.tsp @@ -10,10 +10,12 @@ interface GiVersions extends OracleLocationBasedResource {} @@doc(GiVersions.listByLocation, "List GiVersion resources by Location"); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(GiVersions.listByLocation, "./examples/giVersions_listByLocation.json", "List GiVersions by location" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(GiVersions.get, "./examples/giVersions_get.json", "Get a GiVersion by name" diff --git a/specification/oracle/Oracle.Database.Management/operations/exadata/systemVersionOperations.tsp b/specification/oracle/Oracle.Database.Management/operations/exadata/systemVersionOperations.tsp index ac9f924a42b5..2a7f6fcf7429 100644 --- a/specification/oracle/Oracle.Database.Management/operations/exadata/systemVersionOperations.tsp +++ b/specification/oracle/Oracle.Database.Management/operations/exadata/systemVersionOperations.tsp @@ -12,11 +12,13 @@ interface SystemVersions extends OracleLocationBasedResource {} "List SystemVersion resources by Location" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(SystemVersions.listByLocation, "./examples/systemVersions_listByLocation.json", "List Exadata System Versions by the provided filter" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(SystemVersions.get, "./examples/systemVersions_get.json", "Get Exadata System Version" diff --git a/specification/oracle/Oracle.Database.Management/operations/exadata/virtualNetworkAddressOperations.tsp b/specification/oracle/Oracle.Database.Management/operations/exadata/virtualNetworkAddressOperations.tsp index d35a33fe067d..19c2858126ae 100644 --- a/specification/oracle/Oracle.Database.Management/operations/exadata/virtualNetworkAddressOperations.tsp +++ b/specification/oracle/Oracle.Database.Management/operations/exadata/virtualNetworkAddressOperations.tsp @@ -14,6 +14,7 @@ interface VirtualNetworkAddresses VirtualNetworkAddressProperties > { // TODO: Swagger generator bug, cannot be extracted to interface + #suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @Autorest.example( "./examples/virtualNetworkAddresses_listByParent.json", "List Virtual Network Addresses by VM Cluster" @@ -21,14 +22,17 @@ interface VirtualNetworkAddresses listByCloudVmCluster is ArmResourceListByParent; } +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(VirtualNetworkAddresses.createOrUpdate, "./examples/virtualNetworkAddresses_create.json", "Create Virtual Network Address" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(VirtualNetworkAddresses.get, "./examples/virtualNetworkAddresses_get.json", "Get Virtual Network Address" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(VirtualNetworkAddresses.delete, "./examples/virtualNetworkAddresses_delete.json", "Delete Virtual Network Address" diff --git a/specification/oracle/Oracle.Database.Management/operations/exadata/vmclusterOperations.tsp b/specification/oracle/Oracle.Database.Management/operations/exadata/vmclusterOperations.tsp index 6c3b29f835a3..ddbfa3ecc505 100644 --- a/specification/oracle/Oracle.Database.Management/operations/exadata/vmclusterOperations.tsp +++ b/specification/oracle/Oracle.Database.Management/operations/exadata/vmclusterOperations.tsp @@ -10,6 +10,7 @@ namespace Oracle.Database; @armResourceOperations interface CloudVmClusters extends OracleTrackedResource { + #suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @doc("Add VMs to the VM Cluster") @Autorest.example( "./examples/vmClusters_addVms.json", @@ -21,6 +22,7 @@ interface CloudVmClusters CloudVmCluster >; + #suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @doc("Remove VMs from the VM Cluster") @Autorest.example( "./examples/vmClusters_removeVms.json", @@ -32,6 +34,7 @@ interface CloudVmClusters CloudVmCluster >; + #suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @doc("List Private IP Addresses by the provided filter") @Autorest.example( "./examples/vmClusters_listPrivateIpAddresses.json", @@ -44,26 +47,32 @@ interface CloudVmClusters >; } +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(CloudVmClusters.listBySubscription, "./examples/vmClusters_listBySubscription.json", "List VM Clusters by subscription" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(CloudVmClusters.createOrUpdate, "./examples/vmClusters_create.json", "Create VM Cluster" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(CloudVmClusters.get, "./examples/vmClusters_get.json", "Get VM Cluster" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(CloudVmClusters.update, "./examples/vmClusters_patch.json", "Patch VM Cluster" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(CloudVmClusters.delete, "./examples/vmClusters_delete.json", "Delete VM Cluster" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(CloudVmClusters.listByResourceGroup, "./examples/vmClusters_listByResourceGroup.json", "List VM Clusters by resource group" diff --git a/specification/oracle/Oracle.Database.Management/operations/oraclesubscription/oracleSubscriptionOperations.tsp b/specification/oracle/Oracle.Database.Management/operations/oraclesubscription/oracleSubscriptionOperations.tsp index d3356ea3f56d..9ed744a9762b 100644 --- a/specification/oracle/Oracle.Database.Management/operations/oraclesubscription/oracleSubscriptionOperations.tsp +++ b/specification/oracle/Oracle.Database.Management/operations/oraclesubscription/oracleSubscriptionOperations.tsp @@ -13,6 +13,7 @@ interface OracleSubscriptions OracleSubscription, OracleSubscriptionProperties > { + #suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @doc("List Cloud Account Details") @Autorest.example( "./examples/oracleSubscriptions_listCloudAccountDetails.json", @@ -23,6 +24,7 @@ interface OracleSubscriptions CloudAccountDetails >; + #suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @doc("List Saas Subscription Details") @Autorest.example( "./examples/oracleSubscriptions_listSaasSubscriptionDetails.json", @@ -33,6 +35,7 @@ interface OracleSubscriptions SaasSubscriptionDetails >; + #suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @doc("List Activation Links") @Autorest.example( "./examples/oracleSubscriptions_listActivationLinks.json", @@ -43,6 +46,7 @@ interface OracleSubscriptions ActivationLinks >; + #suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @added(Versions.v20240601_preview) @doc("Add Azure Subscriptions") @Autorest.example( @@ -70,22 +74,27 @@ interface OracleSubscriptions >; } +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(OracleSubscriptions.listBySubscription, "./examples/oracleSubscriptions_listBySubscription.json", "List Oracle Subscriptions by subscription" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(OracleSubscriptions.createOrUpdate, "./examples/oracleSubscriptions_create.json", "Create or Update Oracle Subscription" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(OracleSubscriptions.get, "./examples/oracleSubscriptions_get.json", "Get Oracle Subscription" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(OracleSubscriptions.update, "./examples/oracleSubscriptions_patch.json", "Patch Oracle Subscription" ); +#suppress "@azure-tools/typespec-azure-core/no-openapi" "TODO FIX - DO NOT COPY - BAD PATTERN" @@Autorest.example(OracleSubscriptions.delete, "./examples/oracleSubscriptions_delete.json", "Delete Oracle Subscription" diff --git a/specification/oracle/Oracle.Database.Management/tspconfig.yaml b/specification/oracle/Oracle.Database.Management/tspconfig.yaml index 832d1d86c4a3..58927854d082 100644 --- a/specification/oracle/Oracle.Database.Management/tspconfig.yaml +++ b/specification/oracle/Oracle.Database.Management/tspconfig.yaml @@ -14,7 +14,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true emitter-output-dir: "{project-root}/.." - examples-directory: "examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json" "@azure-tools/typespec-ts": package-dir: "arm-oracledatabase" diff --git a/specification/oracle/models/common.tsp b/specification/oracle/models/common.tsp index 1770a9ab6873..e21cb5462168 100644 --- a/specification/oracle/models/common.tsp +++ b/specification/oracle/models/common.tsp @@ -185,6 +185,7 @@ model Month { @doc("Header to distinguish between resource creation or update") model MsRpaasNewResourceHeader { + #suppress "@azure-tools/typespec-azure-core/no-openapi" "x-default-description is not standard" @header("x-ms-rpaas-new-resource") @doc("Boolean parameter to distinguish between resource creation or update") @extension("x-default-description", true) diff --git a/specification/playwrighttesting/PlaywrightTesting.Management/tspconfig.yaml b/specification/playwrighttesting/PlaywrightTesting.Management/tspconfig.yaml index 425c79f8ec1a..911ab5ef665f 100644 --- a/specification/playwrighttesting/PlaywrightTesting.Management/tspconfig.yaml +++ b/specification/playwrighttesting/PlaywrightTesting.Management/tspconfig.yaml @@ -16,7 +16,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/playwrighttesting.json" omit-unreachable-types: true use-read-only-status-schema: true diff --git a/specification/playwrighttesting/PlaywrightTesting/main.tsp b/specification/playwrighttesting/PlaywrightTesting/main.tsp index a3de6db5573b..97f23f869234 100644 --- a/specification/playwrighttesting/PlaywrightTesting/main.tsp +++ b/specification/playwrighttesting/PlaywrightTesting/main.tsp @@ -191,37 +191,20 @@ interface AccessTokens { // AccessToken Operations @doc("Creates an access-token with given access-token id in guid format.") - @Autorest.example( - "./AccessTokens_CreateAccessToken.json", - "AccessTokens_CreateAccessToken" - ) createAccessToken is Operations.ResourceCreateOrReplace; @doc("Get an access-token for given access-token id in guid format.") - @Autorest.example( - "./AccessTokens_GetAccessToken.json", - "AccessTokens_GetAccessToken" - ) getAccessToken is Operations.ResourceRead; @doc("Revoke an access-token with given access-token id in guid format.") - @Autorest.example( - "./AccessTokens_DeleteAccessToken.json", - "AccessTokens_DeleteAccessToken" - ) deleteAccessToken is Operations.ResourceDelete; @doc("List access-tokens for a given accountId.") - @Autorest.example( - "./AccessTokens_ListAccessTokens.json", - "AccessTokens_ListAccessTokens" - ) listAccessTokens is Operations.ResourceList; } interface Accounts { // Accounts Operations @doc("Get details of the ARM resource mapped to an account for the given accountId.") - @Autorest.example("./Accounts_GetAccount.json", "Accounts_GetAccount") getAccount is Operations.ResourceRead; } diff --git a/specification/playwrighttesting/PlaywrightTesting/tspconfig.yaml b/specification/playwrighttesting/PlaywrightTesting/tspconfig.yaml index 7ec6149d4529..d0d4ffa73239 100644 --- a/specification/playwrighttesting/PlaywrightTesting/tspconfig.yaml +++ b/specification/playwrighttesting/PlaywrightTesting/tspconfig.yaml @@ -11,6 +11,5 @@ options: azure-resource-provider-folder: "data-plane" emit-lro-options: "none" emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/playwrighttesting.json" omit-unreachable-types: true diff --git a/specification/portal/Dashboard.Management/Dashboard.tsp b/specification/portal/Dashboard.Management/Dashboard.tsp index 1877eecc31c0..e68c3c53ab10 100644 --- a/specification/portal/Dashboard.Management/Dashboard.tsp +++ b/specification/portal/Dashboard.Management/Dashboard.tsp @@ -64,10 +64,12 @@ interface Dashboards { @@doc(Dashboards.update::parameters.properties, "The updatable fields of a Dashboard." ); +#suppress "deprecated" "LEGACY - DO NOT COPY - FIX" @@encodedName(Dashboards.createOrUpdate::parameters.resource, "application/json", "dashboard" ); +#suppress "deprecated" "LEGACY - DO NOT COPY - FIX" @@encodedName(Dashboards.update::parameters.properties, "application/json", "dashboard" diff --git a/specification/portal/Dashboard.Management/models.tsp b/specification/portal/Dashboard.Management/models.tsp index dd35585b34e1..25ba06548055 100644 --- a/specification/portal/Dashboard.Management/models.tsp +++ b/specification/portal/Dashboard.Management/models.tsp @@ -199,6 +199,7 @@ model PatchableDashboard { /** * Resource tags */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" tags?: Record; } diff --git a/specification/portal/Dashboard.Management/tspconfig.yaml b/specification/portal/Dashboard.Management/tspconfig.yaml index 7c83f7d897ca..fd1283021a40 100644 --- a/specification/portal/Dashboard.Management/tspconfig.yaml +++ b/specification/portal/Dashboard.Management/tspconfig.yaml @@ -7,7 +7,6 @@ options: emitter-output-dir: "{project-root}/.." azure-resource-provider-folder: "resource-manager" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/portal.json" - examples-directory: "{project-root}/examples" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/portal/TenantConfiguration.Management/TenantConfiguration.tsp b/specification/portal/TenantConfiguration.Management/TenantConfiguration.tsp index ec4266c41b19..72e6326ab8b1 100644 --- a/specification/portal/TenantConfiguration.Management/TenantConfiguration.tsp +++ b/specification/portal/TenantConfiguration.Management/TenantConfiguration.tsp @@ -48,7 +48,7 @@ interface TenantConfigurations { /** * Gets list of the tenant configurations. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @operationId("TenantConfigurations_List") list is ArmResourceListByParent; } @@ -58,7 +58,7 @@ interface ListTenantConfigurationViolationsOperations { /** * Gets list of items that violate tenant's configuration. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "For backward compatibility" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "For backward compatibility" @route("/providers/Microsoft.Portal/listTenantConfigurationViolations") @armResourceCollectionAction @post @@ -69,6 +69,7 @@ interface ListTenantConfigurationViolationsOperations { @@doc(TenantConfigurations.create::parameters.resource, "The parameters required to create or update tenant configuration." ); +#suppress "deprecated" "LEGACY - DO NOT COPY - FIX" @@encodedName(TenantConfigurations.create::parameters.resource, "application/json", "tenantConfiguration" diff --git a/specification/portal/TenantConfiguration.Management/tspconfig.yaml b/specification/portal/TenantConfiguration.Management/tspconfig.yaml index 4e3914ca3569..77f4271d1c6e 100644 --- a/specification/portal/TenantConfiguration.Management/tspconfig.yaml +++ b/specification/portal/TenantConfiguration.Management/tspconfig.yaml @@ -7,7 +7,6 @@ options: emitter-output-dir: "{project-root}/.." azure-resource-provider-folder: "resource-manager" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/tenantConfiguration.json" - examples-directory: "{project-root}/examples" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/portalservices/CopilotSettings.Management/tspconfig.yaml b/specification/portalservices/CopilotSettings.Management/tspconfig.yaml index 94374b3ae07f..bdb126b259b9 100644 --- a/specification/portalservices/CopilotSettings.Management/tspconfig.yaml +++ b/specification/portalservices/CopilotSettings.Management/tspconfig.yaml @@ -7,7 +7,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" omit-unreachable-types: true output-file: "{azure-resource-provider-folder}/{service-name}/copilotSettings/{version-status}/{version}/copilotSettings.json" use-read-only-status-schema: true diff --git a/specification/portalservices/Extension.Management/ExtensionTenantCompileFile.tsp b/specification/portalservices/Extension.Management/ExtensionTenantCompileFile.tsp index d64be8f9d836..4b955c90657b 100644 --- a/specification/portalservices/Extension.Management/ExtensionTenantCompileFile.tsp +++ b/specification/portalservices/Extension.Management/ExtensionTenantCompileFile.tsp @@ -40,6 +40,7 @@ interface PortalTenant { @@clientName(PortalTenant.compilefile::parameters.body, "portalTenantCompileFile" ); +#suppress "deprecated" "LEGACY - DO NOT COPY - FIX" @@encodedName(PortalTenant.compilefile::parameters.body, "application/json", "portalTenantCompileFile" diff --git a/specification/portalservices/Extension.Management/models.tsp b/specification/portalservices/Extension.Management/models.tsp index d6cf7d03efae..9e739c64b4ec 100644 --- a/specification/portalservices/Extension.Management/models.tsp +++ b/specification/portalservices/Extension.Management/models.tsp @@ -290,6 +290,7 @@ model ArmCommonProperties { /** * Resource tags */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" tags?: Record; /** @@ -316,6 +317,7 @@ model PatchablePortalExtension { /** * Resource tags */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" tags?: Record; } @@ -347,6 +349,7 @@ model PortalExtensionAlterAlterationsItem { /** * The content of the file. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" content?: Record; /** @@ -367,17 +370,20 @@ model PortalExtensionCompileFile { /** * The contents of the file. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" contents?: Record; /** * The contents of the string source. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" stringSource?: Record; } /** * The result of contents of the file to compile. */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" model PortalExtensionCompileFileResult is Record; /** @@ -417,11 +423,13 @@ model PortalExtensionListSourcesFolder { /** * The list of child folders */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" folders?: Record; /** * The list of child files */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" files?: Record; } @@ -501,6 +509,7 @@ model PatchableExtensionVersion { /** * Resource tags */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" tags?: Record; } @@ -568,6 +577,7 @@ model PatchableExtensionDeployment { /** * Resource tags */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" tags?: Record; } @@ -620,6 +630,7 @@ model PatchableExtensionSlot { /** * Resource tags */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" tags?: Record; } @@ -653,6 +664,7 @@ model PortalTenantCompileFileProperties { /** * The contents of the file to compile. */ +#suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" model PortalTenantCompileFileResult is Record; /** diff --git a/specification/portalservices/Extension.Management/tspconfig.yaml b/specification/portalservices/Extension.Management/tspconfig.yaml index ff15f5936504..b2fb1da05f76 100644 --- a/specification/portalservices/Extension.Management/tspconfig.yaml +++ b/specification/portalservices/Extension.Management/tspconfig.yaml @@ -9,7 +9,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/extensions/{version-status}/{version}/extensions.json" - examples-directory: "{project-root}/examples" omit-unreachable-types: true linter: extends: diff --git a/specification/programmableconnectivity/Azure.ProgrammableConnectivity/tspconfig.yaml b/specification/programmableconnectivity/Azure.ProgrammableConnectivity/tspconfig.yaml index 42f1f0802bd0..fe41d662bb95 100644 --- a/specification/programmableconnectivity/Azure.ProgrammableConnectivity/tspconfig.yaml +++ b/specification/programmableconnectivity/Azure.ProgrammableConnectivity/tspconfig.yaml @@ -11,7 +11,6 @@ options: azure-resource-provider-folder: "data-plane" emit-lro-options: "none" emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/openapi.json" "@azure-tools/typespec-csharp": package-dir: "Azure.Communication.ProgrammableConnectivity" diff --git a/specification/purview/Azure.Analytics.Purview.DataMap/tspconfig.yaml b/specification/purview/Azure.Analytics.Purview.DataMap/tspconfig.yaml index df23da43ee38..3742712d1b88 100644 --- a/specification/purview/Azure.Analytics.Purview.DataMap/tspconfig.yaml +++ b/specification/purview/Azure.Analytics.Purview.DataMap/tspconfig.yaml @@ -11,7 +11,6 @@ options: azure-resource-provider-folder: "data-plane" emit-lro-options: "none" emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/Azure.Analytics.Purview.DataMap/{version-status}/{version}/purviewdatamap.json" omit-unreachable-types: true "@azure-tools/typespec-python": diff --git a/specification/purviewpolicy/PurviewPolicy.Management/policy.tsp b/specification/purviewpolicy/PurviewPolicy.Management/policy.tsp index a31a431669fc..e0075c8ec42d 100644 --- a/specification/purviewpolicy/PurviewPolicy.Management/policy.tsp +++ b/specification/purviewpolicy/PurviewPolicy.Management/policy.tsp @@ -23,6 +23,7 @@ interface PurviewPolicies { ...SkipTokenParameter; /** Supported filters : $filter=policyType eq SelfService, $filter=policyType eq SqlDevops. Returns only the policies of the specified type. If not specified, all policies are returned. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "LEGACY - THIS shouldn't even be needed" @extension("x-ms-skip-url-encoding", true) @query("$filter") filter?: string; @@ -33,7 +34,6 @@ interface PurviewPolicies { /** The skipToken parameter definition. */ model SkipTokenParameter { /** Paging key to paginate to next page. */ - @extension("x-ms-parameter-location", "method") @query skipToken?: string; } diff --git a/specification/purviewpolicy/PurviewPolicy.Management/tspconfig.yaml b/specification/purviewpolicy/PurviewPolicy.Management/tspconfig.yaml index 43ee6d370679..276afeab2b34 100644 --- a/specification/purviewpolicy/PurviewPolicy.Management/tspconfig.yaml +++ b/specification/purviewpolicy/PurviewPolicy.Management/tspconfig.yaml @@ -8,7 +8,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/policy.json" - examples-directory: "{project-root}/examples" omit-unreachable-types: true linter: extends: diff --git a/specification/quantum/Quantum.Workspace/main.tsp b/specification/quantum/Quantum.Workspace/main.tsp index 66d2637d36e1..9e5f5c1b4ba4 100644 --- a/specification/quantum/Quantum.Workspace/main.tsp +++ b/specification/quantum/Quantum.Workspace/main.tsp @@ -29,6 +29,7 @@ using TypeSpec.Versioning; using OpenAPI; /** Azure Quantum Workspace Services */ +#suppress "@azure-tools/typespec-azure-core/no-openapi" "Non standard use of openapi info metadata for azure spec" @service({ title: "Azure Quantum Workspace Services", }) diff --git a/specification/quantum/Quantum.Workspace/operations/sessions.tsp b/specification/quantum/Quantum.Workspace/operations/sessions.tsp index 3d2ab6dea487..28a6ffd6792f 100644 --- a/specification/quantum/Quantum.Workspace/operations/sessions.tsp +++ b/specification/quantum/Quantum.Workspace/operations/sessions.tsp @@ -84,7 +84,7 @@ namespace Quantum.Workspace.Operations { list is ListOperation; /** List jobs in a session. */ - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "The nesting of Jobs under a Session makes the auto-generated ID to be Sessions_JobsList, which is not in a Noun_Verb format." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "The nesting of Jobs under a Session makes the auto-generated ID to be Sessions_JobsList, which is not in a Noun_Verb format." #suppress "@azure-tools/typespec-azure-core/use-standard-operations" """ We had to use a custom ResourceList to avoid an autoroute bug for workspace/jobs and sesssions/{sessionId}/jobs. See https://github.com/Azure/typespec-azure/issues/494 diff --git a/specification/quantum/Quantum.Workspace/tspconfig.yaml b/specification/quantum/Quantum.Workspace/tspconfig.yaml index 2e36cf34ec56..d30346a1c842 100644 --- a/specification/quantum/Quantum.Workspace/tspconfig.yaml +++ b/specification/quantum/Quantum.Workspace/tspconfig.yaml @@ -15,7 +15,6 @@ options: "@azure-tools/typespec-autorest": azure-resource-provider-folder: "data-plane" emit-lro-options: "none" - examples-directory: examples omit-unreachable-types: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/quantum.json" emitter-output-dir: "{project-root}/../" diff --git a/specification/riskiq/Easm/tspconfig.yaml b/specification/riskiq/Easm/tspconfig.yaml index 15aadb491724..7b51df133702 100644 --- a/specification/riskiq/Easm/tspconfig.yaml +++ b/specification/riskiq/Easm/tspconfig.yaml @@ -13,7 +13,6 @@ options: azure-resource-provider-folder: "data-plane" emit-lro-options: "none" emitter-output-dir: "{project-root}/.." - examples-directory: "examples" output-file: "{azure-resource-provider-folder}/Microsoft.Easm/{version-status}/{version}/easm.json" "@azure-tools/typespec-csharp": package-dir: "Azure.Analytics.Defender.Easm" diff --git a/specification/schemaregistry/SchemaRegistry/tspconfig.yaml b/specification/schemaregistry/SchemaRegistry/tspconfig.yaml index 112ec93ffe3a..4ecd71e8a0ba 100644 --- a/specification/schemaregistry/SchemaRegistry/tspconfig.yaml +++ b/specification/schemaregistry/SchemaRegistry/tspconfig.yaml @@ -15,7 +15,6 @@ options: emit-lro-options: "none" emitter-output-dir: "{project-root}/../" output-file: "data-plane/Microsoft.SchemaRegistry/{version-status}/{version}/schemaregistry.json" - examples-directory: examples "@azure-tools/typespec-python": package-dir: "azure-schemaregistry" package-name: "{package-dir}" @@ -30,7 +29,6 @@ options: namespace: com.azure.data.schemaregistry partial-update: true flavor: azure - examples-directory: "{project-root}/examples" "@azure-tools/typespec-ts": package-dir: "schema-registry" generateMetadata: false diff --git a/specification/schemaregistry/data-plane/Microsoft.SchemaRegistry/stable/2021-10/schemaregistry.json b/specification/schemaregistry/data-plane/Microsoft.SchemaRegistry/stable/2021-10/schemaregistry.json index 87373cea78d2..66d2b013bac3 100644 --- a/specification/schemaregistry/data-plane/Microsoft.SchemaRegistry/stable/2021-10/schemaregistry.json +++ b/specification/schemaregistry/data-plane/Microsoft.SchemaRegistry/stable/2021-10/schemaregistry.json @@ -89,7 +89,8 @@ } }, "x-ms-pageable": { - "nextLinkName": "NextLink" + "nextLinkName": "NextLink", + "itemName": "Value" } } }, @@ -325,7 +326,8 @@ } }, "x-ms-pageable": { - "nextLinkName": "NextLink" + "nextLinkName": "NextLink", + "itemName": "Value" } } }, diff --git a/specification/schemaregistry/data-plane/Microsoft.SchemaRegistry/stable/2022-10/schemaregistry.json b/specification/schemaregistry/data-plane/Microsoft.SchemaRegistry/stable/2022-10/schemaregistry.json index 153b174d8800..cec74afc0343 100644 --- a/specification/schemaregistry/data-plane/Microsoft.SchemaRegistry/stable/2022-10/schemaregistry.json +++ b/specification/schemaregistry/data-plane/Microsoft.SchemaRegistry/stable/2022-10/schemaregistry.json @@ -89,7 +89,8 @@ } }, "x-ms-pageable": { - "nextLinkName": "NextLink" + "nextLinkName": "NextLink", + "itemName": "Value" } } }, @@ -329,7 +330,8 @@ } }, "x-ms-pageable": { - "nextLinkName": "NextLink" + "nextLinkName": "NextLink", + "itemName": "Value" } } }, diff --git a/specification/schemaregistry/data-plane/Microsoft.SchemaRegistry/stable/2023-07-01/schemaregistry.json b/specification/schemaregistry/data-plane/Microsoft.SchemaRegistry/stable/2023-07-01/schemaregistry.json index f0d5d664e0d2..50425596c3cb 100644 --- a/specification/schemaregistry/data-plane/Microsoft.SchemaRegistry/stable/2023-07-01/schemaregistry.json +++ b/specification/schemaregistry/data-plane/Microsoft.SchemaRegistry/stable/2023-07-01/schemaregistry.json @@ -89,7 +89,8 @@ } }, "x-ms-pageable": { - "nextLinkName": "NextLink" + "nextLinkName": "NextLink", + "itemName": "Value" } } }, @@ -331,7 +332,8 @@ } }, "x-ms-pageable": { - "nextLinkName": "NextLink" + "nextLinkName": "NextLink", + "itemName": "Value" } } }, diff --git a/specification/scvmm/ScVmm.Management/AvailabilitySet.tsp b/specification/scvmm/ScVmm.Management/AvailabilitySet.tsp index 9bd58c92dfb9..3377b968a9ef 100644 --- a/specification/scvmm/ScVmm.Management/AvailabilitySet.tsp +++ b/specification/scvmm/ScVmm.Management/AvailabilitySet.tsp @@ -38,6 +38,7 @@ interface AvailabilitySets { Azure.Core.Foundations.RetryAfterHeader >; /** Updates the AvailabilitySets resource. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @summary("Implements the AvailabilitySets PATCH method.") @extension( "x-ms-long-running-operation-options", diff --git a/specification/scvmm/ScVmm.Management/Cloud.tsp b/specification/scvmm/ScVmm.Management/Cloud.tsp index 8c6534b30723..085d42feb3b9 100644 --- a/specification/scvmm/ScVmm.Management/Cloud.tsp +++ b/specification/scvmm/ScVmm.Management/Cloud.tsp @@ -39,6 +39,7 @@ interface Clouds { LroHeaders = Azure.Core.Foundations.RetryAfterHeader >; /** Updates the Clouds resource. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @summary("Implements the Clouds PATCH method.") @extension( "x-ms-long-running-operation-options", @@ -48,6 +49,7 @@ interface Clouds { ) update is ArmTagsPatchAsync; /** Deregisters the ScVmm fabric cloud from Azure. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @summary("Implements Cloud resource DELETE method.") @extension( "x-ms-long-running-operation-options", diff --git a/specification/scvmm/ScVmm.Management/VirtualMachineInstance.tsp b/specification/scvmm/ScVmm.Management/VirtualMachineInstance.tsp index 385dee8d15ee..74559c5c70f8 100644 --- a/specification/scvmm/ScVmm.Management/VirtualMachineInstance.tsp +++ b/specification/scvmm/ScVmm.Management/VirtualMachineInstance.tsp @@ -1,5 +1,6 @@ import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; +import "@azure-tools/typespec-client-generator-core"; import "@typespec/rest"; import "./models.tsp"; @@ -36,7 +37,8 @@ model VirtualMachineInstanceUpdate "properties" >> { /** The update properties of the VirtualMachineInstance. */ - @extension("x-ms-client-flatten", true) + #suppress "deprecated" "Legacy flatten" + @Azure.ClientGenerator.Core.flattenProperty properties?: VirtualMachineInstanceUpdateProperties; } @@ -65,6 +67,7 @@ interface VirtualMachineInstances { LroHeaders = Azure.Core.Foundations.RetryAfterHeader >; /** The operation to update a virtual machine instance. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @summary("Updates a virtual machine.") @extension( "x-ms-long-running-operation-options", @@ -77,6 +80,7 @@ interface VirtualMachineInstances { VirtualMachineInstanceUpdate >; /** The operation to delete a virtual machine instance. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @summary("Deletes an virtual machine.") @extension( "x-ms-long-running-operation-options", diff --git a/specification/scvmm/ScVmm.Management/VirtualMachineTemplate.tsp b/specification/scvmm/ScVmm.Management/VirtualMachineTemplate.tsp index 0ed42912c736..37c6e1f848df 100644 --- a/specification/scvmm/ScVmm.Management/VirtualMachineTemplate.tsp +++ b/specification/scvmm/ScVmm.Management/VirtualMachineTemplate.tsp @@ -40,6 +40,7 @@ interface VirtualMachineTemplates { LroHeaders = Azure.Core.Foundations.RetryAfterHeader >; /** Updates the VirtualMachineTemplate resource. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @summary("Implements the VirtualMachineTemplate PATCH method.") @extension( "x-ms-long-running-operation-options", @@ -49,6 +50,7 @@ interface VirtualMachineTemplates { ) update is ArmTagsPatchAsync; /** Deregisters the ScVmm VM Template from Azure. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @summary("Implements VirtualMachineTemplate DELETE method.") @extension( "x-ms-long-running-operation-options", diff --git a/specification/scvmm/ScVmm.Management/VirtualNetwork.tsp b/specification/scvmm/ScVmm.Management/VirtualNetwork.tsp index e879baffdb67..0e1ef93c1ae9 100644 --- a/specification/scvmm/ScVmm.Management/VirtualNetwork.tsp +++ b/specification/scvmm/ScVmm.Management/VirtualNetwork.tsp @@ -39,6 +39,7 @@ interface VirtualNetworks { LroHeaders = Azure.Core.Foundations.RetryAfterHeader >; /** Updates the VirtualNetworks resource. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @summary("Implements the VirtualNetworks PATCH method.") @extension( "x-ms-long-running-operation-options", @@ -48,6 +49,7 @@ interface VirtualNetworks { ) update is ArmTagsPatchAsync; /** Deregisters the ScVmm virtual network from Azure. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @summary("Implements VirtualNetwork DELETE method.") @extension( "x-ms-long-running-operation-options", diff --git a/specification/scvmm/ScVmm.Management/VmmServer.tsp b/specification/scvmm/ScVmm.Management/VmmServer.tsp index 78273c31048b..4f8bf7a1e504 100644 --- a/specification/scvmm/ScVmm.Management/VmmServer.tsp +++ b/specification/scvmm/ScVmm.Management/VmmServer.tsp @@ -39,6 +39,7 @@ interface VmmServers { LroHeaders = Azure.Core.Foundations.RetryAfterHeader >; /** Updates the VmmServers resource. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @summary("Implements VmmServers PATCH method.") @extension( "x-ms-long-running-operation-options", @@ -48,6 +49,7 @@ interface VmmServers { ) update is ArmTagsPatchAsync; /** Removes the SCVmm fabric from Azure. */ + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @summary("Implements VmmServers DELETE method.") @extension( "x-ms-long-running-operation-options", diff --git a/specification/scvmm/ScVmm.Management/tspconfig.yaml b/specification/scvmm/ScVmm.Management/tspconfig.yaml index bbe18b1a1a1f..61f004ab8317 100644 --- a/specification/scvmm/ScVmm.Management/tspconfig.yaml +++ b/specification/scvmm/ScVmm.Management/tspconfig.yaml @@ -13,7 +13,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/scvmm.json" - examples-directory: "{project-root}/examples" linter: disable: extends: diff --git a/specification/servicenetworking/ServiceNetworking.Management/tspconfig.yaml b/specification/servicenetworking/ServiceNetworking.Management/tspconfig.yaml index 50c5a96a661d..9b181e0cb939 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/tspconfig.yaml +++ b/specification/servicenetworking/ServiceNetworking.Management/tspconfig.yaml @@ -12,6 +12,5 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/TrafficController.json" omit-unreachable-types: true diff --git a/specification/sphere/Sphere.Management/catalog.tsp b/specification/sphere/Sphere.Management/catalog.tsp index 4455d2403c5e..34023a0e413f 100644 --- a/specification/sphere/Sphere.Management/catalog.tsp +++ b/specification/sphere/Sphere.Management/catalog.tsp @@ -1,7 +1,10 @@ +import "@azure-tools/typespec-client-generator-core"; + using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; using TypeSpec.OpenAPI; +using Azure.ClientGenerator.Core; namespace Microsoft.AzureSphere; /** @@ -137,20 +140,8 @@ interface Catalogs { @@doc(Catalogs.listDeviceGroups::parameters.body, "List device groups for catalog." ); -@@encodedName(Catalogs.listDeviceGroups::parameters.body, - "application/json", - "listDeviceGroupsRequest" -); -@@extension(Catalogs.listDeviceGroups::parameters.body, - "x-ms-client-name", +@@clientName(Catalogs.listDeviceGroups::parameters.body, "listDeviceGroupsRequest" ); @@doc(Catalogs.uploadImage::parameters.body, "Image upload request body."); -@@encodedName(Catalogs.uploadImage::parameters.body, - "application/json", - "uploadImageRequest" -); -@@extension(Catalogs.uploadImage::parameters.body, - "x-ms-client-name", - "uploadImageRequest" -); +@@clientName(Catalogs.uploadImage::parameters.body, "uploadImageRequest"); diff --git a/specification/sphere/Sphere.Management/certificate.tsp b/specification/sphere/Sphere.Management/certificate.tsp index 57ddd5ed075a..5fa84a96b650 100644 --- a/specification/sphere/Sphere.Management/certificate.tsp +++ b/specification/sphere/Sphere.Management/certificate.tsp @@ -1,7 +1,10 @@ +import "@azure-tools/typespec-client-generator-core"; + using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; using TypeSpec.OpenAPI; +using Azure.ClientGenerator.Core; namespace Microsoft.AzureSphere; /** @@ -63,11 +66,6 @@ interface Certificates { @@doc(Certificates.retrieveProofOfPossessionNonce::parameters.body, "Proof of possession nonce request body " ); -@@encodedName(Certificates.retrieveProofOfPossessionNonce::parameters.body, - "application/json", - "proofOfPossessionNonceRequest" -); -@@extension(Certificates.retrieveProofOfPossessionNonce::parameters.body, - "x-ms-client-name", +@@clientName(Certificates.retrieveProofOfPossessionNonce::parameters.body, "proofOfPossessionNonceRequest" ); diff --git a/specification/sphere/Sphere.Management/device.tsp b/specification/sphere/Sphere.Management/device.tsp index d75447d78ada..b4b8a643404a 100644 --- a/specification/sphere/Sphere.Management/device.tsp +++ b/specification/sphere/Sphere.Management/device.tsp @@ -2,6 +2,7 @@ using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; using TypeSpec.OpenAPI; +using Azure.ClientGenerator.Core; namespace Microsoft.AzureSphere; /** @@ -74,11 +75,6 @@ interface Devices { @@doc(Devices.generateCapabilityImage::parameters.body, "Generate capability image request body." ); -@@encodedName(Devices.generateCapabilityImage::parameters.body, - "application/json", - "generateDeviceCapabilityRequest" -); -@@extension(Devices.generateCapabilityImage::parameters.body, - "x-ms-client-name", +@@clientName(Devices.generateCapabilityImage::parameters.body, "generateDeviceCapabilityRequest" ); diff --git a/specification/sphere/Sphere.Management/deviceGroup.tsp b/specification/sphere/Sphere.Management/deviceGroup.tsp index 0bfd227bee5b..eb1413658246 100644 --- a/specification/sphere/Sphere.Management/deviceGroup.tsp +++ b/specification/sphere/Sphere.Management/deviceGroup.tsp @@ -1,7 +1,10 @@ +import "@azure-tools/typespec-client-generator-core"; + using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; using TypeSpec.OpenAPI; +using Azure.ClientGenerator.Core; namespace Microsoft.AzureSphere; /** @@ -85,11 +88,4 @@ interface DeviceGroups { @@doc(DeviceGroups.claimDevices::parameters.body, "Bulk claim devices request body." ); -@@encodedName(DeviceGroups.claimDevices::parameters.body, - "application/json", - "claimDevicesRequest" -); -@@extension(DeviceGroups.claimDevices::parameters.body, - "x-ms-client-name", - "claimDevicesRequest" -); +@@clientName(DeviceGroups.claimDevices::parameters.body, "claimDevicesRequest"); diff --git a/specification/sphere/Sphere.Management/models.tsp b/specification/sphere/Sphere.Management/models.tsp index 33f65e2ef22e..f17cd216ad26 100644 --- a/specification/sphere/Sphere.Management/models.tsp +++ b/specification/sphere/Sphere.Management/models.tsp @@ -1,3 +1,5 @@ +import "@azure-tools/typespec-client-generator-core"; + using TypeSpec.Http; using Azure.ResourceManager; using Azure.ResourceManager.Foundations; @@ -341,6 +343,7 @@ model CatalogUpdate { /** * Resource tags. */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" tags?: Record; } @@ -701,7 +704,8 @@ model ProductUpdate { /** * The updatable properties of the Product. */ - @extension("x-ms-client-flatten", true) + #suppress "deprecated" "Legacy flatten" + @Azure.ClientGenerator.Core.flattenProperty properties?: ProductUpdateProperties; } @@ -722,7 +726,8 @@ model DeviceGroupUpdate { /** * The updatable properties of the DeviceGroup. */ - @extension("x-ms-client-flatten", true) + #suppress "deprecated" "Legacy flatten" + @Azure.ClientGenerator.Core.flattenProperty properties?: DeviceGroupUpdateProperties; } @@ -773,7 +778,8 @@ model DeviceUpdate { /** * The updatable properties of the Device. */ - @extension("x-ms-client-flatten", true) + #suppress "deprecated" "Legacy flatten" + @Azure.ClientGenerator.Core.flattenProperty properties?: DeviceUpdateProperties; } diff --git a/specification/sphere/Sphere.Management/tspconfig.yaml b/specification/sphere/Sphere.Management/tspconfig.yaml index 70b4572b43f3..33c3c4f686e5 100644 --- a/specification/sphere/Sphere.Management/tspconfig.yaml +++ b/specification/sphere/Sphere.Management/tspconfig.yaml @@ -9,7 +9,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/azuresphere.json" - examples-directory: "{project-root}/examples" "@azure-tools/cadl-python": "basic-setup-py": true "package-version": 3.0.0b6 diff --git a/specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/azuresphere.json b/specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/azuresphere.json index e3f5e4f8b6cc..220cfc0a356f 100644 --- a/specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/azuresphere.json +++ b/specification/sphere/resource-manager/Microsoft.AzureSphere/stable/2024-04-01/azuresphere.json @@ -626,8 +626,7 @@ "required": true, "schema": { "$ref": "#/definitions/ProofOfPossessionNonceRequest" - }, - "x-ms-client-name": "proofOfPossessionNonceRequest" + } } ], "responses": { @@ -1068,8 +1067,7 @@ "required": true, "schema": { "$ref": "#/definitions/ListDeviceGroupsRequest" - }, - "x-ms-client-name": "listDeviceGroupsRequest" + } } ], "responses": { @@ -2045,8 +2043,7 @@ "required": true, "schema": { "$ref": "#/definitions/ClaimDevicesRequest" - }, - "x-ms-client-name": "claimDevicesRequest" + } } ], "responses": { @@ -2944,8 +2941,7 @@ "required": true, "schema": { "$ref": "#/definitions/GenerateCapabilityImageRequest" - }, - "x-ms-client-name": "generateDeviceCapabilityRequest" + } } ], "responses": { @@ -3077,8 +3073,7 @@ "required": true, "schema": { "$ref": "#/definitions/Image" - }, - "x-ms-client-name": "uploadImageRequest" + } } ], "responses": { diff --git a/specification/splitio/SplitIO.Experimentation.Management/tspconfig.yaml b/specification/splitio/SplitIO.Experimentation.Management/tspconfig.yaml index 74275a27b974..b76951bb1fea 100644 --- a/specification/splitio/SplitIO.Experimentation.Management/tspconfig.yaml +++ b/specification/splitio/SplitIO.Experimentation.Management/tspconfig.yaml @@ -8,7 +8,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/splitio.json" - examples-directory: "{project-root}/examples" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/standbypool/StandbyPool.Management/tspconfig.yaml b/specification/standbypool/StandbyPool.Management/tspconfig.yaml index ccf830a10cae..f2e30142da83 100644 --- a/specification/standbypool/StandbyPool.Management/tspconfig.yaml +++ b/specification/standbypool/StandbyPool.Management/tspconfig.yaml @@ -14,7 +14,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/standbypool.json" # omit the enum type Versions from being added to versioned swagger diff --git a/specification/translation/Azure.AI.DocumentTranslation/tspconfig.yaml b/specification/translation/Azure.AI.DocumentTranslation/tspconfig.yaml index f9f1b7f6eab5..5c2fcb0cef11 100644 --- a/specification/translation/Azure.AI.DocumentTranslation/tspconfig.yaml +++ b/specification/translation/Azure.AI.DocumentTranslation/tspconfig.yaml @@ -14,7 +14,6 @@ options: azure-resource-provider-folder: "data-plane" emit-lro-options: "none" emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/Azure.AI.DocumentTranslation/{version-status}/{version}/openapi.json" "@azure-tools/typespec-csharp": flavor: azure diff --git a/specification/translation/Azure.AI.TextTranslation/tspconfig.yaml b/specification/translation/Azure.AI.TextTranslation/tspconfig.yaml index bb770734bdd4..8967858b9ba9 100644 --- a/specification/translation/Azure.AI.TextTranslation/tspconfig.yaml +++ b/specification/translation/Azure.AI.TextTranslation/tspconfig.yaml @@ -16,7 +16,6 @@ options: azure-resource-provider-folder: "data-plane" emit-lro-options: "none" emitter-output-dir: "{project-root}/.." - examples-directory: "examples" output-file: "{azure-resource-provider-folder}/Azure.AI.TextTranslation/stable/v3.0/openapi.json" "@azure-tools/typespec-csharp": package-dir: "Azure.AI.Translation.Text" diff --git a/specification/verifiedid/Microsoft.VerifiedId.Management/tspconfig.yaml b/specification/verifiedid/Microsoft.VerifiedId.Management/tspconfig.yaml index 5c512006623e..1c39793a5320 100644 --- a/specification/verifiedid/Microsoft.VerifiedId.Management/tspconfig.yaml +++ b/specification/verifiedid/Microsoft.VerifiedId.Management/tspconfig.yaml @@ -10,6 +10,5 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true emitter-output-dir: "{project-root}/.." - examples-directory: "examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/verifiedid.json" use-read-only-status-schema: true diff --git a/specification/vmware/Microsoft.AVS.Management/models.tsp b/specification/vmware/Microsoft.AVS.Management/models.tsp index 1a56845b5b82..e98de7dec053 100644 --- a/specification/vmware/Microsoft.AVS.Management/models.tsp +++ b/specification/vmware/Microsoft.AVS.Management/models.tsp @@ -583,6 +583,7 @@ model Trial { @doc("Subscription quotas") model Quota { + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "existing API" @doc("Remaining hosts quota by sku type") @visibility("read") hostsRemaining?: Record; @@ -648,8 +649,9 @@ model PrivateCloudUpdate { ...ResourceSkuProperty; ...ManagedSystemAssignedIdentityProperty; + #suppress "deprecated" "Legacy flatten" @doc("The updatable properties of a private cloud resource") - @extension("x-ms-client-flatten", true) + @Azure.ClientGenerator.Core.flattenProperty properties?: PrivateCloudUpdateProperties; } @@ -968,8 +970,9 @@ model ClusterProperties { model ClusterUpdate { ...ResourceSkuProperty; + #suppress "deprecated" "Legacy flatten" @doc("The properties of a cluster resource that may be updated") - @extension("x-ms-client-flatten", true) + @Azure.ClientGenerator.Core.flattenProperty properties?: ClusterUpdateProperties; } @@ -1785,8 +1788,9 @@ model PlacementPolicyProperties { @doc("An update of a DRS placement policy resource") model PlacementPolicyUpdate { + #suppress "deprecated" "Legacy flatten" @doc("The properties of a placement policy resource that may be updated") - @extension("x-ms-client-flatten", true) + @Azure.ClientGenerator.Core.flattenProperty properties?: PlacementPolicyUpdateProperties; } diff --git a/specification/vmware/Microsoft.AVS.Management/routes.tsp b/specification/vmware/Microsoft.AVS.Management/routes.tsp index 8775e4143c88..e0a9cc6c6b4f 100644 --- a/specification/vmware/Microsoft.AVS.Management/routes.tsp +++ b/specification/vmware/Microsoft.AVS.Management/routes.tsp @@ -37,7 +37,7 @@ interface Locations { alias PrivateCloudList = ResourceList; @armResourceOperations interface PrivateClouds { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("PrivateClouds_List") list is ArmResourceListByParent< PrivateCloud, @@ -60,6 +60,7 @@ interface PrivateClouds { // This could be modeled with ArmCustomPatchAsync if a 202 response with no body is used instead of a 201. // update is ArmCustomPatchAsync; + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @doc("Update a PrivateCloud") @extension("x-ms-long-running-operation", true) @extension( @@ -107,19 +108,11 @@ interface PrivateClouds { >; } -@@encodedName(PrivateClouds.createOrUpdate::parameters.resource, - "application/json", - "privateCloud" -); -@@OpenAPI.extension(PrivateClouds.createOrUpdate::parameters.resource, - "x-ms-client-name", - "privateCloud" -); @@clientName(PrivateClouds.createOrUpdate::parameters.resource, "privateCloud"); @armResourceOperations interface Clusters { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("Clusters_List") list is ArmResourceListByParent< Cluster, @@ -137,6 +130,7 @@ interface Clusters { // This could be modeled with ArmCustomPatchAsync if a 202 response with no body is used instead of a 201. // update is ArmCustomPatchAsync; + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @doc("Update a Cluster") @extension("x-ms-long-running-operation", true) @extension( @@ -173,19 +167,11 @@ interface Clusters { listZones is ArmResourceActionSyncNoRequestBody; } -@@encodedName(Clusters.createOrUpdate::parameters.resource, - "application/json", - "cluster" -); -@@OpenAPI.extension(Clusters.createOrUpdate::parameters.resource, - "x-ms-client-name", - "cluster" -); @@clientName(Clusters.createOrUpdate::parameters.resource, "cluster"); @armResourceOperations interface Datastores { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("Datastores_List") list is ArmResourceListByParent< Datastore, @@ -206,19 +192,11 @@ interface Datastores { delete is ArmResourceDeleteAsync; } -@@encodedName(Datastores.createOrUpdate::parameters.resource, - "application/json", - "datastore" -); @@clientName(Datastores.createOrUpdate::parameters.resource, "datastore"); -@@OpenAPI.extension(Datastores.createOrUpdate::parameters.resource, - "x-ms-client-name", - "datastore" -); @armResourceOperations interface HcxEnterpriseSites { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("HcxEnterpriseSites_List") list is ArmResourceListByParent< HcxEnterpriseSite, @@ -232,21 +210,13 @@ interface HcxEnterpriseSites { delete is ArmResourceDeleteSync; } -@@encodedName(HcxEnterpriseSites.createOrUpdate::parameters.resource, - "application/json", - "hcxEnterpriseSite" -); @@clientName(HcxEnterpriseSites.createOrUpdate::parameters.resource, "hcxEnterpriseSite" ); -@@OpenAPI.extension(HcxEnterpriseSites.createOrUpdate::parameters.resource, - "x-ms-client-name", - "hcxEnterpriseSite" -); @armResourceOperations interface Authorizations { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("Authorizations_List") list is ArmResourceListByParent< ExpressRouteAuthorization, @@ -268,21 +238,13 @@ interface Authorizations { delete is ArmResourceDeleteAsync; } -@@encodedName(Authorizations.createOrUpdate::parameters.resource, - "application/json", - "authorization" -); @@clientName(Authorizations.createOrUpdate::parameters.resource, "authorization" ); -@@OpenAPI.extension(Authorizations.createOrUpdate::parameters.resource, - "x-ms-client-name", - "authorization" -); @armResourceOperations interface GlobalReachConnections { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("GlobalReachConnections_List") list is ArmResourceListByParent< GlobalReachConnection, @@ -303,25 +265,17 @@ interface GlobalReachConnections { delete is ArmResourceDeleteAsync; } -@@encodedName(GlobalReachConnections.createOrUpdate::parameters.resource, - "application/json", - "globalReachConnection" -); @@clientName(GlobalReachConnections.createOrUpdate::parameters.resource, "globalReachConnection" ); -@@OpenAPI.extension(GlobalReachConnections.createOrUpdate::parameters.resource, - "x-ms-client-name", - "globalReachConnection" -); @armResourceOperations interface WorkloadNetworks { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_Get") get is ArmResourceRead; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_List") list is ArmResourceListByParent< WorkloadNetwork, @@ -331,18 +285,18 @@ interface WorkloadNetworks { @armResourceOperations interface WorkloadNetworkSegments { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_ListSegments") list is ArmResourceListByParent< WorkloadNetworkSegment, Response = ArmResponse> >; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_GetSegment") get is ArmResourceRead; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." #suppress "@azure-tools/typespec-azure-core/invalid-final-state" "MUST CHANGE ON NEXT UPDATE" @operationId("WorkloadNetworks_CreateSegments") @Azure.Core.useFinalStateVia("azure-async-operation") @@ -351,47 +305,29 @@ interface WorkloadNetworkSegments { LroHeaders = Azure.Core.Foundations.RetryAfterHeader >; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_UpdateSegments") @parameterVisibility update is ArmCustomPatchAsync; #suppress "deprecated" #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_DeleteSegment") deleteSegment is ArmResourceDeleteAsync; } -@@encodedName(WorkloadNetworkSegments.create::parameters.resource, - "application/json", - "workloadNetworkSegment" -); @@clientName(WorkloadNetworkSegments.create::parameters.resource, "workloadNetworkSegment" ); -@@OpenAPI.extension(WorkloadNetworkSegments.create::parameters.resource, - "x-ms-client-name", - "workloadNetworkSegment" -); - -@@encodedName(WorkloadNetworkSegments.update::parameters.properties, - "application/json", - "workloadNetworkSegment" -); @@clientName(WorkloadNetworkSegments.update::parameters.properties, - "application/json", - "workloadNetworkSegment" -); -@@OpenAPI.extension(WorkloadNetworkSegments.update::parameters.properties, - "x-ms-client-name", "workloadNetworkSegment" ); #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" // @armResourceOperations interface WorkloadNetworkDhcpConfigurations { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_ListDhcp") list is ArmResourceListByParent< WorkloadNetworkDhcp, @@ -399,7 +335,7 @@ interface WorkloadNetworkDhcpConfigurations { >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "DhcpIdParameter should be last, but it is breaking to correct it." - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_GetDhcp") // get is ArmResourceRead; @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dhcpConfigurations/{dhcpId}") @@ -411,7 +347,7 @@ interface WorkloadNetworkDhcpConfigurations { ...PrivateCloudNameParameter, ): ArmResponse | ErrorResponse; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." #suppress "@azure-tools/typespec-azure-core/invalid-final-state" "MUST CHANGE ON NEXT UPDATE" @operationId("WorkloadNetworks_CreateDhcp") @Azure.Core.useFinalStateVia("azure-async-operation") @@ -420,64 +356,38 @@ interface WorkloadNetworkDhcpConfigurations { LroHeaders = Azure.Core.Foundations.RetryAfterHeader >; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_UpdateDhcp") @parameterVisibility update is ArmCustomPatchAsync; #suppress "deprecated" #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_DeleteDhcp") delete is ArmResourceDeleteAsync; } -@@encodedName(WorkloadNetworkDhcpConfigurations.create::parameters.resource, - "application/json", - "workloadNetworkDhcp" -); @@clientName(WorkloadNetworkDhcpConfigurations.create::parameters.resource, "workloadNetworkDhcp" ); -@@OpenAPI.extension(WorkloadNetworkDhcpConfigurations.create::parameters.resource, - "x-ms-client-name", - "workloadNetworkDhcp" -); - -@@encodedName(WorkloadNetworkDhcpConfigurations.update::parameters.properties, - "application/json", - "workloadNetworkDhcp" -); @@clientName(WorkloadNetworkDhcpConfigurations.update::parameters.properties, "workloadNetworkDhcp" ); -@@OpenAPI.extension(WorkloadNetworkDhcpConfigurations.update::parameters.properties, - "x-ms-client-name", - "workloadNetworkDhcp" -); - -@@encodedName(WorkloadNetworkDhcpConfigurations.update::parameters.properties, - "application/json", - "workloadNetworkDhcp" -); @@clientName(WorkloadNetworkDhcpConfigurations.update::parameters.properties, "workloadNetworkDhcp" ); -@@OpenAPI.extension(WorkloadNetworkDhcpConfigurations.update::parameters.properties, - "x-ms-client-name", - "workloadNetworkDhcp" -); @armResourceOperations interface WorkloadNetworkGateways { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_ListGateways") list is ArmResourceListByParent< WorkloadNetworkGateway, Response = ArmResponse> >; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_GetGateway") get is ArmResourceRead; } @@ -487,18 +397,18 @@ interface WorkloadNetworkGateways { // @armResourceOperations @doc("Workload Network Port Mirroring Profiles") interface WorkloadNetworkPortMirroringProfiles { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_ListPortMirroring") list is ArmResourceListByParent< WorkloadNetworkPortMirroring, Response = ArmResponse> >; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_GetPortMirroring") get is ArmResourceRead; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." #suppress "@azure-tools/typespec-azure-core/invalid-final-state" "MUST CHANGE ON NEXT UPDATE" @operationId("WorkloadNetworks_CreatePortMirroring") @Azure.Core.useFinalStateVia("azure-async-operation") @@ -507,7 +417,7 @@ interface WorkloadNetworkPortMirroringProfiles { LroHeaders = Azure.Core.Foundations.RetryAfterHeader >; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_UpdatePortMirroring") @parameterVisibility update is ArmCustomPatchAsync< @@ -516,7 +426,8 @@ interface WorkloadNetworkPortMirroringProfiles { >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "PortMirroringProfileParameter should be last, but it is breaking to correct it." - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @operationId("WorkloadNetworks_DeletePortMirroring") // delete is ArmResourceDeleteAsync; @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/portMirroringProfiles/{portMirroringId}") @@ -540,47 +451,31 @@ interface WorkloadNetworkPortMirroringProfiles { | ErrorResponse; } -@@encodedName(WorkloadNetworkPortMirroringProfiles.create::parameters.resource, - "application/json", - "workloadNetworkPortMirroring" -); @@clientName(WorkloadNetworkPortMirroringProfiles.create::parameters.resource, "workloadNetworkPortMirroring" ); -@@OpenAPI.extension(WorkloadNetworkPortMirroringProfiles.create::parameters.resource, - "x-ms-client-name", - "workloadNetworkPortMirroring" -); -@@encodedName(WorkloadNetworkPortMirroringProfiles.update::parameters.properties, - "application/json", - "workloadNetworkPortMirroring" -); @@clientName(WorkloadNetworkPortMirroringProfiles.update::parameters.properties, "workloadNetworkPortMirroring" ); -@@OpenAPI.extension(WorkloadNetworkPortMirroringProfiles.update::parameters.properties, - "x-ms-client-name", - "workloadNetworkPortMirroring" -); #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" // @armResourceOperations @doc("Workload Network VM Groups") interface WorkloadNetworkVmGroups { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_ListVMGroups") list is ArmResourceListByParent< WorkloadNetworkVMGroup, Response = ArmResponse> >; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_GetVMGroup") get is ArmResourceRead; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." #suppress "@azure-tools/typespec-azure-core/invalid-final-state" "MUST CHANGE ON NEXT UPDATE" @operationId("WorkloadNetworks_CreateVMGroup") @Azure.Core.useFinalStateVia("azure-async-operation") @@ -589,13 +484,13 @@ interface WorkloadNetworkVmGroups { LroHeaders = Azure.Core.Foundations.RetryAfterHeader >; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_UpdateVMGroup") @parameterVisibility update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "VmGroupIdParameter should be last, but it is breaking to correct it." - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_DeleteVMGroup") // delete is ArmResourceDeleteAsync; @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/vmGroups/{vmGroupId}") @@ -619,34 +514,17 @@ interface WorkloadNetworkVmGroups { | ErrorResponse; } -@@encodedName(WorkloadNetworkVmGroups.create::parameters.resource, - "application/json", - "workloadNetworkVMGroup" -); @@clientName(WorkloadNetworkVmGroups.create::parameters.resource, - "application/json", - "workloadNetworkVMGroup" -); -@@OpenAPI.extension(WorkloadNetworkVmGroups.create::parameters.resource, - "x-ms-client-name", "workloadNetworkVMGroup" ); -@@encodedName(WorkloadNetworkVmGroups.update::parameters.properties, - "application/json", - "workloadNetworkVMGroup" -); @@clientName(WorkloadNetworkVmGroups.update::parameters.properties, "workloadNetworkVMGroup" ); -@@OpenAPI.extension(WorkloadNetworkVmGroups.update::parameters.properties, - "x-ms-client-name", - "workloadNetworkVMGroup" -); @armResourceOperations interface WorkloadNetworkVirtualMachines { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_ListVirtualMachines") list is ArmResourceListByParent< WorkloadNetworkVirtualMachine, @@ -656,7 +534,7 @@ interface WorkloadNetworkVirtualMachines { >> >; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_GetVirtualMachine") get is ArmResourceRead; } @@ -666,7 +544,7 @@ interface WorkloadNetworkVirtualMachines { // @armResourceOperations @doc("Workload Network Dns Services") interface WorkloadNetworkDnsServices { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_ListDnsServices") list is ArmResourceListByParent< WorkloadNetworkDnsService, @@ -676,11 +554,11 @@ interface WorkloadNetworkDnsServices { >> >; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_GetDnsService") get is ArmResourceRead; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." #suppress "@azure-tools/typespec-azure-core/invalid-final-state" "MUST CHANGE ON NEXT UPDATE" @operationId("WorkloadNetworks_CreateDnsService") @Azure.Core.useFinalStateVia("azure-async-operation") @@ -689,7 +567,7 @@ interface WorkloadNetworkDnsServices { LroHeaders = Azure.Core.Foundations.RetryAfterHeader >; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_UpdateDnsService") @parameterVisibility update is ArmCustomPatchAsync< @@ -698,7 +576,7 @@ interface WorkloadNetworkDnsServices { >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "DnsServiceIdParameter should be last, but it is breaking to correct it." - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_DeleteDnsService") // delete is ArmResourceDeleteAsync; @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsServices/{dnsServiceId}") @@ -722,47 +600,31 @@ interface WorkloadNetworkDnsServices { | ErrorResponse; } -@@encodedName(WorkloadNetworkDnsServices.create::parameters.resource, - "application/json", - "workloadNetworkDnsService" -); @@clientName(WorkloadNetworkDnsServices.create::parameters.resource, "workloadNetworkDnsService" ); -@@OpenAPI.extension(WorkloadNetworkDnsServices.create::parameters.resource, - "x-ms-client-name", - "workloadNetworkDnsService" -); -@@encodedName(WorkloadNetworkDnsServices.update::parameters.properties, - "application/json", - "workloadNetworkDnsService" -); @@clientName(WorkloadNetworkDnsServices.update::parameters.properties, "workloadNetworkDnsService" ); -@@OpenAPI.extension(WorkloadNetworkDnsServices.update::parameters.properties, - "x-ms-client-name", - "workloadNetworkDnsService" -); #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" // @armResourceOperations @doc("Workload Network DNS Zones") interface WorkloadNetworkDnsZones { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_ListDnsZones") list is ArmResourceListByParent< WorkloadNetworkDnsZone, Response = ArmResponse> >; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_GetDnsZone") get is ArmResourceRead; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." #suppress "@azure-tools/typespec-azure-core/invalid-final-state" "MUST CHANGE ON NEXT UPDATE" @operationId("WorkloadNetworks_CreateDnsZone") @Azure.Core.useFinalStateVia("azure-async-operation") @@ -771,13 +633,13 @@ interface WorkloadNetworkDnsZones { LroHeaders = Azure.Core.Foundations.RetryAfterHeader >; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_UpdateDnsZone") @parameterVisibility update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "DnsZoneIdParameter should be last, but it is breaking to correct it." - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_DeleteDnsZone") // delete is ArmResourceDeleteAsync; @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/dnsZones/{dnsZoneId}") @@ -801,46 +663,29 @@ interface WorkloadNetworkDnsZones { | ErrorResponse; } -@@encodedName(WorkloadNetworkDnsZones.create::parameters.resource, - "application/json", - "workloadNetworkDnsZone" -); @@clientName(WorkloadNetworkDnsZones.create::parameters.resource, "workloadNetworkDnsZone" ); -@@OpenAPI.extension(WorkloadNetworkDnsZones.create::parameters.resource, - "x-ms-client-name", - "workloadNetworkDnsZone" -); - -@@encodedName(WorkloadNetworkDnsZones.update::parameters.properties, - "application/json", - "workloadNetworkDnsZone" -); @@clientName(WorkloadNetworkDnsZones.update::parameters.properties, "workloadNetworkDnsZone" ); -@@OpenAPI.extension(WorkloadNetworkDnsZones.update::parameters.properties, - "x-ms-client-name", - "workloadNetworkDnsZone" -); #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-interface-requires-decorator" #suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" // @armResourceOperations interface WorkloadNetworkPublicIps { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_ListPublicIPs") list is ArmResourceListByParent< WorkloadNetworkPublicIP, Response = ArmResponse> >; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_GetPublicIP") get is ArmResourceRead; - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." #suppress "@azure-tools/typespec-azure-core/invalid-final-state" "MUST CHANGE ON NEXT UPDATE" @operationId("WorkloadNetworks_CreatePublicIP") @Azure.Core.useFinalStateVia("azure-async-operation") @@ -850,7 +695,7 @@ interface WorkloadNetworkPublicIps { >; #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" "PublicIPIdParameter should be last, but it is breaking to correct it." - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("WorkloadNetworks_DeletePublicIP") // delete is ArmResourceDeleteAsync; @route("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AVS/privateClouds/{privateCloudName}/workloadNetworks/default/publicIPs/{publicIPId}") @@ -874,21 +719,13 @@ interface WorkloadNetworkPublicIps { | ErrorResponse; } -@@encodedName(WorkloadNetworkPublicIps.create::parameters.resource, - "application/json", - "workloadNetworkPublicIP" -); @@clientName(WorkloadNetworkPublicIps.create::parameters.resource, "workloadNetworkPublicIP" ); -@@OpenAPI.extension(WorkloadNetworkPublicIps.create::parameters.resource, - "x-ms-client-name", - "workloadNetworkPublicIP" -); @armResourceOperations interface CloudLinks { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("CloudLinks_List") list is ArmResourceListByParent< CloudLink, @@ -909,19 +746,11 @@ interface CloudLinks { delete is ArmResourceDeleteAsync; } -@@encodedName(CloudLinks.createOrUpdate::parameters.resource, - "application/json", - "cloudLink" -); @@clientName(CloudLinks.createOrUpdate::parameters.resource, "cloudLink"); -@@OpenAPI.extension(CloudLinks.createOrUpdate::parameters.resource, - "x-ms-client-name", - "cloudLink" -); @armResourceOperations interface Addons { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("Addons_List") list is ArmResourceListByParent< Addon, @@ -942,19 +771,11 @@ interface Addons { delete is ArmResourceDeleteAsync; } -@@encodedName(Addons.createOrUpdate::parameters.resource, - "application/json", - "addon" -); @@clientName(Addons.createOrUpdate::parameters.resource, "addon"); -@@OpenAPI.extension(Addons.createOrUpdate::parameters.resource, - "x-ms-client-name", - "addon" -); @armResourceOperations interface VirtualMachines { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("VirtualMachines_List") list is ArmResourceListByParent< VirtualMachine, @@ -964,6 +785,7 @@ interface VirtualMachines { get is ArmResourceRead; // restrictMovement should be a ArmResourceActionNoContentAsync, but does not respond with a 204. + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @doc("Enable or disable DRS-driven VM movement restriction") @armResourceAction(Location) @post @@ -979,7 +801,7 @@ interface VirtualMachines { @armResourceOperations interface PlacementPolicies { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("PlacementPolicies_List") list is ArmResourceListByParent< PlacementPolicy, @@ -1001,6 +823,7 @@ interface PlacementPolicies { // 202 response has a body, but it should not to match ArmCustomPatchAsync. // update is ArmCustomPatchAsync; #suppress "@azure-tools/typespec-azure-resource-manager/no-response-body" + #suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @doc("Update a PlacementPolicy") @extension("x-ms-long-running-operation", true) @extension( @@ -1032,21 +855,13 @@ interface PlacementPolicies { delete is ArmResourceDeleteAsync; } -@@encodedName(PlacementPolicies.createOrUpdate::parameters.resource, - "application/json", - "placementPolicy" -); @@clientName(PlacementPolicies.createOrUpdate::parameters.resource, "placementPolicy" ); -@@OpenAPI.extension(PlacementPolicies.createOrUpdate::parameters.resource, - "x-ms-client-name", - "placementPolicy" -); @armResourceOperations interface ScriptPackages { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("ScriptPackages_List") list is ArmResourceListByParent< ScriptPackage, @@ -1058,7 +873,7 @@ interface ScriptPackages { @armResourceOperations interface ScriptCmdlets { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("ScriptCmdlets_List") list is ArmResourceListByParent< ScriptCmdlet, @@ -1070,7 +885,7 @@ interface ScriptCmdlets { @armResourceOperations interface ScriptExecutions { - #suppress "@azure-tools/typespec-azure-core/no-operation-id" "Can not change existing operationId." + #suppress "@azure-tools/typespec-azure-core/no-openapi" "Can not change existing operationId." @operationId("ScriptExecutions_List") list is ArmResourceListByParent< ScriptExecution, @@ -1104,17 +919,9 @@ interface ScriptExecutions { ): ArmResponse | ErrorResponse; } -@@encodedName(ScriptExecutions.createOrUpdate::parameters.resource, - "application/json", - "scriptExecution" -); @@clientName(ScriptExecutions.createOrUpdate::parameters.resource, "scriptExecution" ); -@@OpenAPI.extension(ScriptExecutions.createOrUpdate::parameters.resource, - "x-ms-client-name", - "scriptExecution" -); @doc("The location envelope.") model LocationHeader { @@ -1173,6 +980,7 @@ op ArmResourceActionNoContentAsyncNoRequestBody< // Just like ArmResourceActionAsyncBase, but with no request body. #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-operation" #suppress "@azure-tools/typespec-azure-core/documentation-required" "MUST fix in next update" +#suppress "@azure-tools/typespec-azure-core/no-openapi" "DO NOT COPY - TODO migrate to LRO apis" @autoRoute @extension("x-ms-long-running-operation", true) @extension( diff --git a/specification/vmware/Microsoft.AVS.Management/tspconfig.yaml b/specification/vmware/Microsoft.AVS.Management/tspconfig.yaml index 8ec13f966d18..2b13bef02013 100644 --- a/specification/vmware/Microsoft.AVS.Management/tspconfig.yaml +++ b/specification/vmware/Microsoft.AVS.Management/tspconfig.yaml @@ -14,7 +14,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/vmware.json" omit-unreachable-types: true use-read-only-status-schema: true diff --git a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json index 4ff2783afb3d..c6e32ad6db6b 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json +++ b/specification/vmware/resource-manager/Microsoft.AVS/stable/2023-09-01/vmware.json @@ -394,8 +394,7 @@ "required": true, "schema": { "$ref": "#/definitions/PrivateCloud" - }, - "x-ms-client-name": "privateCloud" + } } ], "responses": { @@ -732,8 +731,7 @@ "required": true, "schema": { "$ref": "#/definitions/Addon" - }, - "x-ms-client-name": "addon" + } } ], "responses": { @@ -997,8 +995,7 @@ "required": true, "schema": { "$ref": "#/definitions/ExpressRouteAuthorization" - }, - "x-ms-client-name": "authorization" + } } ], "responses": { @@ -1253,8 +1250,7 @@ "required": true, "schema": { "$ref": "#/definitions/CloudLink" - }, - "x-ms-client-name": "cloudLink" + } } ], "responses": { @@ -1509,8 +1505,7 @@ "required": true, "schema": { "$ref": "#/definitions/Cluster" - }, - "x-ms-client-name": "cluster" + } } ], "responses": { @@ -1872,8 +1867,7 @@ "required": true, "schema": { "$ref": "#/definitions/Datastore" - }, - "x-ms-client-name": "datastore" + } } ], "responses": { @@ -2218,8 +2212,7 @@ "required": true, "schema": { "$ref": "#/definitions/PlacementPolicy" - }, - "x-ms-client-name": "placementPolicy" + } } ], "responses": { @@ -2778,8 +2771,7 @@ "required": true, "schema": { "$ref": "#/definitions/GlobalReachConnection" - }, - "x-ms-client-name": "globalReachConnection" + } } ], "responses": { @@ -3034,8 +3026,7 @@ "required": true, "schema": { "$ref": "#/definitions/HcxEnterpriseSite" - }, - "x-ms-client-name": "hcxEnterpriseSite" + } } ], "responses": { @@ -3663,8 +3654,7 @@ "required": true, "schema": { "$ref": "#/definitions/ScriptExecution" - }, - "x-ms-client-name": "scriptExecution" + } } ], "responses": { @@ -4290,8 +4280,7 @@ "required": true, "schema": { "$ref": "#/definitions/WorkloadNetworkDhcp" - }, - "x-ms-client-name": "workloadNetworkDhcp" + } } ], "responses": { @@ -4367,8 +4356,7 @@ "required": true, "schema": { "$ref": "#/definitions/WorkloadNetworkDhcp" - }, - "x-ms-client-name": "workloadNetworkDhcp" + } } ], "responses": { @@ -4612,8 +4600,7 @@ "required": true, "schema": { "$ref": "#/definitions/WorkloadNetworkDnsService" - }, - "x-ms-client-name": "workloadNetworkDnsService" + } } ], "responses": { @@ -4689,8 +4676,7 @@ "required": true, "schema": { "$ref": "#/definitions/WorkloadNetworkDnsService" - }, - "x-ms-client-name": "workloadNetworkDnsService" + } } ], "responses": { @@ -4924,8 +4910,7 @@ "required": true, "schema": { "$ref": "#/definitions/WorkloadNetworkDnsZone" - }, - "x-ms-client-name": "workloadNetworkDnsZone" + } } ], "responses": { @@ -5001,8 +4986,7 @@ "required": true, "schema": { "$ref": "#/definitions/WorkloadNetworkDnsZone" - }, - "x-ms-client-name": "workloadNetworkDnsZone" + } } ], "responses": { @@ -5341,8 +5325,7 @@ "required": true, "schema": { "$ref": "#/definitions/WorkloadNetworkPortMirroring" - }, - "x-ms-client-name": "workloadNetworkPortMirroring" + } } ], "responses": { @@ -5418,8 +5401,7 @@ "required": true, "schema": { "$ref": "#/definitions/WorkloadNetworkPortMirroring" - }, - "x-ms-client-name": "workloadNetworkPortMirroring" + } } ], "responses": { @@ -5653,8 +5635,7 @@ "required": true, "schema": { "$ref": "#/definitions/WorkloadNetworkPublicIP" - }, - "x-ms-client-name": "workloadNetworkPublicIP" + } } ], "responses": { @@ -5896,8 +5877,7 @@ "required": true, "schema": { "$ref": "#/definitions/WorkloadNetworkSegment" - }, - "x-ms-client-name": "workloadNetworkSegment" + } } ], "responses": { @@ -5976,8 +5956,7 @@ "required": true, "schema": { "$ref": "#/definitions/WorkloadNetworkSegment" - }, - "x-ms-client-name": "workloadNetworkSegment" + } } ], "responses": { @@ -6329,8 +6308,7 @@ "required": true, "schema": { "$ref": "#/definitions/WorkloadNetworkVMGroup" - }, - "x-ms-client-name": "workloadNetworkVMGroup" + } } ], "responses": { @@ -6406,8 +6384,7 @@ "required": true, "schema": { "$ref": "#/definitions/WorkloadNetworkVMGroup" - }, - "x-ms-client-name": "workloadNetworkVMGroup" + } } ], "responses": { diff --git a/specification/voiceservices/VoiceServices.Provisioning/main.tsp b/specification/voiceservices/VoiceServices.Provisioning/main.tsp index efc60718c9a6..119620699173 100644 --- a/specification/voiceservices/VoiceServices.Provisioning/main.tsp +++ b/specification/voiceservices/VoiceServices.Provisioning/main.tsp @@ -955,22 +955,11 @@ interface TeamsRequestsForInformation { @get @readsResource(NumberResource) @doc("List all the Numbers associated with this Communications Gateway.") -@OpenAPI.extension( - "x-ms-pageable", - { - nextLinkName: "nextLink", - } -) op listNumbers is RpcOperation< { ...StandardListQueryParameters; ...FilterQueryParameter; ...RecordCountQueryParameter; }, - { - @statusCode statusCode: 200; - @header contentType: "application/json"; - @bodyRoot success: PagedNumberList; - ...CountOfRecordsHeader; - } + PagedNumberList & CountOfRecordsHeader >; diff --git a/specification/voiceservices/VoiceServices.Provisioning/tspconfig.yaml b/specification/voiceservices/VoiceServices.Provisioning/tspconfig.yaml index 203ad187961a..d53a5b0ceca2 100644 --- a/specification/voiceservices/VoiceServices.Provisioning/tspconfig.yaml +++ b/specification/voiceservices/VoiceServices.Provisioning/tspconfig.yaml @@ -12,7 +12,6 @@ options: azure-resource-provider-folder: "data-plane" emit-lro-options: "none" emitter-output-dir: "{project-root}/.." - examples-directory: "{project-root}/examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/swagger.json" "@azure-tools/typespec-csharp": package-dir: "Microsoft.VoiceServices.Provisioning" diff --git a/specification/workloads/Workloads.Operations.Management/tspconfig.yaml b/specification/workloads/Workloads.Operations.Management/tspconfig.yaml index 7bfd4bf58b80..ce55d803eae4 100644 --- a/specification/workloads/Workloads.Operations.Management/tspconfig.yaml +++ b/specification/workloads/Workloads.Operations.Management/tspconfig.yaml @@ -9,7 +9,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/operations/{version-status}/{version}/operations.json" - examples-directory: "{project-root}/examples" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/workloads/Workloads.SAPDiscoverySite.Management/models.tsp b/specification/workloads/Workloads.SAPDiscoverySite.Management/models.tsp index 9d7b42337247..06baba790789 100644 --- a/specification/workloads/Workloads.SAPDiscoverySite.Management/models.tsp +++ b/specification/workloads/Workloads.SAPDiscoverySite.Management/models.tsp @@ -1,3 +1,5 @@ +import "@azure-tools/typespec-client-generator-core"; + using TypeSpec.Rest; using TypeSpec.Http; using TypeSpec.OpenAPI; @@ -199,7 +201,8 @@ model SAPMigrateError { /** * The SAP Discovery site resource error body. */ - @extension("x-ms-client-flatten", true) + #suppress "deprecated" "Legacy flatten" + @Azure.ClientGenerator.Core.flattenProperty properties?: ErrorDefinition; } diff --git a/specification/workloads/Workloads.SAPDiscoverySite.Management/tspconfig.yaml b/specification/workloads/Workloads.SAPDiscoverySite.Management/tspconfig.yaml index b3363d9805d0..da7593940104 100644 --- a/specification/workloads/Workloads.SAPDiscoverySite.Management/tspconfig.yaml +++ b/specification/workloads/Workloads.SAPDiscoverySite.Management/tspconfig.yaml @@ -9,7 +9,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/SAPDiscoverySites/{version-status}/{version}/SAPDiscoverySites.json" - examples-directory: "{project-root}/examples" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/workloads/Workloads.SAPMonitor.Management/tspconfig.yaml b/specification/workloads/Workloads.SAPMonitor.Management/tspconfig.yaml index 477dfed0d31b..32232bbb92fd 100644 --- a/specification/workloads/Workloads.SAPMonitor.Management/tspconfig.yaml +++ b/specification/workloads/Workloads.SAPMonitor.Management/tspconfig.yaml @@ -10,7 +10,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/monitors/{version-status}/{version}/monitors.json" - examples-directory: "{project-root}/examples" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml b/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml index 159a8d7a302c..78a474392441 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml @@ -10,7 +10,6 @@ options: # `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag arm-resource-flattening: true output-file: "{azure-resource-provider-folder}/{service-name}/SAPVirtualInstance/{version-status}/{version}/SAPVirtualInstance.json" - examples-directory: "{project-root}/examples" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager"