diff --git a/specification/healthdataaiservices/HealthDataAIServices.DeidServices/client.tsp b/specification/healthdataaiservices/HealthDataAIServices.DeidServices/client.tsp index 7f32ac296c13..f883a85fe5a8 100644 --- a/specification/healthdataaiservices/HealthDataAIServices.DeidServices/client.tsp +++ b/specification/healthdataaiservices/HealthDataAIServices.DeidServices/client.tsp @@ -13,6 +13,6 @@ namespace HealthDataAIServices.DeidServices { @@clientName(DeidentifyTextRequest.body, "content", "csharp"); @@clientName(Azure.Core.Foundations.OperationState, "operationStatus", - "csharp,java" + "csharp,java,python" ); } diff --git a/specification/healthdataaiservices/HealthDataAIServices.DeidServices/models_document_flow.tsp b/specification/healthdataaiservices/HealthDataAIServices.DeidServices/models_document_flow.tsp index 9b80fd8a218c..cef1fd1ca763 100644 --- a/specification/healthdataaiservices/HealthDataAIServices.DeidServices/models_document_flow.tsp +++ b/specification/healthdataaiservices/HealthDataAIServices.DeidServices/models_document_flow.tsp @@ -17,11 +17,11 @@ model DeidentificationJob { @maxLength(36) @minLength(3) // Must be 3 to match regex @pattern("^[a-zA-Z0-9][a-zA-Z0-9-_]+[a-zA-Z0-9]$") - @clientName("jobName", "csharp,java") + @clientName("jobName", "csharp,java,python") name: string; @doc("Operation to perform on the input documents.") - @clientName("operationType", "csharp,java") + @clientName("operationType", "csharp,java,python") operation?: DeidentificationOperationType = DeidentificationOperationType.Surrogate; @doc("Storage location to perform the operation on.") @@ -70,19 +70,19 @@ model DeidentificationJob { @doc("Summary metrics of a job.") model DeidentificationJobSummary { @doc("Number of documents that have completed.") - @clientName("successfulCount", "csharp,java") + @clientName("successfulCount", "csharp,java,python") successful: int32; @doc("Number of documents that have failed.") - @clientName("failedCount", "csharp,java") + @clientName("failedCount", "csharp,java,python") failed: int32; @doc("Number of documents that have been canceled.") - @clientName("canceledCount", "csharp,java") + @clientName("canceledCount", "csharp,java,python") canceled: int32; @doc("Number of documents total.") - @clientName("totalCount", "csharp,java") + @clientName("totalCount", "csharp,java,python") total: int32; @doc("Number of bytes processed.") @@ -100,11 +100,11 @@ model DeidentificationDocumentDetails { id: string; @doc("Location for the input.") - @clientName("inputLocation", "csharp,java") + @clientName("inputLocation", "csharp,java,python") input: DeidentificationDocumentLocation; @doc("Location for the output.") - @clientName("outputLocation", "csharp,java") + @clientName("outputLocation", "csharp,java,python") output?: DeidentificationDocumentLocation; @doc("Status of the document.") diff --git a/specification/healthdataaiservices/HealthDataAIServices.DeidServices/models_text_flow.tsp b/specification/healthdataaiservices/HealthDataAIServices.DeidServices/models_text_flow.tsp index 7042308aa758..20314a6df27d 100644 --- a/specification/healthdataaiservices/HealthDataAIServices.DeidServices/models_text_flow.tsp +++ b/specification/healthdataaiservices/HealthDataAIServices.DeidServices/models_text_flow.tsp @@ -12,7 +12,7 @@ model DeidentificationContent { inputText: string; @doc("Operation to perform on the input documents.") - @clientName("operationType", "csharp,java") + @clientName("operationType", "csharp,java,python") operation?: DeidentificationOperationType = DeidentificationOperationType.Surrogate; @doc("Customization parameters to override default service behaviors.") diff --git a/specification/healthdataaiservices/HealthDataAIServices.DeidServices/tspconfig.yaml b/specification/healthdataaiservices/HealthDataAIServices.DeidServices/tspconfig.yaml index b43cf39d313c..0ba4f7535be9 100644 --- a/specification/healthdataaiservices/HealthDataAIServices.DeidServices/tspconfig.yaml +++ b/specification/healthdataaiservices/HealthDataAIServices.DeidServices/tspconfig.yaml @@ -16,8 +16,8 @@ options: namespace: "azure.health.deidentification" package-mode: dataplane flavor: azure - generate-test: true - generate-sample: true + generate-test: false + generate-sample: false "@azure-tools/typespec-csharp": package-dir: "Azure.Health.Deidentification" namespace: "{package-dir}"