From f0d6fb9228518f963d2407e49cad2dd403db6f18 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Tue, 16 Jul 2024 12:53:40 +0800 Subject: [PATCH] easm, java sdk, tspconfig api-version=2023-03-01-preview, fix 1 BodyParameter (#29839) * easm, java sdk, tspconfig api-version 2023-03-01-preview * BodyParameter --- specification/riskiq/Easm/routes.tsp | 2 +- specification/riskiq/Easm/tspconfig.yaml | 1 + .../Microsoft.Easm/preview/2023-03-01-preview/easm.json | 1 + .../Microsoft.Easm/preview/2024-03-01-preview/easm.json | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/specification/riskiq/Easm/routes.tsp b/specification/riskiq/Easm/routes.tsp index 396f815f0489..3d0749b5b354 100644 --- a/specification/riskiq/Easm/routes.tsp +++ b/specification/riskiq/Easm/routes.tsp @@ -136,7 +136,7 @@ interface DiscoveryGroups { @clientName("CreateOrReplaceDiscoveryGroup", "csharp") createOrReplaceDiscoGroup is Foundations.ResourceOperation< DiscoGroup, - DiscoGroupData, + BodyParameter, DiscoGroup >; @doc("Run a discovery group with a given groupName.") diff --git a/specification/riskiq/Easm/tspconfig.yaml b/specification/riskiq/Easm/tspconfig.yaml index 2f6eaacb276e..15aadb491724 100644 --- a/specification/riskiq/Easm/tspconfig.yaml +++ b/specification/riskiq/Easm/tspconfig.yaml @@ -31,3 +31,4 @@ options: namespace: com.azure.analytics.defender.easm partial-update: true flavor: azure + api-version: "2023-03-01-preview" diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json index 2979f3851472..47473755a586 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2023-03-01-preview/easm.json @@ -577,6 +577,7 @@ { "name": "body", "in": "body", + "description": "Body parameter.", "required": true, "schema": { "$ref": "#/definitions/DiscoGroupData" diff --git a/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/easm.json b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/easm.json index dce621013446..28fe10ab0078 100644 --- a/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/easm.json +++ b/specification/riskiq/data-plane/Microsoft.Easm/preview/2024-03-01-preview/easm.json @@ -894,6 +894,7 @@ { "name": "body", "in": "body", + "description": "Body parameter.", "required": true, "schema": { "$ref": "#/definitions/DiscoGroupData"