Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions sdk/digitaltwins/Azure.DigitalTwins.Core/src/autorest.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@

Run `generate.ps1` in this directory to generate the code.

### AutoRest Configuration
> see https://aka.ms/autorest
## AutoRest Configuration

``` yaml
#when generating from local changes:
input-file: $(this-folder)/swagger/digitaltwins.json
> see <https://aka.ms/autorest>

``` yaml
#when generating from official source
#require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/c3dd5df2863101b56eef256b810927cdcc4e44d2/specification/digitaltwins/data-plane/readme.md
input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/digitaltwins/data-plane/Microsoft.DigitalTwins/preview/2020-05-31-preview/digitaltwins.json

#if you want to generate using local changes:
#input-file: $(this-folder)/swagger/2020-05-31-preview/digitaltwins.json

#azure-arm: true
#license-header: MICROSOFT_MIT_NO_VERSION
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Azure DigitalTwins swagger

## Local copy of the swagger document

A local copy of the official swagger documents are stored in this directory for convenience and testing purposes. Please make sure that you do not use these swagger documents for official code generation purposes.

## Official swagger document

The official swagger specification for Azure DigitalTwins can be found [here](https://github.com/Azure/azure-rest-api-specs/tree/master/specification/digitaltwins/data-plane/Microsoft.DigitalTwins).