-
Notifications
You must be signed in to change notification settings - Fork 12
Autorest config
Victoria Litvinova edited this page Sep 5, 2025
·
12 revisions
npm install -g [email protected]
Navigate to the location of the readme.md file for the respective swagger. In the readme.md file (general md), add the below in the correct API tag after the input file.
input-file: X
package-name: azure-iot-operations
namespace: aziotops.mgmt
license-header: MICROSOFT_MIT_NO_VERSION
azure-arm: true
add-credential: true
package-version: 0.1.0
basic-setup-py: true
clear-output-folder: true
black: true
no-namespace-folders: true
Run the following command from the same directory:
# With respect to Azure CLI >= 2.62.0, azure.mgmt.core >= 1.3.2, azure.core >= 1.28.0
autorest --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2