Skip to content

Commit

Permalink
Remove local swagger and re-record (Azure#17753)
Browse files Browse the repository at this point in the history
* remove local swagger and re-record

* short circuit ignored test setups
  • Loading branch information
christothes authored and annelo-msft committed Feb 17, 2021
1 parent 3580b31 commit 763f3df
Show file tree
Hide file tree
Showing 210 changed files with 23,810 additions and 48,486 deletions.
14 changes: 7 additions & 7 deletions sdk/tables/Azure.Data.Tables/src/Generated/TableRestClient.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions sdk/tables/Azure.Data.Tables/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,17 @@ Run `dotnet build /t:GenerateCode` to generate code.
``` yaml
title: Azure.Data.Tables
input-file:
- $(this-folder)/swagger/table.json
- https://github.com/Azure/azure-rest-api-specs/blob/bda39d9be69b9e838eb41e5b71964a567a627cbc/specification/cosmos-db/data-plane/Microsoft.Tables/preview/2019-02-02/table.json
namespace: Azure.Data.Tables
include-csproj: disable
```
The direct swagger file reference is temporary until the following issue is addressed https://github.com/Azure/azure-sdk-for-net/issues/13559
### Fix Response type for QueryEntitiesWithPartitionAndRowKey
``` yaml
directive:
from: swagger-document
where: $.paths["/{table}(PartitionKey='{partitionKey}',RowKey='{rowKey}')"].get.responses
transform: >
$["200"].schema.$ref = "#/definitions/TableEntityProperties"
```
Loading

0 comments on commit 763f3df

Please sign in to comment.