Skip to content

Commit ef4d3ed

Browse files
author
Dan Schulte
committed
Add additional CDN swagger and schema
1 parent 19a6cc5 commit ef4d3ed

File tree

4 files changed

+3057
-2
lines changed

4 files changed

+3057
-2
lines changed

AutoRest/Generators/AzureResourceSchema/AzureResourceSchema.Tests/AcceptanceTests.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,13 @@ public static void Batch()
2424
}
2525

2626
[Fact]
27-
public static void Cdn()
27+
public static void Cdn_2015_06_01()
28+
{
29+
RunSwaggerTest("CDN", "2015-06-01", "cdn.json");
30+
}
31+
32+
[Fact]
33+
public static void Cdn_2016_04_02()
2834
{
2935
RunSwaggerTest("CDN", "2016-04-02", "cdn.json");
3036
}

AutoRest/Generators/AzureResourceSchema/AzureResourceSchema.Tests/AutoRest.Generator.AzureResourceSchema.Tests.csproj

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@
108108
<Content Include="Expected\DNS\2015-05-04-preview\Microsoft.Network.json">
109109
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
110110
</Content>
111+
<Content Include="Expected\CDN\2015-06-01\Microsoft.Cdn.json">
112+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
113+
</Content>
111114
<None Include="packages.config">
112115
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
113116
</None>
@@ -117,7 +120,7 @@
117120
<Content Include="Swagger\Batch\2015-12-01\BatchManagement.json">
118121
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
119122
</Content>
120-
<Content Include="Swagger\CDN\2016-04-02\cdn.json">
123+
<Content Include="Swagger\CDN\2015-06-01\cdn.json">
121124
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
122125
</Content>
123126
<Content Include="Swagger\Compute\2016-03-30\compute.json">
@@ -135,6 +138,9 @@
135138
<Content Include="Swagger\DNS\2015-05-04-preview\dns.json">
136139
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
137140
</Content>
141+
<Content Include="Swagger\CDN\2016-04-02\cdn.json">
142+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
143+
</Content>
138144
</ItemGroup>
139145
<ItemGroup>
140146
<ProjectReference Include="..\..\..\Modelers\Swagger.Tests\AutoRest.Modeler.Swagger.Tests.csproj">

0 commit comments

Comments
 (0)