This is the AutoRest configuration file for testbase.
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 the testbase.
openapi-type: arm
openapi-subtype: rpaas
tag: package-2022-04-01-preview
These settings apply only when --tag=package-2020-12-16-preview
is specified on the command line.
input-file:
- Microsoft.TestBase/preview/2020-12-16-preview/testbase.json
directive:
- suppress: R4031
from: testbase.json
reason: provisioningState is not required for Proxy Resources.
These settings apply only when --tag=package-2022-04-01-preview
is specified on the command line.
input-file:
- Microsoft.TestBase/preview/2022-04-01-preview/testbase.json
directive:
- suppress: R4031
from: testbase.json
reason: provisioningState is not required for Proxy Resources.
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-python-track2
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-resource-manager-schemas
- repo: azure-powershell
directive:
- suppress: SECRET_PROPERTY
from:
- Microsoft.TestBase/preview/2022-04-01-preview/testbase.json
where:
- $.definitions.DownloadURLResponse.properties.downloadUrl
reason: Secrets are OK to return in a POST response according to ARM.
See configuration in readme.go.md
See configuration in readme.python.md
See configuration in readme.typescript.md
See configuration in readme.csharp.md