Skip to content

Latest commit

 

History

History
146 lines (90 loc) · 3.55 KB

File metadata and controls

146 lines (90 loc) · 3.55 KB

Azure Digital Twins

see https://aka.ms/autorest

This is the AutoRest configuration file for Azure Digital Twins.

Getting Started

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.


Configuration

Basic Information

These are the global settings for Azure Digital Twins.

openapi-type: data-plane
tag: package-2023-06-30

Tag: package-2023-06-30

These settings apply only when --tag=package-2023-06-30 is specified on the command line.

input-file:
  - Microsoft.DigitalTwins/stable/2023-06-30/digitaltwins.json

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

Tag: package-2022-05-31

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

Tag: package-2021-06-30-preview

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

Tag: package-2020-10-31

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

Tag: package-2020-05-31-preview

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

Code Generation

Swagger to SDK

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

Go

See configuration in readme.go.md

Python

See configuration in readme.python.md

Ruby

See configuration in readme.ruby.md

TypeScript

See configuration in readme.typescript.md

CSharp

See configuration in readme.csharp.md

Java

See configuration in readme.java.md

Multi-API/Profile support for AutoRest v3 generators

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