From edd7863aeaad7379a7a8eef424ca11617d8c91eb Mon Sep 17 00:00:00 2001 From: Peng Jiahui <46921893+Alancere@users.noreply.github.com> Date: Tue, 25 Jul 2023 14:45:32 +0800 Subject: [PATCH] sql readme.go.md directive (#24610) * sql readme.go.md directive * rename to ServerPrivateEndpointConnectionProperties * lenient-model-deduplication --- specification/sql/resource-manager/readme.go.md | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/specification/sql/resource-manager/readme.go.md b/specification/sql/resource-manager/readme.go.md index 1bbdb6637405..9b5d03836ea5 100644 --- a/specification/sql/resource-manager/readme.go.md +++ b/specification/sql/resource-manager/readme.go.md @@ -26,14 +26,9 @@ directive: - rename-model: from: 'SqlVulnerabilityAssessmentScanError' to: 'VulnerabilityAssessmentScanForSqlError' -- from: swagger-document - where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}"].get.parameters[2] - transform: > - $["x-ms-enum"].name = "SQLVulnerabilityAssessmentName" -- from: swagger-document - where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}"].get.parameters[3] - transform: > - $["x-ms-enum"].name = "SQLVulnerabilityAssessmentName" +- from: Servers.json + where: $.definitions.PrivateEndpointConnectionProperties + transform: $['x-ms-client-name'] = "ServerPrivateEndpointConnectionProperties"; ``` ``` yaml $(go) && !$(track2)