Skip to content

Commit

Permalink
Add DevTestLabs acceptance test. Add 'format' property to JsonSchema
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Schulte committed May 31, 2016
1 parent 242834c commit 1a9e4e5
Show file tree
Hide file tree
Showing 12 changed files with 6,234 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ public static void DataLakeStore_2015_10_01_preview()
RunSwaggerTest("DataLakeStore", "2015-10-01-preview", "account.json");
}

[Fact]
public static void DevTestLabs_2015_05_21_preview()
{
RunSwaggerTest("DevTestLabs", "2015-05-21-preview", "DTL.json");
}

[Fact]
public static void Dns_2015_05_04_preview()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@
<Content Include="Expected\DataLakeStore\2015-10-01-preview\Microsoft.DataLakeStore.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Expected\DevTestLabs\2015-05-21-preview\Microsoft.DevTestLabs.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="packages.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
Expand Down Expand Up @@ -192,6 +195,9 @@
<Content Include="Swagger\Web\2015-08-01\web.yaml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Swagger\DevTestLabs\2015-05-21-preview\DTL.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Modelers\Swagger.Tests\AutoRest.Modeler.Swagger.Tests.csproj">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@
},
"time": {
"type": "string",
"format": "date-time",
"description": "Gets or sets the time of the status."
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,7 @@
},
"time": {
"type": "string",
"format": "date-time",
"description": "Gets or sets the time of the status."
}
},
Expand Down
Loading

0 comments on commit 1a9e4e5

Please sign in to comment.