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

Duplicate file generation SensitivityLabels.java #323

Closed
anuchandy opened this issue Feb 6, 2019 · 2 comments
Closed

Duplicate file generation SensitivityLabels.java #323

anuchandy opened this issue Feb 6, 2019 · 2 comments

Comments

@anuchandy
Copy link
Member

Attempting to generate from Microsoft.Sql/preview/2017-03-01-preview/sensitivityLabels.json failed with

FATAL: System.Exception: Duplicate File Generation: src/main/java/com/microsoft/azure/management/sql/v2017_03_01_preview/SensitivityLabels.java
   at AutoRest.Core.CodeGenerator.<Write>d__13.MoveNext() in /home/vsts/work/1/s/autorest.common/src/CodeGenerator.cs:line 151
-

The segment causing failure is:

/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/recommendedSensitivityLabels

@anuchandy
Copy link
Member Author

Related failing PR: Azure/azure-rest-api-specs#5148

@jianghaolu
Copy link
Contributor

Please try the new v4 generator and reopen if it's still an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants