Skip to content

Commit

Permalink
sql readme.go.md directive (#24610)
Browse files Browse the repository at this point in the history
* sql readme.go.md directive

* rename to ServerPrivateEndpointConnectionProperties

* lenient-model-deduplication
  • Loading branch information
Alancere authored Jul 25, 2023
1 parent eba34b9 commit edd7863
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions specification/sql/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit edd7863

Please sign in to comment.