diff --git a/sdk/digitaltwins/Microsoft.Azure.Management.DigitalTwins/src/autorest.md b/sdk/digitaltwins/Microsoft.Azure.Management.DigitalTwins/src/autorest.md deleted file mode 100644 index 751d4e39ca32e..0000000000000 --- a/sdk/digitaltwins/Microsoft.Azure.Management.DigitalTwins/src/autorest.md +++ /dev/null @@ -1,10 +0,0 @@ -# Generated code configuration - -Run `dotnet build /t:GenerateCode` to generate code. - -``` yaml -azure-arm: true -input-file: - - https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2020-10-31/digitaltwins.json -require: https://github.com/Azure/azure-rest-api-specs/blob/02aa7ac3e1c3e7649a6b8aad0a9de635cdd8f62a/specification/digitaltwins/resource-manager/readme.md -``` diff --git a/sdk/digitaltwins/Microsoft.Azure.Management.DigitalTwins/src/generate.ps1 b/sdk/digitaltwins/Microsoft.Azure.Management.DigitalTwins/src/generate.ps1 index e9d5ee9d7470a..390f3f8f611f1 100644 --- a/sdk/digitaltwins/Microsoft.Azure.Management.DigitalTwins/src/generate.ps1 +++ b/sdk/digitaltwins/Microsoft.Azure.Management.DigitalTwins/src/generate.ps1 @@ -1,3 +1,8 @@ +# Important to note: +# Configuration for the code generation including target swagger file and code generation settings can be found here: +# https://github.com/Azure/azure-rest-api-specs/tree/master/specification/digitaltwins/resource-manager + + try { Start-AutoRestCodeGeneration -ResourceProvider "digitaltwins/resource-manager" -AutoRestVersion "v2"