diff --git a/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.4/TextAnalytics.json b/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.4/TextAnalytics.json index 549872bf26e3..4021287a3b78 100644 --- a/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.4/TextAnalytics.json +++ b/specification/cognitiveservices/data-plane/TextAnalytics/preview/v3.1-preview.4/TextAnalytics.json @@ -1084,10 +1084,7 @@ "results": { "$ref": "#/definitions/EntitiesResult" } - }, - "required": [ - "results" - ] + } } ] } @@ -1106,10 +1103,7 @@ "results": { "$ref": "#/definitions/PiiResult" } - }, - "required": [ - "results" - ] + } } ] } @@ -1128,15 +1122,12 @@ "results": { "$ref": "#/definitions/KeyPhraseResult" } - }, - "required": [ - "results" - ] + } } ] } }, - "EntityLinkingTasks": { + "entityLinkingTasks": { "type": "array", "items": { "type": "object", @@ -1150,10 +1141,7 @@ "results": { "$ref": "#/definitions/EntityLinkingResult" } - }, - "required": [ - "results" - ] + } } ] } diff --git a/specification/cognitiveservices/data-plane/TextAnalytics/readme.md b/specification/cognitiveservices/data-plane/TextAnalytics/readme.md index d6636231d1ba..b07b93f21f93 100644 --- a/specification/cognitiveservices/data-plane/TextAnalytics/readme.md +++ b/specification/cognitiveservices/data-plane/TextAnalytics/readme.md @@ -100,6 +100,14 @@ These settings apply only when `--tag=release_3_1_preview.3` is specified on the input-file: preview/v3.1-preview.3/TextAnalytics.json ``` +### Release 3.1-Preview.4 + +These settings apply only when `--tag=release_3_1_preview.4` is specified on the command line. + +```yaml $(tag) == 'release_3_1_preview.4' +input-file: preview/v3.1-preview.4/TextAnalytics.json +``` + ## Swagger to SDK This section describes what SDK should be generated by the automatic system. @@ -133,32 +141,7 @@ csharp: ## Python -These settings apply only when `--python` is specified on the command line. -Please also specify `--python-sdks-folder=`. -Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. - -``` yaml $(python) -python-mode: create -python: - license-header: MICROSOFT_MIT_NO_VERSION - add-credentials: true - payload-flattening-threshold: 2 - namespace: azure.cognitiveservices.language.textanalytics - package-name: azure-cognitiveservices-language-textanalytics - clear-output-folder: true -``` - -``` yaml $(python) && $(python-mode) == 'update' -python: - no-namespace-folders: true - output-folder: $(python-sdks-folder)/cognitiveservices/azure-cognitiveservices-language-textanalytics/azure/cognitiveservices/language/textanalytics -``` - -``` yaml $(python) && $(python-mode) == 'create' -python: - basic-setup-py: true - output-folder: $(python-sdks-folder)/cognitiveservices/azure-cognitiveservices-language-textanalytics -``` +See configuration in [readme.python.md](./readme.python.md) ## Go @@ -179,12 +162,3 @@ java: with-optional-parameters: true with-single-async-method: true ``` -### Tag: package-preview-v3.1-preview.4 - -These settings apply only when `--tag=package-preview-v3.1-preview.4` is specified on the command line. - -```yaml $(tag) == 'package-preview-v3.1-preview.4' -input-file: - - preview/v3.1-preview.4/TextAnalytics.json -``` -` \ No newline at end of file diff --git a/specification/cognitiveservices/data-plane/TextAnalytics/readme.python.md b/specification/cognitiveservices/data-plane/TextAnalytics/readme.python.md index 5370c10e8141..f1f64c8a2a92 100644 --- a/specification/cognitiveservices/data-plane/TextAnalytics/readme.python.md +++ b/specification/cognitiveservices/data-plane/TextAnalytics/readme.python.md @@ -10,6 +10,7 @@ license-header: MICROSOFT_MIT_NO_VERSION add-credentials: true payload-flattening-threshold: 2 package-name: azure-ai-textanalytics +package-version: 0.0.1 clear-output-folder: true credential-scopes: https://cognitiveservices.azure.com/.default no-namespace-folders: true @@ -20,6 +21,7 @@ batch: - tag: release_3_0 - tag: release_3_1_preview.2 - tag: release_3_1_preview.3 + - tag: release_3_1_preview.4 - multiapiscript: true ``` @@ -52,4 +54,10 @@ output-folder: $(python-sdks-folder)/textanalytics/azure-ai-textanalytics/azure/ ``` yaml $(tag) == 'release_3_1_preview.3' namespace: azure.ai.textanalytics.v3_1_preview_3 output-folder: $(python-sdks-folder)/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/v3_1_preview_3 +``` + +### Tag: release_3_1_preview_4 +``` yaml $(tag) == 'release_3_1_preview.4' +namespace: azure.ai.textanalytics.v3_1_preview_4 +output-folder: $(python-sdks-folder)/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/v3_1_preview_4 ``` \ No newline at end of file