Skip to content

Commit

Permalink
removing hard-coded api-version (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
vandriot authored Jan 31, 2024
1 parent 2848565 commit e563b3e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions tools/code/common/PolicyFragment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ public sealed record PolicyFragmentsUri : IArtifactUri

public PolicyFragmentsUri(ServiceUri serviceUri)
{
Uri = serviceUri.AppendPath("policyFragments")
.SetQueryParam("api-version", "2022-04-01-preview")
.ToUri();
Uri = serviceUri.AppendPath("policyFragments");
}
}

Expand Down
1 change: 0 additions & 1 deletion tools/code/extractor/Api.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ private static async ValueTask<Stream> DownloadSpecificationFile(ApiUri apiUri,
{
var exportUri = apiUri.Uri.SetQueryParam("format", format)
.SetQueryParam("export", "true")
.SetQueryParam("api-version", "2021-08-01")
.ToUri();

var exportResponse = await getRestResource(exportUri, cancellationToken);
Expand Down

0 comments on commit e563b3e

Please sign in to comment.