This is the AutoRest configuration file for Azure Digital Twins.
To build the SDKs for My API, simply install AutoRest via npm
(npm install -g autorest
) and then run:
autorest readme.md
To see additional help and options, run:
autorest --help
For other options on installation see Installing AutoRest on the AutoRest github page.
These are the global settings for Azure Digital Twins.
openapi-type: data-plane
tag: package-preview-2023-02-27
These settings apply only when --tag=package-preview-2023-02-27
is specified on the command line.
input-file:
- Microsoft.DigitalTwins/preview/2023-02-27-preview/digitaltwins.json
These settings apply only when --tag=package-2022-05-31
is specified on the command line.
input-file:
- Microsoft.DigitalTwins/stable/2022-05-31/digitaltwins.json
These settings apply only when --tag=package-2021-06-30-preview
is specified on the command line.
input-file:
- Microsoft.DigitalTwins/preview/2021-06-30-preview/digitaltwins.json
These settings apply only when --tag=package-2020-10-31
is specified on the command line.
input-file:
- Microsoft.DigitalTwins/stable/2020-10-31/digitaltwins.json
These settings apply only when --tag=package-2020-05-31-preview
is specified on the command line.
input-file:
- Microsoft.DigitalTwins/preview/2020-05-31-preview/digitaltwins.json
This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-net-track2
See configuration in readme.go.md
See configuration in readme.python.md
See configuration in readme.ruby.md
See configuration in readme.typescript.md
See configuration in readme.csharp.md
See configuration in readme.java.md
AutoRest V3 generators require the use of --tag=all-api-versions
to select api files.
This block is updated by an automatic script. Edits may be lost!
# include the azure profile definitions from the standard location
require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
- $(this-folder)/Microsoft.DigitalTwins/preview/2020-05-31-preview/digitaltwins.json
If there are files that should not be in the all-api-versions
set,
uncomment the exclude-file
section below and add the file paths.
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json