Skip to content

Commit

Permalink
use directive to set api-version as client for Resources_GetById (#39141
Browse files Browse the repository at this point in the history
)
  • Loading branch information
live1206 committed Oct 8, 2023
1 parent 98b399f commit 495c70d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sdk/resourcemanager/Azure.ResourceManager/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,10 @@ directive:
where: $.definitions.ProviderExtendedLocation.properties.location
transform: >
$["x-ms-format"] = "azure-location"
- from: resources.json
where: $.paths["/{resourceId}"].get.parameters[?(@.name === "api-version")]
transform: >
delete $["x-ms-api-version"]
```

### Tag: package-management
Expand Down

0 comments on commit 495c70d

Please sign in to comment.