diff --git a/specification/communication/data-plane/readme.csharp.md b/specification/communication/data-plane/Microsoft.CommunicationServicesAdministration/readme.csharp.md similarity index 100% rename from specification/communication/data-plane/readme.csharp.md rename to specification/communication/data-plane/Microsoft.CommunicationServicesAdministration/readme.csharp.md diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesAdministration/readme.md b/specification/communication/data-plane/Microsoft.CommunicationServicesAdministration/readme.md new file mode 100644 index 000000000000..65345bcd60c4 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesAdministration/readme.md @@ -0,0 +1,66 @@ +# communicationservices + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for communicationservices. + +## 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](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the communicationservices. + +```yaml +openapi-type: data-plane +tag: package-2020-07-20-preview1 +``` + +### Tag: package-2020-07-20-preview1 + +These settings apply only when `--tag=package-2020-07-20-preview1` is specified on the command line. + +```yaml $(tag) == 'package-2020-07-20-preview1' +input-file: + - preview/2020-07-20-preview1/communicationservicesadministration.json +title: + Azure Communication Services +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Ruby + +See configuration in [readme.ruby.md](./readme.ruby.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) diff --git a/specification/communication/data-plane/readme.python.md b/specification/communication/data-plane/Microsoft.CommunicationServicesAdministration/readme.python.md similarity index 100% rename from specification/communication/data-plane/readme.python.md rename to specification/communication/data-plane/Microsoft.CommunicationServicesAdministration/readme.python.md diff --git a/specification/communication/data-plane/readme.ruby.md b/specification/communication/data-plane/Microsoft.CommunicationServicesAdministration/readme.ruby.md similarity index 100% rename from specification/communication/data-plane/readme.ruby.md rename to specification/communication/data-plane/Microsoft.CommunicationServicesAdministration/readme.ruby.md diff --git a/specification/communication/data-plane/readme.typescript.md b/specification/communication/data-plane/Microsoft.CommunicationServicesAdministration/readme.typescript.md similarity index 100% rename from specification/communication/data-plane/readme.typescript.md rename to specification/communication/data-plane/Microsoft.CommunicationServicesAdministration/readme.typescript.md diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesChat/readme.csharp.md b/specification/communication/data-plane/Microsoft.CommunicationServicesChat/readme.csharp.md new file mode 100644 index 000000000000..2efd3715cdc3 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesChat/readme.csharp.md @@ -0,0 +1,15 @@ +## C + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +```yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 1 + clear-output-folder: true + client-side-validation: false + namespace: Microsoft.CommunicationServices + output-folder: $(csharp-sdks-folder)/communicationservices/management/Microsoft.CommunicationServices/GeneratedProtocol +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesChat/readme.md b/specification/communication/data-plane/Microsoft.CommunicationServicesChat/readme.md new file mode 100644 index 000000000000..e3a45fb78fe4 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesChat/readme.md @@ -0,0 +1,110 @@ +# communicationservices + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for communicationservices. + +## 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](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the communicationservices. + +```yaml +openapi-type: data-plane +tag: package-2020-07-20-preview1 +``` + +### Tag: package-2020-09-21-preview2 + +These settings apply only when `--tag=package-2020-09-21-preview2` is specified on the command line. + +```yaml $(tag) == 'package-2020-09-21-preview2' +input-file: + - preview/2020-09-21-preview2/communicationserviceschat.json +title: + Azure Communication Services +``` + +### Tag: package-2020-11-01-preview3 + +These settings apply only when `--tag=package-2020-11-01-preview3` is specified on the command line. + +```yaml $(tag) == 'package-2020-11-01-preview3' +input-file: + - preview/2020-11-01-preview3/communicationserviceschat.json +title: + Azure Communication Services +``` + +### Tag: package-2021-01-27-preview4 + +These settings apply only when `--tag=package-2021-01-27-preview4` is specified on the command line. + +```yaml $(tag) == 'package-2021-01-27-preview4' +input-file: + - preview/2021-01-27-preview4/communicationserviceschat.json +title: + Azure Communication Services +``` + +### Tag: package-2021-03-01-preview5 + +These settings apply only when `--tag=package-2021-03-01-preview5` is specified on the command line. + +```yaml $(tag) == 'package-2021-03-01-preview5' +input-file: + - preview/2021-03-01-preview5/communicationserviceschat.json +title: + Azure Communication Services +``` + +### Tag: package-chat-2021-03-07 + +These settings apply only when `--tag=package-chat-2021-03-07` is specified on the command line. + +```yaml $(tag) == 'package-chat-2021-03-07' +input-file: + - stable/2021-03-07/communicationserviceschat.json +title: + Azure Communication Services +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Ruby + +See configuration in [readme.ruby.md](./readme.ruby.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesChat/readme.python.md b/specification/communication/data-plane/Microsoft.CommunicationServicesChat/readme.python.md new file mode 100644 index 000000000000..f7f55ff2159b --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesChat/readme.python.md @@ -0,0 +1,21 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +```yaml $(python) +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: Microsoft.CommunicationServices + package-name: communicationservices + package-version: 2020-04-16-privatepreview + clear-output-folder: true +``` + +```yaml $(python) +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/azure-mgmt/communicationservices +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesChat/readme.ruby.md b/specification/communication/data-plane/Microsoft.CommunicationServicesChat/readme.ruby.md new file mode 100644 index 000000000000..f521ab44dbf5 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesChat/readme.ruby.md @@ -0,0 +1,19 @@ +## Ruby + +These settings apply only when `--ruby` is specified on the command line. + +```yaml +package-name: azure_mgmt_communicationservices +package-version: 2020-04-16-privatepreview +azure-arm: true +``` + +### Tag: package-2020-04-16-privatepreview and ruby + +These settings apply only when `--tag=package-2020-04-16-privatepreview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +```yaml $(tag) == 'package-2020-04-16-privatepreview' && $(ruby) +namespace: Microsoft.CommunicationServices +output-folder: $(ruby-sdks-folder)/communicationservices +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesChat/readme.typescript.md b/specification/communication/data-plane/Microsoft.CommunicationServicesChat/readme.typescript.md new file mode 100644 index 000000000000..be9f877fd1c2 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesChat/readme.typescript.md @@ -0,0 +1,13 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) +typescript: + azure-arm: true + package-name: "communicationservices" + output-folder: "$(typescript-sdks-folder)/packages/communicationservices" + payload-flattening-threshold: 1 + generate-metadata: true +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesCommon/readme.csharp.md b/specification/communication/data-plane/Microsoft.CommunicationServicesCommon/readme.csharp.md new file mode 100644 index 000000000000..2efd3715cdc3 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesCommon/readme.csharp.md @@ -0,0 +1,15 @@ +## C + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +```yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 1 + clear-output-folder: true + client-side-validation: false + namespace: Microsoft.CommunicationServices + output-folder: $(csharp-sdks-folder)/communicationservices/management/Microsoft.CommunicationServices/GeneratedProtocol +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesCommon/readme.md b/specification/communication/data-plane/Microsoft.CommunicationServicesCommon/readme.md new file mode 100644 index 000000000000..1acbf9c0e495 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesCommon/readme.md @@ -0,0 +1,73 @@ +# communicationservices + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for communicationservices. + +## 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](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the communicationservices. + +```yaml +openapi-type: data-plane +tag: package-2020-07-20-preview1 +``` + + +### Tag: package-common-2020-11-19-preview1 + +These settings apply only when `--tag=package-common-2020-11-19-preview1` is specified on the command line. + +```yaml $(tag) == 'package-common-2020-11-19-preview1' +input-file: + - preview/2020-11-19-preview1/common.json +``` + +### Tag: package-2021-03-07-stable +These settings apply only when `--tag=package-2021-03-07-stable` is specified on the command line. + +```yaml $(tag) == 'package-2020-11-19-preview1' +input-file: + - stable/2021-03-07/common.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. + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Ruby + +See configuration in [readme.ruby.md](./readme.ruby.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesCommon/readme.python.md b/specification/communication/data-plane/Microsoft.CommunicationServicesCommon/readme.python.md new file mode 100644 index 000000000000..f7f55ff2159b --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesCommon/readme.python.md @@ -0,0 +1,21 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +```yaml $(python) +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: Microsoft.CommunicationServices + package-name: communicationservices + package-version: 2020-04-16-privatepreview + clear-output-folder: true +``` + +```yaml $(python) +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/azure-mgmt/communicationservices +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesCommon/readme.ruby.md b/specification/communication/data-plane/Microsoft.CommunicationServicesCommon/readme.ruby.md new file mode 100644 index 000000000000..f521ab44dbf5 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesCommon/readme.ruby.md @@ -0,0 +1,19 @@ +## Ruby + +These settings apply only when `--ruby` is specified on the command line. + +```yaml +package-name: azure_mgmt_communicationservices +package-version: 2020-04-16-privatepreview +azure-arm: true +``` + +### Tag: package-2020-04-16-privatepreview and ruby + +These settings apply only when `--tag=package-2020-04-16-privatepreview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +```yaml $(tag) == 'package-2020-04-16-privatepreview' && $(ruby) +namespace: Microsoft.CommunicationServices +output-folder: $(ruby-sdks-folder)/communicationservices +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesCommon/readme.typescript.md b/specification/communication/data-plane/Microsoft.CommunicationServicesCommon/readme.typescript.md new file mode 100644 index 000000000000..be9f877fd1c2 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesCommon/readme.typescript.md @@ -0,0 +1,13 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) +typescript: + azure-arm: true + package-name: "communicationservices" + output-folder: "$(typescript-sdks-folder)/packages/communicationservices" + payload-flattening-threshold: 1 + generate-metadata: true +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesIdentity/readme.csharp.md b/specification/communication/data-plane/Microsoft.CommunicationServicesIdentity/readme.csharp.md new file mode 100644 index 000000000000..210c5e5fb22a --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesIdentity/readme.csharp.md @@ -0,0 +1,14 @@ +## C + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +```yaml $(csharp) +csharp: + azure-arm: false + license-header: MICROSOFT_MIT_NO_VERSION + clear-output-folder: true + client-side-validation: false + namespace: Microsoft.CommunicationServices + output-folder: $(csharp-sdks-folder)/communicationservices/management/Microsoft.CommunicationServices/GeneratedProtocol +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesIdentity/readme.md b/specification/communication/data-plane/Microsoft.CommunicationServicesIdentity/readme.md new file mode 100644 index 000000000000..109951097191 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesIdentity/readme.md @@ -0,0 +1,85 @@ +# communicationservices + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for communicationservices. + +## 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](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the communicationservices. + +```yaml +openapi-type: data-plane +tag: package-2020-07-20-preview1 +``` + + +### Tag: package-2020-07-20-preview2 + +These settings apply only when `--tag=package-2020-07-20-preview2` is specified on the command line. + +```yaml $(tag) == 'package-2020-07-20-preview2' +input-file: + - preview/2020-07-20-preview2/CommunicationIdentity.json +``` + +### Tag: package-2021-03-07 + +These settings apply only when `--tag=package-2021-03-07` is specified on the command line. + +```yaml $(tag) == 'package-2021-03-07' +input-file: + - stable/2021-03-07/CommunicationIdentity.json +title: + Azure Communication Services +``` + +### Tag: package-2021-02-22-preview1 + +These settings apply only when `--tag=package-2021-02-22-preview1` is specified on the command line. + +```yaml $(tag) == 'package-2021-02-22-preview1' +input-file: + - preview/2021-02-22-preview1/CommunicationIdentity.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. + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Ruby + +See configuration in [readme.ruby.md](./readme.ruby.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesIdentity/readme.python.md b/specification/communication/data-plane/Microsoft.CommunicationServicesIdentity/readme.python.md new file mode 100644 index 000000000000..f7f55ff2159b --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesIdentity/readme.python.md @@ -0,0 +1,21 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +```yaml $(python) +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: Microsoft.CommunicationServices + package-name: communicationservices + package-version: 2020-04-16-privatepreview + clear-output-folder: true +``` + +```yaml $(python) +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/azure-mgmt/communicationservices +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesIdentity/readme.ruby.md b/specification/communication/data-plane/Microsoft.CommunicationServicesIdentity/readme.ruby.md new file mode 100644 index 000000000000..f521ab44dbf5 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesIdentity/readme.ruby.md @@ -0,0 +1,19 @@ +## Ruby + +These settings apply only when `--ruby` is specified on the command line. + +```yaml +package-name: azure_mgmt_communicationservices +package-version: 2020-04-16-privatepreview +azure-arm: true +``` + +### Tag: package-2020-04-16-privatepreview and ruby + +These settings apply only when `--tag=package-2020-04-16-privatepreview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +```yaml $(tag) == 'package-2020-04-16-privatepreview' && $(ruby) +namespace: Microsoft.CommunicationServices +output-folder: $(ruby-sdks-folder)/communicationservices +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesIdentity/readme.typescript.md b/specification/communication/data-plane/Microsoft.CommunicationServicesIdentity/readme.typescript.md new file mode 100644 index 000000000000..be9f877fd1c2 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesIdentity/readme.typescript.md @@ -0,0 +1,13 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) +typescript: + azure-arm: true + package-name: "communicationservices" + output-folder: "$(typescript-sdks-folder)/packages/communicationservices" + payload-flattening-threshold: 1 + generate-metadata: true +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesPhoneNumbers/readme.csharp.md b/specification/communication/data-plane/Microsoft.CommunicationServicesPhoneNumbers/readme.csharp.md new file mode 100644 index 000000000000..2efd3715cdc3 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesPhoneNumbers/readme.csharp.md @@ -0,0 +1,15 @@ +## C + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +```yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 1 + clear-output-folder: true + client-side-validation: false + namespace: Microsoft.CommunicationServices + output-folder: $(csharp-sdks-folder)/communicationservices/management/Microsoft.CommunicationServices/GeneratedProtocol +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesPhoneNumbers/readme.md b/specification/communication/data-plane/Microsoft.CommunicationServicesPhoneNumbers/readme.md new file mode 100644 index 000000000000..69bedd68901b --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesPhoneNumbers/readme.md @@ -0,0 +1,77 @@ +# communicationservices + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for communicationservices. + +## 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](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the communicationservices. + +```yaml +openapi-type: data-plane +tag: package-2020-07-20-preview1 +``` + +### Tag: package-phonenumber-2021-03-07 + +These settings apply only when `--tag=package-phonenumber-2021-03-07` is specified on the command line. + +```yaml $(tag) == 'package-phonenumber-2021-03-07' +input-file: + - stable/2021-03-07/phonenumbers.json +title: + Azure Communication Services +``` + +## Supression +``` yaml +directive: + - from: + - phonenumbers.json + suppress: + - R2005 #Long running operation status code + reason: + - Approval from Azure review board that Long Running Operations can return 202s. +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Ruby + +See configuration in [readme.ruby.md](./readme.ruby.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesPhoneNumbers/readme.python.md b/specification/communication/data-plane/Microsoft.CommunicationServicesPhoneNumbers/readme.python.md new file mode 100644 index 000000000000..f7f55ff2159b --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesPhoneNumbers/readme.python.md @@ -0,0 +1,21 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +```yaml $(python) +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: Microsoft.CommunicationServices + package-name: communicationservices + package-version: 2020-04-16-privatepreview + clear-output-folder: true +``` + +```yaml $(python) +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/azure-mgmt/communicationservices +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesPhoneNumbers/readme.ruby.md b/specification/communication/data-plane/Microsoft.CommunicationServicesPhoneNumbers/readme.ruby.md new file mode 100644 index 000000000000..f521ab44dbf5 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesPhoneNumbers/readme.ruby.md @@ -0,0 +1,19 @@ +## Ruby + +These settings apply only when `--ruby` is specified on the command line. + +```yaml +package-name: azure_mgmt_communicationservices +package-version: 2020-04-16-privatepreview +azure-arm: true +``` + +### Tag: package-2020-04-16-privatepreview and ruby + +These settings apply only when `--tag=package-2020-04-16-privatepreview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +```yaml $(tag) == 'package-2020-04-16-privatepreview' && $(ruby) +namespace: Microsoft.CommunicationServices +output-folder: $(ruby-sdks-folder)/communicationservices +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesPhoneNumbers/readme.typescript.md b/specification/communication/data-plane/Microsoft.CommunicationServicesPhoneNumbers/readme.typescript.md new file mode 100644 index 000000000000..be9f877fd1c2 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesPhoneNumbers/readme.typescript.md @@ -0,0 +1,13 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) +typescript: + azure-arm: true + package-name: "communicationservices" + output-folder: "$(typescript-sdks-folder)/packages/communicationservices" + payload-flattening-threshold: 1 + generate-metadata: true +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesSms/readme.csharp.md b/specification/communication/data-plane/Microsoft.CommunicationServicesSms/readme.csharp.md new file mode 100644 index 000000000000..2efd3715cdc3 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesSms/readme.csharp.md @@ -0,0 +1,15 @@ +## C + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +```yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 1 + clear-output-folder: true + client-side-validation: false + namespace: Microsoft.CommunicationServices + output-folder: $(csharp-sdks-folder)/communicationservices/management/Microsoft.CommunicationServices/GeneratedProtocol +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesSms/readme.md b/specification/communication/data-plane/Microsoft.CommunicationServicesSms/readme.md new file mode 100644 index 000000000000..d4cf1160c110 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesSms/readme.md @@ -0,0 +1,77 @@ +# communicationservices + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for communicationservices. + +## 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](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the communicationservices. + +```yaml +openapi-type: data-plane +tag: package-2020-07-20-preview1 +``` + +### Tag: package-2020-07-20-preview1 + +These settings apply only when `--tag=package-2020-07-20-preview1` is specified on the command line. + +```yaml $(tag) == 'package-2020-07-20-preview1' +input-file: + - preview/2020-07-20-preview1/communicationservicessms.json +title: + Azure Communication Services +``` + +### Tag: package-sms-2021-03-07 + +These settings apply only when `--tag=package-sms-2021-03-07` is specified on the command line. + +```yaml $(tag) == 'package-sms-2021-03-07' +input-file: + - stable/2021-03-07/communicationservicessms.json +title: + Azure Communication Services +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Ruby + +See configuration in [readme.ruby.md](./readme.ruby.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesSms/readme.python.md b/specification/communication/data-plane/Microsoft.CommunicationServicesSms/readme.python.md new file mode 100644 index 000000000000..f7f55ff2159b --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesSms/readme.python.md @@ -0,0 +1,21 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +```yaml $(python) +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: Microsoft.CommunicationServices + package-name: communicationservices + package-version: 2020-04-16-privatepreview + clear-output-folder: true +``` + +```yaml $(python) +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/azure-mgmt/communicationservices +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesSms/readme.ruby.md b/specification/communication/data-plane/Microsoft.CommunicationServicesSms/readme.ruby.md new file mode 100644 index 000000000000..f521ab44dbf5 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesSms/readme.ruby.md @@ -0,0 +1,19 @@ +## Ruby + +These settings apply only when `--ruby` is specified on the command line. + +```yaml +package-name: azure_mgmt_communicationservices +package-version: 2020-04-16-privatepreview +azure-arm: true +``` + +### Tag: package-2020-04-16-privatepreview and ruby + +These settings apply only when `--tag=package-2020-04-16-privatepreview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +```yaml $(tag) == 'package-2020-04-16-privatepreview' && $(ruby) +namespace: Microsoft.CommunicationServices +output-folder: $(ruby-sdks-folder)/communicationservices +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesSms/readme.typescript.md b/specification/communication/data-plane/Microsoft.CommunicationServicesSms/readme.typescript.md new file mode 100644 index 000000000000..be9f877fd1c2 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesSms/readme.typescript.md @@ -0,0 +1,13 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) +typescript: + azure-arm: true + package-name: "communicationservices" + output-folder: "$(typescript-sdks-folder)/packages/communicationservices" + payload-flattening-threshold: 1 + generate-metadata: true +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/readme.csharp.md b/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/readme.csharp.md new file mode 100644 index 000000000000..2efd3715cdc3 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/readme.csharp.md @@ -0,0 +1,15 @@ +## C + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +```yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 1 + clear-output-folder: true + client-side-validation: false + namespace: Microsoft.CommunicationServices + output-folder: $(csharp-sdks-folder)/communicationservices/management/Microsoft.CommunicationServices/GeneratedProtocol +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/readme.md b/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/readme.md new file mode 100644 index 000000000000..ef1a1f47ba50 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/readme.md @@ -0,0 +1,66 @@ +# communicationservices + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for communicationservices. + +## 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](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the communicationservices. + +```yaml +openapi-type: data-plane +tag: package-2020-07-20-preview1 +``` + +### Tag: package-2021-02-22-preview1 + +These settings apply only when `--tag=package-2021-02-22-preview1` is specified on the command line. + +```yaml $(tag) == 'package-2021-02-22-preview1' +input-file: + - preview/2021-02-22-preview1/CommunicationTurn.json +title: + Azure Communication Services +``` + +--- + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## Ruby + +See configuration in [readme.ruby.md](./readme.ruby.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/readme.python.md b/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/readme.python.md new file mode 100644 index 000000000000..f7f55ff2159b --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/readme.python.md @@ -0,0 +1,21 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +```yaml $(python) +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: Microsoft.CommunicationServices + package-name: communicationservices + package-version: 2020-04-16-privatepreview + clear-output-folder: true +``` + +```yaml $(python) +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/azure-mgmt/communicationservices +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/readme.ruby.md b/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/readme.ruby.md new file mode 100644 index 000000000000..f521ab44dbf5 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/readme.ruby.md @@ -0,0 +1,19 @@ +## Ruby + +These settings apply only when `--ruby` is specified on the command line. + +```yaml +package-name: azure_mgmt_communicationservices +package-version: 2020-04-16-privatepreview +azure-arm: true +``` + +### Tag: package-2020-04-16-privatepreview and ruby + +These settings apply only when `--tag=package-2020-04-16-privatepreview --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +```yaml $(tag) == 'package-2020-04-16-privatepreview' && $(ruby) +namespace: Microsoft.CommunicationServices +output-folder: $(ruby-sdks-folder)/communicationservices +``` diff --git a/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/readme.typescript.md b/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/readme.typescript.md new file mode 100644 index 000000000000..be9f877fd1c2 --- /dev/null +++ b/specification/communication/data-plane/Microsoft.CommunicationServicesTurn/readme.typescript.md @@ -0,0 +1,13 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +```yaml $(typescript) +typescript: + azure-arm: true + package-name: "communicationservices" + output-folder: "$(typescript-sdks-folder)/packages/communicationservices" + payload-flattening-threshold: 1 + generate-metadata: true +``` diff --git a/specification/communication/data-plane/readme.md b/specification/communication/data-plane/readme.md deleted file mode 100644 index 8b37ba52dabc..000000000000 --- a/specification/communication/data-plane/readme.md +++ /dev/null @@ -1,199 +0,0 @@ -# communicationservices - -> see https://aka.ms/autorest - -This is the AutoRest configuration file for communicationservices. - -## 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](https://aka.ms/autorest/install) on the AutoRest github page. - ---- - -## Configuration - -### Basic Information - -These are the global settings for the communicationservices. - -```yaml -openapi-type: data-plane -tag: package-2020-07-20-preview1 -``` - -### Tag: package-2020-07-20-preview1 - -These settings apply only when `--tag=package-2020-07-20-preview1` is specified on the command line. - -```yaml $(tag) == 'package-2020-07-20-preview1' -input-file: - - Microsoft.CommunicationServicesAdministration/preview/2020-07-20-preview1/communicationservicesadministration.json - - Microsoft.CommunicationServicesSms/preview/2020-07-20-preview1/communicationservicessms.json -title: - Azure Communication Services -``` - -```yaml -openapi-type: data-plane -tag: package-2020-09-21-preview2 -``` - -### Tag: package-2020-09-21-preview2 - -These settings apply only when `--tag=package-2020-09-21-preview2` is specified on the command line. - -```yaml $(tag) == 'package-2020-09-21-preview2' -input-file: - - Microsoft.CommunicationServicesChat/preview/2020-09-21-preview2/communicationserviceschat.json -title: - Azure Communication Services -``` - -### Tag: package-2020-11-01-preview3 - -These settings apply only when `--tag=package-2020-11-01-preview3` is specified on the command line. - -```yaml $(tag) == 'package-2020-11-01-preview3' -input-file: - - Microsoft.CommunicationServicesChat/preview/2020-11-01-preview3/communicationserviceschat.json -title: - Azure Communication Services -``` - -### Tag: package-2021-01-27-preview4 - -These settings apply only when `--tag=package-2021-01-27-preview4` is specified on the command line. - -```yaml $(tag) == 'package-2021-01-27-preview4' -input-file: - - Microsoft.CommunicationServicesChat/preview/2021-01-27-preview4/communicationserviceschat.json -title: - Azure Communication Services -``` - -### Tag: package-2021-03-01-preview5 - -These settings apply only when `--tag=package-2021-03-01-preview5` is specified on the command line. - -```yaml $(tag) == 'package-2021-03-01-preview5' -input-file: - - Microsoft.CommunicationServicesChat/preview/2021-03-01-preview5/communicationserviceschat.json -title: - Azure Communication Services -``` - -### Tag: package-chat-2021-03-07 - -These settings apply only when `--tag=package-2021-03-01-preview5` is specified on the command line. - -```yaml $(tag) == 'package-chat-2021-03-07' -input-file: - - Microsoft.CommunicationServicesChat/stable/2021-03-07/communicationserviceschat.json -title: - Azure Communication Services -``` - -### Tag: package-2020-07-20-preview2 - -These settings apply only when `--tag=package-2020-07-20-preview2` is specified on the command line. - -```yaml $(tag) == 'package-2020-07-20-preview2' -input-file: - - Microsoft.CommunicationServicesIdentity/preview/2020-07-20-preview2/CommunicationIdentity.json -``` - -### Tag: package-2021-03-07 - -These settings apply only when `--tag=package-2021-03-07` is specified on the command line. - -```yaml $(tag) == 'package-2021-03-07' -input-file: - - Microsoft.CommunicationServicesIdentity/stable/2021-03-07/CommunicationIdentity.json -title: - Azure Communication Services -``` - -### Tag: package-phonenumbers-2021-03-07 - -These settings apply only when `--tag=package-phonenumbers-2021-03-07` is specified on the command line. - -```yaml $(tag) == 'package-phonenumbers-2021-03-07' -input-file: - - Microsoft.CommunicationServicesPhoneNumbers/stable/2021-03-07/phonenumbers.json -title: - Azure Communication Services -``` - -### Tag: package-sms-2021-03-07 - -These settings apply only when `--tag=package-sms-2021-03-07` is specified on the command line. - -```yaml $(tag) == 'package-sms-2021-03-07' -input-file: - - Microsoft.CommunicationServicesSms/stable/2021-03-07/communicationservicessms.json -title: - Azure Communication Services -``` - -### Tag: package-2021-02-22-preview1 - -These settings apply only when `--tag=package-2021-02-22-preview1` is specified on the command line. - -```yaml $(tag) == 'package-2021-02-22-preview1' -input-file: - - Microsoft.CommunicationServicesTurn/preview/2021-02-22-preview1/CommunicationTurn.json - - Microsoft.CommunicationServicesIdentity/preview/2021-02-22-preview1/CommunicationIdentity.json -``` - -### Tag: package-2020-11-19-preview1 - -These settings apply only when `--tag=package-2020-11-19-preview1` is specified on the command line. - -```yaml $(tag) == 'package-2020-11-19-preview1' -input-file: - - Microsoft.CommunicationServicesCommon/preview/2020-11-19-preview1/common.json -``` - -## Supression -``` yaml -directive: - - from: - - phonenumbers.json - suppress: - - R2005 #Long running operation status code - reason: - - Approval from Azure review board that Long Running Operations can return 202s. -``` - ---- - -# Code Generation - -## Swagger to SDK - -This section describes what SDK should be generated by the automatic system. -This is not used by Autorest itself. - -## Python - -See configuration in [readme.python.md](./readme.python.md) - -## Ruby - -See configuration in [readme.ruby.md](./readme.ruby.md) - -## TypeScript - -See configuration in [readme.typescript.md](./readme.typescript.md) - -## CSharp - -See configuration in [readme.csharp.md](./readme.csharp.md)