This is the AutoRest configuration file for workloads.
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 workloads.
openapi-type: arm
openapi-subtype: rpaas
tag: package-2024-09
These settings apply only when --tag=package-2024-09
is specified on the command line.
input-file:
- stable/2024-09-01/SAPVirtualInstance.json
suppressions:
- code: BodyTopLevelProperties
from: SAPVirtualInstance.json
reason: This is an incorrect failure due to a bug in the tool
- code: AvoidAnonymousTypes
from: SAPVirtualInstance.json
where: $.definitions.SAPVirtualInstanceIdentity.properties.userAssignedIdentities.additionalProperties
reason: This is an incorrect failure due to a bug in the tool(https://github.com/Azure/typespec-azure/issues/1163)
These settings apply only when --tag=package-preview-2023-10
is specified on the command line.
input-file:
- preview/2023-10-01-preview/SAPVirtualInstance.json
- ../common-types/v1/commonTypes.json
- ../operations/preview/2023-10-01-preview/operations.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-python-track2
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-go-track2
- repo: azure-sdk-for-js
- repo: azure-resource-manager-schemas
- repo: azure-cli-extensions
See configuration in readme.az.md
See configuration in readme.go.md
See configuration in readme.python.md
See configuration in readme.typescript.md
See configuration in readme.csharp.md