diff --git a/package-lock.json b/package-lock.json index 172d3e5144d6..4ffc67a104ae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,13 +12,13 @@ "@azure-tools/cadl-azure-resource-manager": "0.26.0", "@azure-tools/cadl-providerhub": "0.26.0", "@azure-tools/typespec-apiview": "0.4.4", - "@azure-tools/typespec-autorest": "0.30.1", - "@azure-tools/typespec-azure-core": "0.30.1", - "@azure-tools/typespec-azure-resource-manager": "0.30.0", - "@azure-tools/typespec-providerhub": "0.30.0", + "@azure-tools/typespec-autorest": "0.31.0", + "@azure-tools/typespec-azure-core": "0.31.0", + "@azure-tools/typespec-azure-resource-manager": "0.31.0", + "@azure-tools/typespec-providerhub": "0.31.0", "@azure/avocado": "^0.8.4", "@types/prettier": "^2.7.2", - "@typespec/compiler": "0.44.0", + "@typespec/compiler": "0.45.0", "prettier": "^2.8.8", "typescript": "~5.0.4" } @@ -138,77 +138,77 @@ } }, "node_modules/@azure-tools/typespec-autorest": { - "version": "0.30.1", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-autorest/-/typespec-autorest-0.30.1.tgz", - "integrity": "sha512-AIYRhurwNFtoIYxJDEWLl5xB3sg+8a7pUdpahsxHmy0dGd3Dwrwm0OT1eJNjtBhNbdKLKgnmbEJ+sbPL47VnCQ==", + "version": "0.31.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-autorest/-/typespec-autorest-0.31.0.tgz", + "integrity": "sha512-l/C4HyGr0ByC7FnlsoorXDIp46pbDxVPbq59XNX9sKJJ8p2297BJv7FdPlLi0BXGjEmzy93Ag4hoH9H/u54AhQ==", "dev": true, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "~0.30.1", - "@typespec/compiler": "~0.44.0", - "@typespec/http": "~0.44.0", - "@typespec/openapi": "~0.44.0", - "@typespec/rest": "~0.44.0", - "@typespec/versioning": "~0.44.0" + "@azure-tools/typespec-azure-core": "~0.31.0", + "@typespec/compiler": "~0.45.0", + "@typespec/http": "~0.45.0", + "@typespec/openapi": "~0.45.0", + "@typespec/rest": "~0.45.0", + "@typespec/versioning": "~0.45.0" } }, "node_modules/@azure-tools/typespec-azure-core": { - "version": "0.30.1", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.30.1.tgz", - "integrity": "sha512-FvdsQrxyAxBfC0lmF2qdWmQklFO/CDpuCWTNfPjiVnokkZM9IDiln3YA2SeZjrQXQR4tSLaJVlUTm7ML7S/65Q==", + "version": "0.31.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.31.0.tgz", + "integrity": "sha512-sfJyRKGzQeBAm0Tw/CWFnWnHnxZDVbkXXLHeLb76VbRwkAu1P65eENRXXQTkUX5+PxnQH7qU/3MD5WT42AFsyA==", "dev": true, "dependencies": { - "@typespec/lint": "~0.44.0" + "@typespec/lint": "~0.45.0" }, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.44.0", - "@typespec/http": "~0.44.0", - "@typespec/rest": "~0.44.0" + "@typespec/compiler": "~0.45.0", + "@typespec/http": "~0.45.0", + "@typespec/rest": "~0.45.0" } }, "node_modules/@azure-tools/typespec-azure-resource-manager": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-resource-manager/-/typespec-azure-resource-manager-0.30.0.tgz", - "integrity": "sha512-buw+lHLGIxqaJZsok/idTRyt3l7CAwpjK/wQ9TW18tRF8ukoHv4ai1y+kU8xiZfbRzkuXJQD4PaR2xp+7eTjqQ==", + "version": "0.31.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-resource-manager/-/typespec-azure-resource-manager-0.31.0.tgz", + "integrity": "sha512-3z+mFZZxzuw5Y1Ma+AmlYtr+UvBCCOYesD9K7NPHiAfWpPQsgMJM3TbGpjUk5GD6ID1RzBjQfDJ52ittpMNrmQ==", "dev": true, "dependencies": { - "@typespec/lint": "~0.44.0" + "@typespec/lint": "~0.45.0" }, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@azure-tools/typespec-autorest": "~0.30.0", - "@azure-tools/typespec-azure-core": "~0.30.0", - "@typespec/compiler": "~0.44.0", - "@typespec/http": "~0.44.0", - "@typespec/openapi": "~0.44.0", - "@typespec/rest": "~0.44.0", - "@typespec/versioning": "~0.44.0" + "@azure-tools/typespec-autorest": "~0.31.0", + "@azure-tools/typespec-azure-core": "~0.31.0", + "@typespec/compiler": "~0.45.0", + "@typespec/http": "~0.45.0", + "@typespec/openapi": "~0.45.0", + "@typespec/rest": "~0.45.0", + "@typespec/versioning": "~0.45.0" } }, "node_modules/@azure-tools/typespec-providerhub": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-providerhub/-/typespec-providerhub-0.30.0.tgz", - "integrity": "sha512-QuowwwF4zSsyutFigI/B0+ef/JJ7eOqvTxvbPq/nj0RIc/YSPFiFWh1KfuiJCG5K1MJRunB+8rD3TnV3xXcYxQ==", + "version": "0.31.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-providerhub/-/typespec-providerhub-0.31.0.tgz", + "integrity": "sha512-96tx3wKl9hHk1mS8HgFY1Bs9yO95dMJilGrdORi/UNdv5GZLlYu7OOqH5HAcGVmxjcvBvKOCvCqmrhCz46boYQ==", "dev": true, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@azure-tools/typespec-autorest": "~0.30.0", - "@azure-tools/typespec-azure-core": "~0.30.0", - "@azure-tools/typespec-azure-resource-manager": "~0.30.0", - "@typespec/compiler": "~0.44.0", - "@typespec/http": "~0.44.0", - "@typespec/openapi": "~0.44.0", - "@typespec/rest": "~0.44.0", - "@typespec/versioning": "~0.44.0" + "@azure-tools/typespec-autorest": "~0.31.0", + "@azure-tools/typespec-azure-core": "~0.31.0", + "@azure-tools/typespec-azure-resource-manager": "~0.31.0", + "@typespec/compiler": "~0.45.0", + "@typespec/http": "~0.45.0", + "@typespec/openapi": "~0.45.0", + "@typespec/rest": "~0.45.0", + "@typespec/versioning": "~0.45.0" } }, "node_modules/@azure/avocado": { @@ -783,9 +783,9 @@ "dev": true }, "node_modules/@ts-common/virtual-fs/node_modules/node-fetch": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.9.tgz", - "integrity": "sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==", + "version": "2.6.11", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.11.tgz", + "integrity": "sha512-4I6pdBY1EthSqDmJkiNk3JIT8cswwR9nfeW/cPdUagJYEQG7R95WRH74wpz7ma8Gh/9dI9FP+OU+0E4FvtA55w==", "dev": true, "dependencies": { "whatwg-url": "^5.0.0" @@ -824,9 +824,9 @@ "dev": true }, "node_modules/@types/node-fetch": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.3.tgz", - "integrity": "sha512-ETTL1mOEdq/sxUtgtOhKjyB2Irra4cjxksvcMUR5Zr4n+PxVhsCD9WS46oPbHL3et9Zde7CNRr+WUNlcHvsX+w==", + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.4.tgz", + "integrity": "sha512-1ZX9fcN4Rvkvgv4E6PAY5WXUFWFcRWxZa3EW83UjycOB9ljJCedb2CupIP4RZMEwF/M3eTcCihbBRgwtGbg5Rg==", "dev": true, "dependencies": { "@types/node": "*", @@ -834,9 +834,9 @@ } }, "node_modules/@types/prettier": { - "version": "2.7.2", - "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.2.tgz", - "integrity": "sha512-KufADq8uQqo1pYKVIYzfKbJfBAc0sOeXqGbFaSpv8MRmC/zXgowNZmFcbngndGk922QDmOASEXUZCaY48gs4cg==", + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.3.tgz", + "integrity": "sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==", "dev": true }, "node_modules/@types/retry": { @@ -846,9 +846,9 @@ "dev": true }, "node_modules/@typespec/compiler": { - "version": "0.44.0", - "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-0.44.0.tgz", - "integrity": "sha512-NESRujXwHHhJZsHn+Bf4zOlJ2eTJB/oYRIFMqV7lAOut3OILngQfmO3iVLpTVrHjwgrUdetU1GXt1Ref3rmATA==", + "version": "0.45.0", + "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-0.45.0.tgz", + "integrity": "sha512-5fYU2kEEYQ+Z8pIqUMNTb3lFkrgoqgWTa3EgHoeUAcNHjxMVvL/EhnFuGcixYFJuRSD8Z42J5u88lRoXVvOmbQ==", "dev": true, "dependencies": { "@babel/code-frame": "~7.21.4", @@ -858,7 +858,6 @@ "js-yaml": "~4.1.0", "mkdirp": "~2.1.6", "mustache": "~4.2.0", - "node-fetch": "3.2.8", "node-watch": "~0.7.1", "picocolors": "~1.0.0", "prettier": "~2.8.7", @@ -983,24 +982,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@typespec/compiler/node_modules/node-fetch": { - "version": "3.2.8", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.2.8.tgz", - "integrity": "sha512-KtpD1YhGszhntMpBDyp5lyagk8KIMopC1LEb7cQUAh7zcosaX5uK8HnbNb2i3NTQK3sIawCItS0uFC3QzcLHdg==", - "dev": true, - "dependencies": { - "data-uri-to-buffer": "^4.0.0", - "fetch-blob": "^3.1.4", - "formdata-polyfill": "^4.0.10" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/node-fetch" - } - }, "node_modules/@typespec/compiler/node_modules/vscode-jsonrpc": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.1.0.tgz", @@ -1092,69 +1073,69 @@ } }, "node_modules/@typespec/http": { - "version": "0.44.0", - "resolved": "https://registry.npmjs.org/@typespec/http/-/http-0.44.0.tgz", - "integrity": "sha512-isIcg0/fidnbUeSp9qX1ir5XXThrKrdhwXle1Y4f+sR0DcTf4gJSEesjiZkV+Ea7u5nHjJ3/f+/Stp6XyuwOZw==", + "version": "0.45.0", + "resolved": "https://registry.npmjs.org/@typespec/http/-/http-0.45.0.tgz", + "integrity": "sha512-D9B+CzDqoIvlerQL5R7k367R5pwvX5Ic/6YE3bkMzfq9G40TRz5ExpOf+ASmgRbKrWjm/0ppdE4IlRMCI6qFmA==", "dev": true, "peer": true, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.44.0" + "@typespec/compiler": "~0.45.0" } }, "node_modules/@typespec/lint": { - "version": "0.44.0", - "resolved": "https://registry.npmjs.org/@typespec/lint/-/lint-0.44.0.tgz", - "integrity": "sha512-IEmaP7+PLDQOeZPqwH0XZe+Llt1P/SUzIj4zLEARBaAbBSGmekwUrXRlwrrDyZEPmmsnuIRuZNuXolG+REUh5g==", + "version": "0.45.0", + "resolved": "https://registry.npmjs.org/@typespec/lint/-/lint-0.45.0.tgz", + "integrity": "sha512-dACuEDQD1CFLftiKIcbWrARMb7lKEXMKE+GzsSa39Xogxv4FH6wc932tPwcMXXTdpfDO2dWUoquEcvXHxUAYKQ==", "dev": true, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.44.0" + "@typespec/compiler": "~0.45.0" } }, "node_modules/@typespec/openapi": { - "version": "0.44.0", - "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-0.44.0.tgz", - "integrity": "sha512-uZ8rZ4cIWDsBKGbmUODu5HjAimnePmajQ5xO5QJGji9E/nK8LuEsJEnQA/qXaahEbiZTwZCH5J+ooPFLbEzXEA==", + "version": "0.45.0", + "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-0.45.0.tgz", + "integrity": "sha512-6W6DMCiXb2iLH4TLgI/u8FFS5v/oBu0DZF2BER6Pzx6v5mURmYGjXiwrQ+DrkOXtqb0YLZMuDU1s9CXQe6P87Q==", "dev": true, "peer": true, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.44.0", - "@typespec/http": "~0.44.0", - "@typespec/rest": "~0.44.0" + "@typespec/compiler": "~0.45.0", + "@typespec/http": "~0.45.0", + "@typespec/rest": "~0.45.0" } }, "node_modules/@typespec/rest": { - "version": "0.44.0", - "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.44.0.tgz", - "integrity": "sha512-frHx0cKyvrtB3CST4x/38QevoSWj+anSmCDW2mvdUwV7PEkTzC5b3d0O3LDbCECT/WHp09PCkKqMEODe03xBlQ==", + "version": "0.45.0", + "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.45.0.tgz", + "integrity": "sha512-u9vFmXvoKdkffh0I2LDDPAKNpILuaxu/aaMRdLEw1Zfmes2mWDruReMjPU8piRB+hE5eDDxU4INPtudy2D61tA==", "dev": true, "peer": true, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.44.0" + "@typespec/compiler": "~0.45.0" } }, "node_modules/@typespec/versioning": { - "version": "0.44.0", - "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.44.0.tgz", - "integrity": "sha512-7Z+1wV3XM4W+QbkWFVyOsoQXtS9y4aUcpq5rbLtUCUTvI26IcTOv94b2+HbPJl2x7j3o+KYfvVLVj8fiCqxXJg==", + "version": "0.45.0", + "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.45.0.tgz", + "integrity": "sha512-Hocyi9AAuPu9az7Aw4GiWk5CUhq9CQBx8KEDVqIEBI1AvZACPNqJU02TClSyMSKWZY6V/2Gb8lxvPyNvyiF8Hw==", "dev": true, "peer": true, "engines": { "node": ">=16.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.44.0" + "@typespec/compiler": "~0.45.0" } }, "node_modules/ajv": { @@ -2267,9 +2248,9 @@ } }, "node_modules/semver": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.0.tgz", - "integrity": "sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==", + "version": "7.5.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.1.tgz", + "integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -2401,9 +2382,9 @@ "dev": true }, "node_modules/tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==", + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.3.tgz", + "integrity": "sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==", "dev": true }, "node_modules/typescript": { diff --git a/package.json b/package.json index 5accfb51aaf2..43636868648a 100644 --- a/package.json +++ b/package.json @@ -7,11 +7,11 @@ "@azure-tools/cadl-azure-resource-manager": "0.26.0", "@azure-tools/cadl-providerhub": "0.26.0", "@azure-tools/typespec-apiview": "0.4.4", - "@azure-tools/typespec-autorest": "0.30.1", - "@azure-tools/typespec-azure-core": "0.30.1", - "@azure-tools/typespec-azure-resource-manager": "0.30.0", - "@azure-tools/typespec-providerhub": "0.30.0", - "@typespec/compiler": "0.44.0", + "@azure-tools/typespec-autorest": "0.31.0", + "@azure-tools/typespec-azure-core": "0.31.0", + "@azure-tools/typespec-azure-resource-manager": "0.31.0", + "@azure-tools/typespec-providerhub": "0.31.0", + "@typespec/compiler": "0.45.0", "@azure/avocado": "^0.8.4", "@types/prettier": "^2.7.2", "prettier": "^2.8.8", 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 71ae238341c3..d7cfee0c8582 100644 --- a/specification/cognitiveservices/data-plane/AnomalyDetector/stable/v1.1/openapi.json +++ b/specification/cognitiveservices/data-plane/AnomalyDetector/stable/v1.1/openapi.json @@ -28,6 +28,7 @@ "name": "ApiVersion", "in": "path", "required": true, + "description": "Api Version", "type": "string", "enum": [ "v1.1" @@ -77,8 +78,8 @@ "in": "path", "required": true, "description": "ID of a batch detection result.", - "format": "uuid", - "type": "string" + "type": "string", + "format": "uuid" } ], "responses": { @@ -613,8 +614,8 @@ "$ref": "#/definitions/Multivariate.ErrorResponse" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.ErrorResponse[]", - "description": "Error message for the current time stamp." + "description": "Error message for the current time stamp.", + "x-typespec-name": "Multivariate.ErrorResponse[]" } }, "description": "Anomaly status and information.", @@ -649,8 +650,8 @@ "$ref": "#/definitions/Multivariate.AnomalyInterpretation" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.AnomalyInterpretation[]", - "description": "Interpretation of this anomalous time stamp." + "description": "Interpretation of this anomalous time stamp.", + "x-typespec-name": "Multivariate.AnomalyInterpretation[]" } }, "description": "Detailed information of the anomalous time stamp.", @@ -668,8 +669,8 @@ "items": { "type": "string" }, - "x-typespec-name": "string[]", - "description": "Correlated variables that have correlation changes under an anomaly." + "description": "Correlated variables that have correlation changes under an anomaly.", + "x-typespec-name": "string[]" } }, "description": "Correlation changes among the anomalous variables." @@ -711,8 +712,8 @@ "$ref": "#/definitions/Multivariate.VariableState" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.VariableState[]", - "description": "Variable status." + "description": "Variable status.", + "x-typespec-name": "Multivariate.VariableState[]" } }, "description": "Diagnostics information to help inspect the states of a model or variable." @@ -797,8 +798,8 @@ "$ref": "#/definitions/Multivariate.ErrorResponse" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.ErrorResponse[]", "description": "Error messages after failure to create a model.", + "x-typespec-name": "Multivariate.ErrorResponse[]", "readOnly": true }, "diagnosticsInfo": { @@ -823,8 +824,8 @@ "$ref": "#/definitions/Multivariate.AnomalyDetectionModel" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.AnomalyDetectionModel[]", - "description": "List of models." + "description": "List of models.", + "x-typespec-name": "Multivariate.AnomalyDetectionModel[]" }, "currentCount": { "type": "integer", @@ -857,8 +858,8 @@ "type": "integer", "format": "int32" }, - "x-typespec-name": "int32[]", - "description": "Number of passes of the entire training dataset that the\nalgorithm has completed." + "description": "Number of passes of the entire training dataset that the\nalgorithm has completed.", + "x-typespec-name": "int32[]" }, "trainLosses": { "type": "array", @@ -866,8 +867,8 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", - "description": "List of metrics used to assess how the model fits the training data for each\nepoch." + "description": "List of metrics used to assess how the model fits the training data for each\nepoch.", + "x-typespec-name": "float32[]" }, "validationLosses": { "type": "array", @@ -875,8 +876,8 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", - "description": "List of metrics used to assess how the model fits the validation set for each\nepoch." + "description": "List of metrics used to assess how the model fits the validation set for each\nepoch.", + "x-typespec-name": "float32[]" }, "latenciesInSeconds": { "type": "array", @@ -884,8 +885,8 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", - "description": "Latency for each epoch." + "description": "Latency for each epoch.", + "x-typespec-name": "float32[]" } }, "description": "Model status." @@ -970,8 +971,8 @@ "$ref": "#/definitions/Multivariate.ErrorResponse" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.ErrorResponse[]", - "description": "Error message when detection fails." + "description": "Error message when detection fails.", + "x-typespec-name": "Multivariate.ErrorResponse[]" }, "variableStates": { "type": "array", @@ -979,8 +980,8 @@ "$ref": "#/definitions/Multivariate.VariableState" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.VariableState[]", - "description": "Variable status." + "description": "Variable status.", + "x-typespec-name": "Multivariate.VariableState[]" }, "setupInfo": { "$ref": "#/definitions/Multivariate.MultivariateBatchDetectionOptions", @@ -1042,8 +1043,8 @@ "$ref": "#/definitions/Multivariate.AnomalyState" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.AnomalyState[]", - "description": "Detection result for each time stamp." + "description": "Detection result for each time stamp.", + "x-typespec-name": "Multivariate.AnomalyState[]" } }, "description": "Detection results for the resultId value.", @@ -1062,8 +1063,8 @@ "$ref": "#/definitions/Multivariate.VariableValues" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.VariableValues[]", - "description": "Contains the inference data, including the name, time stamps (ISO 8601), and\nvalues of variables." + "description": "Contains the inference data, including the name, time stamps (ISO 8601), and\nvalues of variables.", + "x-typespec-name": "Multivariate.VariableValues[]" }, "topContributorCount": { "type": "integer", @@ -1086,8 +1087,8 @@ "$ref": "#/definitions/Multivariate.VariableState" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.VariableState[]", - "description": "Variable status." + "description": "Variable status.", + "x-typespec-name": "Multivariate.VariableState[]" }, "results": { "type": "array", @@ -1095,8 +1096,8 @@ "$ref": "#/definitions/Multivariate.AnomalyState" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.AnomalyState[]", - "description": "Anomaly status and information." + "description": "Anomaly status and information.", + "x-typespec-name": "Multivariate.AnomalyState[]" } }, "description": "Results of the last detection." @@ -1163,8 +1164,8 @@ "items": { "type": "string" }, - "x-typespec-name": "string[]", - "description": "Time stamps of the last detection request." + "description": "Time stamps of the last detection request.", + "x-typespec-name": "string[]" }, "values": { "type": "array", @@ -1172,8 +1173,8 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", - "description": "Values of variables." + "description": "Values of variables.", + "x-typespec-name": "float32[]" } }, "description": "Variable values.", @@ -1346,8 +1347,8 @@ "$ref": "#/definitions/Univariate.TimeSeriesPoint" }, "x-ms-identifiers": [], - "x-typespec-name": "Univariate.TimeSeriesPoint[]", - "description": "Time series data points. Points should be sorted by time stamp in ascending\norder to match the change point detection result." + "description": "Time series data points. Points should be sorted by time stamp in ascending\norder to match the change point detection result.", + "x-typespec-name": "Univariate.TimeSeriesPoint[]" }, "granularity": { "$ref": "#/definitions/Univariate.TimeGranularity", @@ -1394,8 +1395,8 @@ "items": { "type": "boolean" }, - "x-typespec-name": "boolean[]", - "description": "Change point properties for each input point. True means\nan anomaly (either negative or positive) has been detected. The index of the\narray is consistent with the input series." + "description": "Change point properties for each input point. True means\nan anomaly (either negative or positive) has been detected. The index of the\narray is consistent with the input series.", + "x-typespec-name": "boolean[]" }, "confidenceScores": { "type": "array", @@ -1403,8 +1404,8 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", - "description": "Change point confidence of each point." + "description": "Change point confidence of each point.", + "x-typespec-name": "float32[]" } }, "description": "Response of change point detection." @@ -1418,8 +1419,8 @@ "$ref": "#/definitions/Univariate.TimeSeriesPoint" }, "x-ms-identifiers": [], - "x-typespec-name": "Univariate.TimeSeriesPoint[]", - "description": "Time series data points. Points should be sorted by time stamp in ascending\norder to match the anomaly detection result. If the data is not sorted\ncorrectly or there's a duplicated time stamp, the API won't work. In such\na case, an error message is returned." + "description": "Time series data points. Points should be sorted by time stamp in ascending\norder to match the anomaly detection result. If the data is not sorted\ncorrectly or there's a duplicated time stamp, the API won't work. In such\na case, an error message is returned.", + "x-typespec-name": "Univariate.TimeSeriesPoint[]" }, "granularity": { "$ref": "#/definitions/Univariate.TimeGranularity", @@ -1474,8 +1475,8 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", - "description": "Expected value for each input point. The index of the\narray is consistent with the input series." + "description": "Expected value for each input point. The index of the\narray is consistent with the input series.", + "x-typespec-name": "float32[]" }, "upperMargins": { "type": "array", @@ -1483,8 +1484,8 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", - "description": "Upper margin of each input point. UpperMargin is used to\ncalculate upperBoundary, which is equal to expectedValue + (100 -\nmarginScale)*upperMargin. Anomalies in the response can be filtered by\nupperBoundary and lowerBoundary. Adjusting the marginScale value can help filter less\nsignificant anomalies on the client side. The index of the array is\nconsistent with the input series." + "description": "Upper margin of each input point. UpperMargin is used to\ncalculate upperBoundary, which is equal to expectedValue + (100 -\nmarginScale)*upperMargin. Anomalies in the response can be filtered by\nupperBoundary and lowerBoundary. Adjusting the marginScale value can help filter less\nsignificant anomalies on the client side. The index of the array is\nconsistent with the input series.", + "x-typespec-name": "float32[]" }, "lowerMargins": { "type": "array", @@ -1492,32 +1493,32 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", - "description": "Lower margin of each input point. LowerMargin is used to\ncalculate lowerBoundary, which is equal to expectedValue - (100 -\nmarginScale)*lowerMargin. Points between the boundary can be marked as normal\nones on the client side. The index of the array is consistent with the input\nseries." + "description": "Lower margin of each input point. LowerMargin is used to\ncalculate lowerBoundary, which is equal to expectedValue - (100 -\nmarginScale)*lowerMargin. Points between the boundary can be marked as normal\nones on the client side. The index of the array is consistent with the input\nseries.", + "x-typespec-name": "float32[]" }, "isAnomaly": { "type": "array", "items": { "type": "boolean" }, - "x-typespec-name": "boolean[]", - "description": "Anomaly properties for each input point. True means an\nanomaly (either negative or positive) has been detected. The index of the array\nis consistent with the input series." + "description": "Anomaly properties for each input point. True means an\nanomaly (either negative or positive) has been detected. The index of the array\nis consistent with the input series.", + "x-typespec-name": "boolean[]" }, "isNegativeAnomaly": { "type": "array", "items": { "type": "boolean" }, - "x-typespec-name": "boolean[]", - "description": "Anomaly status in a negative direction for each input\npoint. True means a negative anomaly has been detected. A negative anomaly\nmeans the point is detected as an anomaly and its real value is smaller than\nthe expected one. The index of the array is consistent with the input series." + "description": "Anomaly status in a negative direction for each input\npoint. True means a negative anomaly has been detected. A negative anomaly\nmeans the point is detected as an anomaly and its real value is smaller than\nthe expected one. The index of the array is consistent with the input series.", + "x-typespec-name": "boolean[]" }, "isPositiveAnomaly": { "type": "array", "items": { "type": "boolean" }, - "x-typespec-name": "boolean[]", - "description": "Anomaly status in a positive direction for each input\npoint. True means a positive anomaly has been detected. A positive anomaly\nmeans the point is detected as an anomaly and its real value is larger than the\nexpected one. The index of the array is consistent with the input series." + "description": "Anomaly status in a positive direction for each input\npoint. True means a positive anomaly has been detected. A positive anomaly\nmeans the point is detected as an anomaly and its real value is larger than the\nexpected one. The index of the array is consistent with the input series.", + "x-typespec-name": "boolean[]" }, "severity": { "type": "array", @@ -1525,8 +1526,8 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", - "description": "Severity score for each input point. The larger the value is, the more\nsevere the anomaly is. For normal points, the severity is always 0." + "description": "Severity score for each input point. The larger the value is, the more\nsevere the anomaly is. For normal points, the severity is always 0.", + "x-typespec-name": "float32[]" } }, "description": "Response of the entire anomaly detection.", diff --git a/specification/cognitiveservices/data-plane/ContentSafety/preview/2023-04-30-preview/contentsafety.json b/specification/cognitiveservices/data-plane/ContentSafety/preview/2023-04-30-preview/contentsafety.json index 16d416755e5e..ab2a5ad3e99d 100644 --- a/specification/cognitiveservices/data-plane/ContentSafety/preview/2023-04-30-preview/contentsafety.json +++ b/specification/cognitiveservices/data-plane/ContentSafety/preview/2023-04-30-preview/contentsafety.json @@ -114,8 +114,8 @@ "$ref": "#/definitions/TextBlocklist" }, "x-ms-identifiers": [], - "x-typespec-name": "TextBlocklist[]", - "description": "The TextBlocklist items on this page" + "description": "The TextBlocklist items on this page", + "x-typespec-name": "TextBlocklist[]" }, "nextLink": { "type": "string", @@ -168,9 +168,9 @@ "in": "path", "required": true, "description": "Text blocklist name.", + "type": "string", "pattern": "^[0-9A-Za-z._~-]+$", - "maxLength": 64, - "type": "string" + "maxLength": 64 } ], "responses": { @@ -212,9 +212,9 @@ "in": "path", "required": true, "description": "Text blocklist name.", + "type": "string", "pattern": "^[0-9A-Za-z._~-]+$", - "maxLength": 64, - "type": "string" + "maxLength": 64 }, { "name": "resource", @@ -274,9 +274,9 @@ "in": "path", "required": true, "description": "Text blocklist name.", + "type": "string", "pattern": "^[0-9A-Za-z._~-]+$", - "maxLength": 64, - "type": "string" + "maxLength": 64 } ], "responses": { @@ -317,16 +317,17 @@ "in": "path", "required": true, "description": "Text blocklist name.", + "type": "string", "pattern": "^[0-9A-Za-z._~-]+$", - "maxLength": 64, - "type": "string" + "maxLength": 64 }, { "name": "body", "in": "body", "schema": { "$ref": "#/definitions/AddBlockItemsOptions" - } + }, + "required": true } ], "responses": { @@ -370,16 +371,17 @@ "in": "path", "required": true, "description": "Text blocklist name.", + "type": "string", "pattern": "^[0-9A-Za-z._~-]+$", - "maxLength": 64, - "type": "string" + "maxLength": 64 }, { "name": "body", "in": "body", "schema": { "$ref": "#/definitions/RemoveBlockItemsOptions" - } + }, + "required": true } ], "responses": { @@ -420,9 +422,9 @@ "in": "path", "required": true, "description": "Text blocklist name.", + "type": "string", "pattern": "^[0-9A-Za-z._~-]+$", - "maxLength": 64, - "type": "string" + "maxLength": 64 }, { "$ref": "#/parameters/Azure.Core.TopQueryParameter" @@ -446,8 +448,8 @@ "$ref": "#/definitions/TextBlockItem" }, "x-ms-identifiers": [], - "x-typespec-name": "TextBlockItem[]", - "description": "The TextBlockItem items on this page" + "description": "The TextBlockItem items on this page", + "x-typespec-name": "TextBlockItem[]" }, "nextLink": { "type": "string", @@ -500,17 +502,17 @@ "in": "path", "required": true, "description": "Text blocklist name.", + "type": "string", "pattern": "^[0-9A-Za-z._~-]+$", - "maxLength": 64, - "type": "string" + "maxLength": 64 }, { "name": "blockItemId", "in": "path", "required": true, "description": "Block Item Id. It will be uuid.", - "maxLength": 64, - "type": "string" + "type": "string", + "maxLength": 64 } ], "responses": { @@ -597,8 +599,8 @@ "$ref": "#/definitions/TextBlockItemInfo" }, "x-ms-identifiers": [], - "x-typespec-name": "TextBlockItemInfo[]", - "description": "Array of blockItemInfo to add." + "description": "Array of blockItemInfo to add.", + "x-typespec-name": "TextBlockItemInfo[]" } }, "description": "The request of adding blockItems to text blocklist.", @@ -615,8 +617,8 @@ "$ref": "#/definitions/TextBlockItem" }, "x-ms-identifiers": [], - "x-typespec-name": "TextBlockItem[]", - "description": "Array of blockItems added." + "description": "Array of blockItems added.", + "x-typespec-name": "TextBlockItem[]" } }, "description": "The response of adding blockItems to text blocklist." @@ -633,8 +635,8 @@ "items": { "$ref": "#/definitions/ImageCategory" }, - "x-typespec-name": "ImageCategory[]", - "description": "The categories will be analyzed. If not assigned, a default set of the categories' analysis results will be returned." + "description": "The categories will be analyzed. If not assigned, a default set of the categories' analysis results will be returned.", + "x-typespec-name": "ImageCategory[]" } }, "description": "The analysis request of the image.", @@ -677,16 +679,16 @@ "items": { "$ref": "#/definitions/TextCategory" }, - "x-typespec-name": "TextCategory[]", - "description": "The categories will be analyzed. If not assigned, a default set of the categories' analysis results will be returned." + "description": "The categories will be analyzed. If not assigned, a default set of the categories' analysis results will be returned.", + "x-typespec-name": "TextCategory[]" }, "blocklistNames": { "type": "array", "items": { "type": "string" }, - "x-typespec-name": "string[]", - "description": "The names of blocklists." + "description": "The names of blocklists.", + "x-typespec-name": "string[]" }, "breakByBlocklists": { "type": "boolean", @@ -707,8 +709,8 @@ "$ref": "#/definitions/TextBlocklistMatchResult" }, "x-ms-identifiers": [], - "x-typespec-name": "TextBlocklistMatchResult[]", - "description": "The details of blocklist match." + "description": "The details of blocklist match.", + "x-typespec-name": "TextBlocklistMatchResult[]" }, "hateResult": { "$ref": "#/definitions/TextAnalyzeSeverityResult", @@ -750,8 +752,8 @@ "$ref": "#/definitions/Azure.Core.Foundations.Error" }, "x-ms-identifiers": [], - "x-typespec-name": "Azure.Core.Foundations.Error[]", - "description": "An array of details about specific errors that led to this reported error." + "description": "An array of details about specific errors that led to this reported error.", + "x-typespec-name": "Azure.Core.Foundations.Error[]" }, "innererror": { "$ref": "#/definitions/Azure.Core.Foundations.InnerError", @@ -761,8 +763,7 @@ "description": "The error object.", "required": [ "code", - "message", - "details" + "message" ] }, "Azure.Core.Foundations.ErrorResponse": { @@ -790,10 +791,7 @@ "description": "Inner error." } }, - "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", - "required": [ - "code" - ] + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses." }, "ImageAnalyzeSeverityResult": { "type": "object", @@ -852,8 +850,8 @@ "items": { "type": "string" }, - "x-typespec-name": "string[]", - "description": "Array of blockItemIds to remove." + "description": "Array of blockItemIds to remove.", + "x-typespec-name": "string[]" } }, "description": "The request of removing blockItems from text blocklist.", @@ -1039,8 +1037,8 @@ "required": true, "description": "The API version to use for this operation.", "x-ms-client-name": "apiVersion", - "minLength": 1, "type": "string", + "minLength": 1, "x-ms-parameter-location": "method" }, "Azure.Core.MaxPageSizeQueryParameter": { diff --git a/specification/cognitiveservices/data-plane/HealthInsights/preview/2023-03-01-preview/openapi.json b/specification/cognitiveservices/data-plane/HealthInsights/preview/2023-03-01-preview/openapi.json index 517267cf772c..82300958f5c0 100644 --- a/specification/cognitiveservices/data-plane/HealthInsights/preview/2023-03-01-preview/openapi.json +++ b/specification/cognitiveservices/data-plane/HealthInsights/preview/2023-03-01-preview/openapi.json @@ -78,7 +78,8 @@ "in": "body", "schema": { "$ref": "#/definitions/OncoPhenotypeData" - } + }, + "required": true } ], "responses": { @@ -92,7 +93,7 @@ "description": "The request has been accepted for processing, but processing has not yet completed.", "headers": { "Operation-Location": { - "description": "The location of an instance of OperationStatus", + "description": "The location for monitoring the operation state.", "type": "string", "format": "uri" }, @@ -151,8 +152,8 @@ "in": "path", "required": true, "description": "A processing job identifier.", - "format": "uuid", - "type": "string" + "type": "string", + "format": "uuid" } ], "responses": { @@ -208,7 +209,8 @@ "in": "body", "schema": { "$ref": "#/definitions/TrialMatcherData" - } + }, + "required": true } ], "responses": { @@ -222,7 +224,7 @@ "description": "The request has been accepted for processing, but processing has not yet completed.", "headers": { "Operation-Location": { - "description": "The location of an instance of OperationStatus", + "description": "The location for monitoring the operation state.", "type": "string", "format": "uri" }, @@ -281,8 +283,8 @@ "in": "path", "required": true, "description": "A processing job identifier.", - "format": "uuid", - "type": "string" + "type": "string", + "format": "uuid" } ], "responses": { @@ -406,8 +408,8 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", "description": "Coordinates of the area circle's center, represented according to the `GeoJSON` standard.\nThis is an array of 2 decimal numbers, longitude and latitude (precisely in this order).", + "x-typespec-name": "float32[]", "minItems": 2, "maxItems": 2 } @@ -458,8 +460,8 @@ "$ref": "#/definitions/Azure.Core.Foundations.Error" }, "x-ms-identifiers": [], - "x-typespec-name": "Azure.Core.Foundations.Error[]", - "description": "An array of details about specific errors that led to this reported error." + "description": "An array of details about specific errors that led to this reported error.", + "x-typespec-name": "Azure.Core.Foundations.Error[]" }, "innererror": { "$ref": "#/definitions/Azure.Core.Foundations.InnerError", @@ -469,8 +471,7 @@ "description": "The error object.", "required": [ "code", - "message", - "details" + "message" ] }, "Azure.Core.Foundations.ErrorResponse": { @@ -498,10 +499,7 @@ "description": "Inner error." } }, - "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", - "required": [ - "code" - ] + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses." }, "ClinicalCodedElement": { "type": "object", @@ -688,8 +686,8 @@ "items": { "$ref": "#/definitions/ClinicalTrialPhase" }, - "x-typespec-name": "ClinicalTrialPhase[]", - "description": "Phases which are relevant for the clinical trial.\nEach clinical trial can be in a certain phase or in multiple phases." + "description": "Phases which are relevant for the clinical trial.\nEach clinical trial can be in a certain phase or in multiple phases.", + "x-typespec-name": "ClinicalTrialPhase[]" }, "studyType": { "$ref": "#/definitions/ClinicalTrialStudyType", @@ -704,8 +702,8 @@ "items": { "type": "string" }, - "x-typespec-name": "string[]", "description": "Medical conditions and their synonyms which are relevant for the clinical trial, given as strings.", + "x-typespec-name": "string[]", "minItems": 1 }, "sponsors": { @@ -713,8 +711,8 @@ "items": { "type": "string" }, - "x-typespec-name": "string[]", - "description": "Sponsors/collaborators involved with the trial." + "description": "Sponsors/collaborators involved with the trial.", + "x-typespec-name": "string[]" }, "contacts": { "type": "array", @@ -722,8 +720,8 @@ "$ref": "#/definitions/ContactDetails" }, "x-ms-identifiers": [], - "x-typespec-name": "ContactDetails[]", - "description": "Contact details of the trial administrators, for patients that want to participate in the trial." + "description": "Contact details of the trial administrators, for patients that want to participate in the trial.", + "x-typespec-name": "ContactDetails[]" }, "facilities": { "type": "array", @@ -731,8 +729,8 @@ "$ref": "#/definitions/ClinicalTrialResearchFacility" }, "x-ms-identifiers": [], - "x-typespec-name": "ClinicalTrialResearchFacility[]", - "description": "Research facilities where the clinical trial is conducted." + "description": "Research facilities where the clinical trial is conducted.", + "x-typespec-name": "ClinicalTrialResearchFacility[]" } }, "description": "Trial data which is of interest to the potential participant.", @@ -884,72 +882,72 @@ "items": { "type": "string" }, - "x-typespec-name": "string[]", - "description": "Trials with any of the given medical conditions will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the medical conditions." + "description": "Trials with any of the given medical conditions will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the medical conditions.", + "x-typespec-name": "string[]" }, "studyTypes": { "type": "array", "items": { "$ref": "#/definitions/ClinicalTrialStudyType" }, - "x-typespec-name": "ClinicalTrialStudyType[]", - "description": "Trials with any of the given study types will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the study types." + "description": "Trials with any of the given study types will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the study types.", + "x-typespec-name": "ClinicalTrialStudyType[]" }, "recruitmentStatuses": { "type": "array", "items": { "$ref": "#/definitions/ClinicalTrialRecruitmentStatus" }, - "x-typespec-name": "ClinicalTrialRecruitmentStatus[]", - "description": "Trials with any of the given recruitment statuses will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the recruitment statuses." + "description": "Trials with any of the given recruitment statuses will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the recruitment statuses.", + "x-typespec-name": "ClinicalTrialRecruitmentStatus[]" }, "sponsors": { "type": "array", "items": { "type": "string" }, - "x-typespec-name": "string[]", - "description": "Trials with any of the given sponsors will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the sponsors." + "description": "Trials with any of the given sponsors will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the sponsors.", + "x-typespec-name": "string[]" }, "phases": { "type": "array", "items": { "$ref": "#/definitions/ClinicalTrialPhase" }, - "x-typespec-name": "ClinicalTrialPhase[]", - "description": "Trials with any of the given phases will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the phases." + "description": "Trials with any of the given phases will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the phases.", + "x-typespec-name": "ClinicalTrialPhase[]" }, "purposes": { "type": "array", "items": { "$ref": "#/definitions/ClinicalTrialPurpose" }, - "x-typespec-name": "ClinicalTrialPurpose[]", - "description": "Trials with any of the given purposes will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the purposes." + "description": "Trials with any of the given purposes will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the purposes.", + "x-typespec-name": "ClinicalTrialPurpose[]" }, "ids": { "type": "array", "items": { "type": "string" }, - "x-typespec-name": "string[]", - "description": "Trials with any of the given identifiers will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the trial identifiers." + "description": "Trials with any of the given identifiers will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the trial identifiers.", + "x-typespec-name": "string[]" }, "sources": { "type": "array", "items": { "$ref": "#/definitions/ClinicalTrialSource" }, - "x-typespec-name": "ClinicalTrialSource[]", - "description": "Trials with any of the given sources will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the sources." + "description": "Trials with any of the given sources will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the sources.", + "x-typespec-name": "ClinicalTrialSource[]" }, "facilityNames": { "type": "array", "items": { "type": "string" }, - "x-typespec-name": "string[]", - "description": "Trials with any of the given facility names will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the trial facility names." + "description": "Trials with any of the given facility names will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the trial facility names.", + "x-typespec-name": "string[]" }, "facilityLocations": { "type": "array", @@ -957,8 +955,8 @@ "$ref": "#/definitions/GeographicLocation" }, "x-ms-identifiers": [], - "x-typespec-name": "GeographicLocation[]", - "description": "Trials with any of the given facility locations will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the trial facility locations." + "description": "Trials with any of the given facility locations will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the trial facility locations.", + "x-typespec-name": "GeographicLocation[]" }, "facilityAreas": { "type": "array", @@ -966,8 +964,8 @@ "$ref": "#/definitions/GeographicArea" }, "x-ms-identifiers": [], - "x-typespec-name": "GeographicArea[]", - "description": "Trials with any of the given facility area boundaries will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the trial facility area boundaries." + "description": "Trials with any of the given facility area boundaries will be included in the selection (provided that other limitations are satisfied).\nLeaving this list empty will not limit the trial facility area boundaries.", + "x-typespec-name": "GeographicArea[]" } }, "description": "A filter defining a subset of clinical trials from a given clinical trial registry (e.g. clinicaltrials.gov)." @@ -1060,8 +1058,8 @@ "items": { "$ref": "#/definitions/ClinicalTrialDetails" }, - "x-typespec-name": "ClinicalTrialDetails[]", "description": "A list of clinical trials.", + "x-typespec-name": "ClinicalTrialDetails[]", "minItems": 1 }, "registryFilters": { @@ -1070,8 +1068,8 @@ "$ref": "#/definitions/ClinicalTrialRegistryFilter" }, "x-ms-identifiers": [], - "x-typespec-name": "ClinicalTrialRegistryFilter[]", "description": "A list of filters, each one creating a selection of trials from a given\nclinical trial registry.", + "x-typespec-name": "ClinicalTrialRegistryFilter[]", "minItems": 1 } }, @@ -1398,8 +1396,8 @@ "items": { "$ref": "#/definitions/PatientRecord" }, - "x-typespec-name": "PatientRecord[]", - "description": "The list of patients, including their clinical information and data." + "description": "The list of patients, including their clinical information and data.", + "x-typespec-name": "PatientRecord[]" }, "configuration": { "$ref": "#/definitions/OncoPhenotypeModelConfiguration", @@ -1439,8 +1437,8 @@ "$ref": "#/definitions/InferenceEvidence" }, "x-ms-identifiers": [], - "x-typespec-name": "InferenceEvidence[]", - "description": "The evidence corresponding to the inference value." + "description": "The evidence corresponding to the inference value.", + "x-typespec-name": "InferenceEvidence[]" }, "caseId": { "type": "string", @@ -1523,8 +1521,8 @@ "items": { "$ref": "#/definitions/OncoPhenotypeInferenceType" }, - "x-typespec-name": "OncoPhenotypeInferenceType[]", - "description": "A list of inference types to be inferred for the current request.\nThis could be used if only part of the Onco Phenotype inferences are required.\nIf this list is omitted or empty, the model will return all the inference types." + "description": "A list of inference types to be inferred for the current request.\nThis could be used if only part of the Onco Phenotype inferences are required.\nIf this list is omitted or empty, the model will return all the inference types.", + "x-typespec-name": "OncoPhenotypeInferenceType[]" }, "checkForCancerCase": { "type": "boolean", @@ -1547,8 +1545,8 @@ "$ref": "#/definitions/OncoPhenotypeInference" }, "x-ms-identifiers": [], - "x-typespec-name": "OncoPhenotypeInference[]", - "description": "The model's inferences for the given patient." + "description": "The model's inferences for the given patient.", + "x-typespec-name": "OncoPhenotypeInference[]" } }, "description": "The results of the model's work for a single patient.", @@ -1595,8 +1593,8 @@ "$ref": "#/definitions/Azure.Core.Foundations.Error" }, "x-ms-identifiers": [], - "x-typespec-name": "Azure.Core.Foundations.Error[]", "description": "An array of errors, if any errors occurred during the processing job.", + "x-typespec-name": "Azure.Core.Foundations.Error[]", "readOnly": true }, "results": { @@ -1622,8 +1620,8 @@ "items": { "$ref": "#/definitions/OncoPhenotypePatientResult" }, - "x-typespec-name": "OncoPhenotypePatientResult[]", - "description": "Results for the patients given in the request." + "description": "Results for the patients given in the request.", + "x-typespec-name": "OncoPhenotypePatientResult[]" }, "modelVersion": { "$ref": "#/definitions/ModelVersion", @@ -1691,8 +1689,8 @@ "$ref": "#/definitions/ClinicalCodedElement" }, "x-ms-identifiers": [], - "x-typespec-name": "ClinicalCodedElement[]", - "description": "Known clinical information for the patient, structured." + "description": "Known clinical information for the patient, structured.", + "x-typespec-name": "ClinicalCodedElement[]" } }, "description": "Patient structured information, including demographics and known structured clinical information." @@ -1741,8 +1739,8 @@ "items": { "$ref": "#/definitions/PatientDocument" }, - "x-typespec-name": "PatientDocument[]", - "description": "Patient unstructured clinical data, given as documents." + "description": "Patient unstructured clinical data, given as documents.", + "x-typespec-name": "PatientDocument[]" } }, "description": "A patient record, including their clinical information and data.", @@ -1758,8 +1756,8 @@ "items": { "$ref": "#/definitions/PatientRecord" }, - "x-typespec-name": "PatientRecord[]", - "description": "The list of patients, including their clinical information and data." + "description": "The list of patients, including their clinical information and data.", + "x-typespec-name": "PatientRecord[]" }, "configuration": { "$ref": "#/definitions/TrialMatcherModelConfiguration", @@ -1799,8 +1797,8 @@ "$ref": "#/definitions/TrialMatcherInferenceEvidence" }, "x-ms-identifiers": [], - "x-typespec-name": "TrialMatcherInferenceEvidence[]", - "description": "The evidence corresponding to the inference value." + "description": "The evidence corresponding to the inference value.", + "x-typespec-name": "TrialMatcherInferenceEvidence[]" }, "id": { "type": "string", @@ -1899,8 +1897,8 @@ "items": { "$ref": "#/definitions/TrialMatcherInference" }, - "x-typespec-name": "TrialMatcherInference[]", - "description": "The model's inferences for the given patient." + "description": "The model's inferences for the given patient.", + "x-typespec-name": "TrialMatcherInference[]" }, "neededClinicalInfo": { "$ref": "#/definitions/NeededClinicalInfo", @@ -1951,8 +1949,8 @@ "$ref": "#/definitions/Azure.Core.Foundations.Error" }, "x-ms-identifiers": [], - "x-typespec-name": "Azure.Core.Foundations.Error[]", "description": "An array of errors, if any errors occurred during the processing job.", + "x-typespec-name": "Azure.Core.Foundations.Error[]", "readOnly": true }, "results": { @@ -1978,8 +1976,8 @@ "items": { "$ref": "#/definitions/TrialMatcherPatientResult" }, - "x-typespec-name": "TrialMatcherPatientResult[]", - "description": "Results for the patients given in the request." + "description": "Results for the patients given in the request.", + "x-typespec-name": "TrialMatcherPatientResult[]" }, "modelVersion": { "$ref": "#/definitions/ModelVersion", @@ -2005,8 +2003,8 @@ "required": true, "description": "The API version to use for this operation.", "x-ms-client-name": "apiVersion", - "minLength": 1, "type": "string", + "minLength": 1, "x-ms-parameter-location": "method" }, "Azure.Core.RepeatabilityRequestHeaders.repeatabilityFirstSent": { diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2022-09-02-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2022-09-02-preview/fleets.json index 425e58cebe1b..c3bc21e4e854 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2022-09-02-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2022-09-02-preview/fleets.json @@ -189,10 +189,10 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 } ], "responses": { @@ -252,10 +252,10 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 }, { "name": "resource", @@ -333,10 +333,10 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 }, { "name": "properties", @@ -397,10 +397,10 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 } ], "responses": { @@ -464,10 +464,10 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 } ], "responses": { @@ -513,10 +513,10 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 } ], "responses": { @@ -565,20 +565,20 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 }, { "name": "fleetMemberName", "in": "path", "required": true, "description": "The name of the Fleet member resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50, - "type": "string" + "maxLength": 50 } ], "responses": { @@ -638,20 +638,20 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 }, { "name": "fleetMemberName", "in": "path", "required": true, "description": "The name of the Fleet member resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50, - "type": "string" + "maxLength": 50 }, { "name": "resource", @@ -729,20 +729,20 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 }, { "name": "fleetMemberName", "in": "path", "required": true, "description": "The name of the Fleet member resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50, - "type": "string" + "maxLength": 50 } ], "responses": { @@ -851,8 +851,8 @@ "x-ms-identifiers": [ "name" ], - "x-typespec-name": "FleetCredentialResult[]", "description": "Array of base64-encoded Kubernetes configuration files.", + "x-typespec-name": "FleetCredentialResult[]", "readOnly": true } }, @@ -893,8 +893,8 @@ "items": { "$ref": "#/definitions/Fleet" }, - "x-typespec-name": "Fleet[]", - "description": "The Fleet items on this page" + "description": "The Fleet items on this page", + "x-typespec-name": "Fleet[]" }, "nextLink": { "type": "string", @@ -941,8 +941,8 @@ "items": { "$ref": "#/definitions/FleetMember" }, - "x-typespec-name": "FleetMember[]", - "description": "The FleetMember items on this page" + "description": "The FleetMember items on this page", + "x-typespec-name": "FleetMember[]" }, "nextLink": { "type": "string", @@ -991,7 +991,36 @@ ], "x-ms-enum": { "name": "FleetMemberProvisioningState", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Joining", + "value": "Joining" + }, + { + "name": "Leaving", + "value": "Leaving" + }, + { + "name": "Updating", + "value": "Updating" + } + ] } }, "FleetPatch": { @@ -1002,8 +1031,8 @@ "additionalProperties": { "type": "string" }, - "x-typespec-name": "Record", - "description": "Resource tags." + "description": "Resource tags.", + "x-typespec-name": "Record" } }, "description": "Properties of a Fleet that can be patched." @@ -1036,7 +1065,36 @@ ], "x-ms-enum": { "name": "FleetProvisioningState", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "Deleting", + "value": "Deleting" + } + ] } } }, diff --git a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/fleets.json b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/fleets.json index 85e20b7b2919..68413576709a 100644 --- a/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/fleets.json +++ b/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/fleets.json @@ -192,10 +192,10 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 } ], "responses": { @@ -255,10 +255,10 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 }, { "name": "resource", @@ -336,10 +336,10 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 }, { "name": "properties", @@ -400,10 +400,10 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 } ], "responses": { @@ -467,10 +467,10 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 } ], "responses": { @@ -516,10 +516,10 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 } ], "responses": { @@ -568,20 +568,20 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 }, { "name": "fleetMemberName", "in": "path", "required": true, "description": "The name of the Fleet member resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50, - "type": "string" + "maxLength": 50 } ], "responses": { @@ -641,20 +641,20 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 }, { "name": "fleetMemberName", "in": "path", "required": true, "description": "The name of the Fleet member resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50, - "type": "string" + "maxLength": 50 }, { "name": "resource", @@ -732,20 +732,20 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 }, { "name": "fleetMemberName", "in": "path", "required": true, "description": "The name of the Fleet member resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50, - "type": "string" + "maxLength": 50 }, { "name": "properties", @@ -806,20 +806,20 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 }, { "name": "fleetMemberName", "in": "path", "required": true, "description": "The name of the Fleet member resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50, - "type": "string" + "maxLength": 50 } ], "responses": { @@ -883,10 +883,10 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 } ], "responses": { @@ -935,20 +935,20 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 }, { "name": "updateRunName", "in": "path", "required": true, "description": "The name of the UpdateRun resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50, - "type": "string" + "maxLength": 50 } ], "responses": { @@ -1008,20 +1008,20 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 }, { "name": "updateRunName", "in": "path", "required": true, "description": "The name of the UpdateRun resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50, - "type": "string" + "maxLength": 50 }, { "name": "resource", @@ -1099,20 +1099,20 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 }, { "name": "updateRunName", "in": "path", "required": true, "description": "The name of the UpdateRun resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50, - "type": "string" + "maxLength": 50 } ], "responses": { @@ -1184,20 +1184,20 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 }, { "name": "updateRunName", "in": "path", "required": true, "description": "The name of the UpdateRun resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50, - "type": "string" + "maxLength": 50 } ], "responses": { @@ -1269,20 +1269,20 @@ "in": "path", "required": true, "description": "The name of the Fleet resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 63, - "type": "string" + "maxLength": 63 }, { "name": "updateRunName", "in": "path", "required": true, "description": "The name of the UpdateRun resource.", + "type": "string", "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$", "minLength": 1, - "maxLength": 50, - "type": "string" + "maxLength": 50 } ], "responses": { @@ -1391,8 +1391,8 @@ "x-ms-identifiers": [ "name" ], - "x-typespec-name": "FleetCredentialResult[]", "description": "Array of base64-encoded Kubernetes configuration files.", + "x-typespec-name": "FleetCredentialResult[]", "readOnly": true } }, @@ -1433,8 +1433,8 @@ "items": { "$ref": "#/definitions/Fleet" }, - "x-typespec-name": "Fleet[]", - "description": "The Fleet items on this page" + "description": "The Fleet items on this page", + "x-typespec-name": "Fleet[]" }, "nextLink": { "type": "string", @@ -1481,8 +1481,8 @@ "items": { "$ref": "#/definitions/FleetMember" }, - "x-typespec-name": "FleetMember[]", - "description": "The FleetMember items on this page" + "description": "The FleetMember items on this page", + "x-typespec-name": "FleetMember[]" }, "nextLink": { "type": "string", @@ -1538,7 +1538,36 @@ ], "x-ms-enum": { "name": "FleetMemberProvisioningState", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Joining", + "value": "Joining" + }, + { + "name": "Leaving", + "value": "Leaving" + }, + { + "name": "Updating", + "value": "Updating" + } + ] } }, "FleetMemberUpdate": { @@ -1572,8 +1601,8 @@ "additionalProperties": { "type": "string" }, - "x-typespec-name": "Record", - "description": "Resource tags." + "description": "Resource tags.", + "x-typespec-name": "Record" } }, "description": "Properties of a Fleet that can be patched." @@ -1606,7 +1635,36 @@ ], "x-ms-enum": { "name": "FleetProvisioningState", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + }, + { + "name": "Creating", + "value": "Creating" + }, + { + "name": "Updating", + "value": "Updating" + }, + { + "name": "Deleting", + "value": "Deleting" + } + ] } }, "KubernetesVersion": { @@ -1729,8 +1787,8 @@ "x-ms-identifiers": [ "name" ], - "x-typespec-name": "MemberUpdateStatus[]", "description": "The list of member this UpdateGroup updates.", + "x-typespec-name": "MemberUpdateStatus[]", "readOnly": true } }, @@ -1769,8 +1827,8 @@ "items": { "$ref": "#/definitions/UpdateRun" }, - "x-typespec-name": "UpdateRun[]", - "description": "The UpdateRun items on this page" + "description": "The UpdateRun items on this page", + "x-typespec-name": "UpdateRun[]" }, "nextLink": { "type": "string", @@ -1821,7 +1879,24 @@ ], "x-ms-enum": { "name": "UpdateRunProvisioningState", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Resource has been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Resource creation failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Resource creation was canceled." + } + ] } }, "UpdateRunStatus": { @@ -1840,8 +1915,8 @@ "x-ms-identifiers": [ "name" ], - "x-typespec-name": "UpdateStageStatus[]", "description": "The stages composing an update run. Stages are run sequentially withing an UpdateRun.", + "x-typespec-name": "UpdateStageStatus[]", "readOnly": true } }, @@ -1858,8 +1933,8 @@ "x-ms-identifiers": [ "name" ], - "x-typespec-name": "UpdateStage[]", - "description": "The list of stages that compose this update run." + "description": "The list of stages that compose this update run.", + "x-typespec-name": "UpdateStage[]" } }, "description": "The UpdateRunStrategy configures the sequence of Stages and Groups in which the clusters will be updated.", @@ -1885,8 +1960,8 @@ "x-ms-identifiers": [ "name" ], - "x-typespec-name": "UpdateGroup[]", - "description": "A list of group names that compose the stage.\nThe groups will be updated in parallel. Each group name can only appear once in the UpdateRun." + "description": "A list of group names that compose the stage.\nThe groups will be updated in parallel. Each group name can only appear once in the UpdateRun.", + "x-typespec-name": "UpdateGroup[]" }, "afterStageWaitInSeconds": { "type": "integer", @@ -1920,8 +1995,8 @@ "x-ms-identifiers": [ "name" ], - "x-typespec-name": "UpdateGroupStatus[]", "description": "The list of groups to be updated as part of this UpdateStage.", + "x-typespec-name": "UpdateGroupStatus[]", "readOnly": true }, "afterStageWaitStatus": { diff --git a/specification/contosowidgetmanager/data-plane/Azure.Contoso.WidgetManager/preview/2022-11-01-preview/widgets.json b/specification/contosowidgetmanager/data-plane/Azure.Contoso.WidgetManager/preview/2022-11-01-preview/widgets.json index 86334ef4fb6d..5500a93118d1 100644 --- a/specification/contosowidgetmanager/data-plane/Azure.Contoso.WidgetManager/preview/2022-11-01-preview/widgets.json +++ b/specification/contosowidgetmanager/data-plane/Azure.Contoso.WidgetManager/preview/2022-11-01-preview/widgets.json @@ -41,8 +41,8 @@ "$ref": "#/definitions/Widget" }, "x-ms-identifiers": [], - "x-typespec-name": "Widget[]", - "description": "The Widget items on this page" + "description": "The Widget items on this page", + "x-typespec-name": "Widget[]" }, "nextLink": { "type": "string", @@ -152,7 +152,7 @@ "description": "The request has succeeded.", "headers": { "Operation-Location": { - "description": "The location of an instance of OperationStatus", + "description": "The location for monitoring the operation state.", "type": "string", "format": "uri" } @@ -165,7 +165,7 @@ "description": "The request has succeeded and a new resource has been created as a result.", "headers": { "Operation-Location": { - "description": "The location of an instance of OperationStatus", + "description": "The location for monitoring the operation state.", "type": "string", "format": "uri" } @@ -216,7 +216,7 @@ "description": "The request has been accepted for processing, but processing has not yet completed.", "headers": { "Operation-Location": { - "description": "The location of an instance of OperationStatus", + "description": "The location for monitoring the operation state.", "type": "string", "format": "uri" } @@ -362,8 +362,8 @@ "$ref": "#/definitions/Azure.Core.Foundations.Error" }, "x-ms-identifiers": [], - "x-typespec-name": "Azure.Core.Foundations.Error[]", - "description": "An array of details about specific errors that led to this reported error." + "description": "An array of details about specific errors that led to this reported error.", + "x-typespec-name": "Azure.Core.Foundations.Error[]" }, "innererror": { "$ref": "#/definitions/Azure.Core.Foundations.InnerError", @@ -373,8 +373,7 @@ "description": "The error object.", "required": [ "code", - "message", - "details" + "message" ] }, "Azure.Core.Foundations.ErrorResponse": { @@ -402,13 +401,11 @@ "description": "Inner error." } }, - "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", - "required": [ - "code" - ] + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses." }, "Azure.Core.Foundations.OperationState": { "type": "string", + "description": "Enum describing allowed operation states.", "enum": [ "InProgress", "Succeeded", @@ -417,7 +414,29 @@ ], "x-ms-enum": { "name": "OperationState", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "InProgress", + "value": "InProgress", + "description": "The operation is in progress." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The operation has completed successfully." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The operation has failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "The operation has been canceled by the user." + } + ] } }, "FakedSharedModel": { @@ -515,8 +534,8 @@ "required": true, "description": "The API version to use for this operation.", "x-ms-client-name": "apiVersion", - "minLength": 1, "type": "string", + "minLength": 1, "x-ms-parameter-location": "method" } } diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/preview/2023-05-01-preview/TrafficController.json b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/preview/2023-05-01-preview/TrafficController.json index e35202106df5..54ab38a98949 100644 --- a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/preview/2023-05-01-preview/TrafficController.json +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/preview/2023-05-01-preview/TrafficController.json @@ -192,8 +192,8 @@ "in": "path", "required": true, "description": "traffic controller name for path", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" } ], "responses": { @@ -237,8 +237,8 @@ "in": "path", "required": true, "description": "traffic controller name for path", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "resource", @@ -308,8 +308,8 @@ "in": "path", "required": true, "description": "traffic controller name for path", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "properties", @@ -362,8 +362,8 @@ "in": "path", "required": true, "description": "traffic controller name for path", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" } ], "responses": { @@ -427,8 +427,8 @@ "in": "path", "required": true, "description": "traffic controller name for path", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" } ], "responses": { @@ -477,16 +477,16 @@ "in": "path", "required": true, "description": "traffic controller name for path", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "associationName", "in": "path", "required": true, "description": "Name of Association", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" } ], "responses": { @@ -530,16 +530,16 @@ "in": "path", "required": true, "description": "traffic controller name for path", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "associationName", "in": "path", "required": true, "description": "Name of Association", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "resource", @@ -609,16 +609,16 @@ "in": "path", "required": true, "description": "traffic controller name for path", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "associationName", "in": "path", "required": true, "description": "Name of Association", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "properties", @@ -671,16 +671,16 @@ "in": "path", "required": true, "description": "traffic controller name for path", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "associationName", "in": "path", "required": true, "description": "Name of Association", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" } ], "responses": { @@ -744,8 +744,8 @@ "in": "path", "required": true, "description": "traffic controller name for path", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" } ], "responses": { @@ -794,16 +794,16 @@ "in": "path", "required": true, "description": "traffic controller name for path", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "frontendName", "in": "path", "required": true, "description": "Frontends", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" } ], "responses": { @@ -847,16 +847,16 @@ "in": "path", "required": true, "description": "traffic controller name for path", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "frontendName", "in": "path", "required": true, "description": "Frontends", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "resource", @@ -926,16 +926,16 @@ "in": "path", "required": true, "description": "traffic controller name for path", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "frontendName", "in": "path", "required": true, "description": "Frontends", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "properties", @@ -988,16 +988,16 @@ "in": "path", "required": true, "description": "traffic controller name for path", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" }, { "name": "frontendName", "in": "path", "required": true, "description": "Frontends", - "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$", - "type": "string" + "type": "string", + "pattern": "^[A-Za-z0-9]([A-Za-z0-9-_.]{0,62}[A-Za-z0-9])?$" } ], "responses": { @@ -1069,8 +1069,8 @@ "items": { "$ref": "#/definitions/Association" }, - "x-typespec-name": "Association[]", - "description": "The Association items on this page" + "description": "The Association items on this page", + "x-typespec-name": "Association[]" }, "nextLink": { "type": "string", @@ -1147,8 +1147,8 @@ "additionalProperties": { "type": "string" }, - "x-typespec-name": "Record", - "description": "Resource tags." + "description": "Resource tags.", + "x-typespec-name": "Record" }, "properties": { "$ref": "#/definitions/AssociationUpdateProperties", @@ -1199,8 +1199,8 @@ "items": { "$ref": "#/definitions/Frontend" }, - "x-typespec-name": "Frontend[]", - "description": "The Frontend items on this page" + "description": "The Frontend items on this page", + "x-typespec-name": "Frontend[]" }, "nextLink": { "type": "string", @@ -1238,8 +1238,8 @@ "additionalProperties": { "type": "string" }, - "x-typespec-name": "Record", - "description": "Resource tags." + "description": "Resource tags.", + "x-typespec-name": "Record" } }, "description": "The type used for update operations of the Frontend." @@ -1301,8 +1301,8 @@ "items": { "$ref": "#/definitions/TrafficController" }, - "x-typespec-name": "TrafficController[]", - "description": "The TrafficController items on this page" + "description": "The TrafficController items on this page", + "x-typespec-name": "TrafficController[]" }, "nextLink": { "type": "string", @@ -1324,8 +1324,8 @@ "items": { "type": "string" }, - "x-typespec-name": "string[]", "description": "Configuration Endpoints.", + "x-typespec-name": "string[]", "readOnly": true }, "frontends": { @@ -1333,8 +1333,8 @@ "items": { "$ref": "#/definitions/ResourceId" }, - "x-typespec-name": "ResourceId[]", "description": "Frontends References List", + "x-typespec-name": "ResourceId[]", "readOnly": true }, "associations": { @@ -1342,8 +1342,8 @@ "items": { "$ref": "#/definitions/ResourceId" }, - "x-typespec-name": "ResourceId[]", "description": "Associations References List", + "x-typespec-name": "ResourceId[]", "readOnly": true }, "provisioningState": { @@ -1362,8 +1362,8 @@ "additionalProperties": { "type": "string" }, - "x-typespec-name": "Record", - "description": "Resource tags." + "description": "Resource tags.", + "x-typespec-name": "Record" } }, "description": "The type used for update operations of the TrafficController." diff --git a/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/openapi.json b/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/openapi.json index ce23a4c35116..bd7d6ff95748 100644 --- a/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/openapi.json +++ b/specification/translation/data-plane/Azure.AI.TextTranslation/stable/v3.0/openapi.json @@ -648,8 +648,8 @@ "type": "integer", "format": "int32" }, - "x-typespec-name": "int32[]", - "description": "An integer array representing the lengths of the sentences in the input text.\nThe length of the array is the number of sentences, and the values are the length of each sentence." + "description": "An integer array representing the lengths of the sentences in the input text.\nThe length of the array is the number of sentences, and the values are the length of each sentence.", + "x-typespec-name": "int32[]" } }, "description": "Item containing break sentence result.", @@ -666,8 +666,8 @@ "$ref": "#/definitions/BreakSentenceItem" }, "x-ms-identifiers": [], - "x-typespec-name": "BreakSentenceItem[]", - "description": "Array of the break sentence elements." + "description": "Array of the break sentence elements.", + "x-typespec-name": "BreakSentenceItem[]" } }, "description": "Response for the Break SEntence API.", @@ -777,8 +777,8 @@ "$ref": "#/definitions/DictionaryExample" }, "x-ms-identifiers": [], - "x-typespec-name": "DictionaryExample[]", - "description": "A list of examples for the (source term, target term) pair." + "description": "A list of examples for the (source term, target term) pair.", + "x-typespec-name": "DictionaryExample[]" } }, "description": "Dictionary Example element", @@ -833,8 +833,8 @@ "$ref": "#/definitions/DictionaryExampleItem" }, "x-ms-identifiers": [], - "x-typespec-name": "DictionaryExampleItem[]", - "description": "Array of the dictionary examples elements." + "description": "Array of the dictionary examples elements.", + "x-typespec-name": "DictionaryExampleItem[]" } }, "description": "Response for the dictionary examples API.", @@ -859,8 +859,8 @@ "$ref": "#/definitions/DictionaryTranslation" }, "x-ms-identifiers": [], - "x-typespec-name": "DictionaryTranslation[]", - "description": "A list of translations for the source term." + "description": "A list of translations for the source term.", + "x-typespec-name": "DictionaryTranslation[]" } }, "description": "Dictionary Lookup Element", @@ -897,8 +897,8 @@ "$ref": "#/definitions/DictionaryLookupItem" }, "x-ms-identifiers": [], - "x-typespec-name": "DictionaryLookupItem[]", - "description": "Array of the dictionary lookup elements." + "description": "Array of the dictionary lookup elements.", + "x-typespec-name": "DictionaryLookupItem[]" } }, "description": "Response for the dictionary lookup API.", @@ -936,8 +936,8 @@ "$ref": "#/definitions/BackTranslation" }, "x-ms-identifiers": [], - "x-typespec-name": "BackTranslation[]", - "description": "A list of \"back translations\" of the target. For example, source words that the target can translate to.\nThe list is guaranteed to contain the source word that was requested (e.g., if the source word being\nlooked up is \"fly\", then it is guaranteed that \"fly\" will be in the backTranslations list).\nHowever, it is not guaranteed to be in the first position, and often will not be." + "description": "A list of \"back translations\" of the target. For example, source words that the target can translate to.\nThe list is guaranteed to contain the source word that was requested (e.g., if the source word being\nlooked up is \"fly\", then it is guaranteed that \"fly\" will be in the backTranslations list).\nHowever, it is not guaranteed to be in the first position, and often will not be.", + "x-typespec-name": "BackTranslation[]" } }, "description": "Translation source term.", @@ -990,24 +990,24 @@ "additionalProperties": { "$ref": "#/definitions/TranslationLanguage" }, - "x-typespec-name": "Record", - "description": "Languages that support translate API." + "description": "Languages that support translate API.", + "x-typespec-name": "Record" }, "transliteration": { "type": "object", "additionalProperties": { "$ref": "#/definitions/TransliterationLanguage" }, - "x-typespec-name": "Record", - "description": "Languages that support transliteration API." + "description": "Languages that support transliteration API.", + "x-typespec-name": "Record" }, "dictionary": { "type": "object", "additionalProperties": { "$ref": "#/definitions/SourceDictionaryLanguage" }, - "x-typespec-name": "Record", - "description": "Languages that support dictionary API." + "description": "Languages that support dictionary API.", + "x-typespec-name": "Record" } }, "description": "Response for the languages API." @@ -1128,8 +1128,8 @@ "type": "integer", "format": "int32" }, - "x-typespec-name": "int32[]", - "description": "An integer array representing the lengths of the sentences in the input text. \nThe length of the array is the number of sentences, and the values are the length of each sentence." + "description": "An integer array representing the lengths of the sentences in the input text. \nThe length of the array is the number of sentences, and the values are the length of each sentence.", + "x-typespec-name": "int32[]" }, "transSentLen": { "type": "array", @@ -1137,8 +1137,8 @@ "type": "integer", "format": "int32" }, - "x-typespec-name": "int32[]", - "description": "An integer array representing the lengths of the sentences in the translated text. \nThe length of the array is the number of sentences, and the values are the length of each sentence." + "description": "An integer array representing the lengths of the sentences in the translated text. \nThe length of the array is the number of sentences, and the values are the length of each sentence.", + "x-typespec-name": "int32[]" } }, "description": "An object returning sentence boundaries in the input and output texts.", @@ -1168,8 +1168,8 @@ "$ref": "#/definitions/TargetDictionaryLanguage" }, "x-ms-identifiers": [], - "x-typespec-name": "TargetDictionaryLanguage[]", - "description": "List of languages with alterative translations and examples for the query expressed in the source language." + "description": "List of languages with alterative translations and examples for the query expressed in the source language.", + "x-typespec-name": "TargetDictionaryLanguage[]" } }, "description": "Properties ot the source dictionary language", @@ -1289,8 +1289,8 @@ "$ref": "#/definitions/Translation" }, "x-ms-identifiers": [], - "x-typespec-name": "Translation[]", - "description": "An array of translation results. The size of the array matches the number of target \nlanguages specified through the to query parameter." + "description": "An array of translation results. The size of the array matches the number of target \nlanguages specified through the to query parameter.", + "x-typespec-name": "Translation[]" }, "sourceText": { "$ref": "#/definitions/SourceText", @@ -1364,8 +1364,8 @@ "$ref": "#/definitions/TranslatedTextItem" }, "x-ms-identifiers": [], - "x-typespec-name": "TranslatedTextItem[]", - "description": "Array of the translated text elements." + "description": "Array of the translated text elements.", + "x-typespec-name": "TranslatedTextItem[]" } }, "description": "Response for the translation API.", @@ -1382,8 +1382,8 @@ "$ref": "#/definitions/CommonScriptModel" }, "x-ms-identifiers": [], - "x-typespec-name": "CommonScriptModel[]", - "description": "List of scripts available to convert text to." + "description": "List of scripts available to convert text to.", + "x-typespec-name": "CommonScriptModel[]" } }, "description": "Script definition with list of script into which given script can be translitered.", @@ -1405,8 +1405,8 @@ "$ref": "#/definitions/TransliteratedText" }, "x-ms-identifiers": [], - "x-typespec-name": "TransliteratedText[]", - "description": "Array of transliterated texts" + "description": "Array of transliterated texts", + "x-typespec-name": "TransliteratedText[]" } }, "description": "Response for the transliteration API.", @@ -1449,8 +1449,8 @@ "$ref": "#/definitions/TransliterableScript" }, "x-ms-identifiers": [], - "x-typespec-name": "TransliterableScript[]", - "description": "List of scripts to convert from." + "description": "List of scripts to convert from.", + "x-typespec-name": "TransliterableScript[]" } }, "description": "The value of the transliteration property is a dictionary of (key, value) pairs. \nEach key is a BCP 47 language tag. A key identifies a language for which text can be converted from one script \nto another script.", @@ -1561,6 +1561,7 @@ "name": "profanityAction", "in": "query", "required": false, + "description": "Specifies how profanities should be treated in translations.\nPossible values are: NoAction (default), Marked or Deleted.", "default": "NoAction", "type": "string", "enum": [ @@ -1592,6 +1593,7 @@ "name": "profanityMarker", "in": "query", "required": false, + "description": "Specifies how profanities should be marked in translations.\nPossible values are: Asterisk (default) or Tag. ", "default": "Asterisk", "type": "string", "enum": [ @@ -1626,6 +1628,7 @@ "name": "textType", "in": "query", "required": false, + "description": "Defines whether the text being translated is plain text or HTML text. Any HTML needs to be a well-formed, \ncomplete element. Possible values are: plain (default) or html.", "default": "Plain", "type": "string", "enum": [