diff --git a/package.json b/package.json index 10324f98d671..1b0571565e06 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { "name": "azure-rest-api-specs", "devDependencies": { - "@azure-tools/typespec-autorest": "0.34.0-dev.6", + "@azure-tools/typespec-autorest": "next", "@azure-tools/typespec-azure-core": "next", "@azure-tools/typespec-azure-resource-manager": "next", "@azure-tools/typespec-client-generator-core": "next", "@azure-tools/typespec-providerhub": "next", "@typespec/compiler": "next", - "@typespec/http": "0.48.0-dev.0", + "@typespec/http": "next", "@typespec/lint": "next", "@typespec/openapi": "next", "@typespec/rest": "next", 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 5b577a65534f..7f2606fa5167 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 @@ -203,7 +203,7 @@ "description": "The resource instance.", "required": true, "schema": { - "$ref": "#/definitions/TextBlocklistUpdate" + "$ref": "#/definitions/TextBlocklistCreateOrUpdate" } } ], @@ -942,6 +942,27 @@ "blocklistName" ] }, + "TextBlocklistCreateOrUpdate": { + "type": "object", + "description": "Text Blocklist.", + "properties": { + "blocklistName": { + "type": "string", + "description": "Text blocklist name.", + "maxLength": 64, + "pattern": "^[0-9A-Za-z._~-]+$", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "description": { + "type": "string", + "description": "Text blocklist description.", + "maxLength": 1024 + } + } + }, "TextBlocklistMatchResult": { "type": "object", "description": "The result of blocklist match.", @@ -980,17 +1001,6 @@ "length" ] }, - "TextBlocklistUpdate": { - "type": "object", - "description": "Text Blocklist.", - "properties": { - "description": { - "type": "string", - "description": "Text blocklist description.", - "maxLength": 1024 - } - } - }, "TextCategory": { "type": "string", "description": "Text analyze category", 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 157d3fc87d7a..65d37b6ed740 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 @@ -143,7 +143,7 @@ "description": "The resource instance.", "required": true, "schema": { - "$ref": "#/definitions/WidgetSuiteUpdate" + "$ref": "#/definitions/WidgetSuiteCreateOrUpdate" } } ], @@ -454,7 +454,7 @@ "createdAt" ] }, - "FakedSharedModelUpdate": { + "FakedSharedModelCreateOrUpdate": { "type": "object", "description": "Faked shared model", "properties": { @@ -532,7 +532,7 @@ "manufacturerId" ] }, - "WidgetSuiteUpdate": { + "WidgetSuiteCreateOrUpdate": { "type": "object", "description": "A widget.", "properties": { @@ -541,7 +541,7 @@ "description": "The ID of the widget's manufacturer." }, "sharedModel": { - "$ref": "#/definitions/FakedSharedModelUpdate", + "$ref": "#/definitions/FakedSharedModelCreateOrUpdate", "description": "The faked shared model." } }