From 1bb5eaac085fc191e6a4fc4914b84823c2e50913 Mon Sep 17 00:00:00 2001 From: Tianen <347142915@qq.com> Date: Fri, 8 Mar 2024 13:39:04 +0800 Subject: [PATCH] Update swagger_to_sdk_config.json https://github.com/Azure/azure-sdk-for-js/pull/28793 --- swagger_to_sdk_config.json | 39 +++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/swagger_to_sdk_config.json b/swagger_to_sdk_config.json index 4579a20351e5..2fd48fbeb414 100644 --- a/swagger_to_sdk_config.json +++ b/swagger_to_sdk_config.json @@ -1,19 +1,28 @@ { - "$schema": "https://openapistorageprod.blob.core.windows.net/sdkautomation/prod/schemas/swagger_to_sdk_config.schema.json", - "meta": { - "autorest_options": { - "version": "V2", - "typescript": "", - "license-header": "MICROSOFT_MIT_NO_VERSION", - "sdkrel:typescript-sdks-folder": ".", - "typescript.clear-output-folder": "", - "use": "@microsoft.azure/autorest.typescript@4.2.2" + "advancedOptions": { + "createSdkPullRequests": true, + "generationCallMode": "one-per-config", + "breakingChangeTracking": true + }, + "initOptions": { + "initScript": { + "path": "sh .scripts/automation_init.sh", + "stderr": { + "showInComment": ".*ERROR.*" + } + } + }, + "generateOptions": { + "generateScript": { + "path": "sh .scripts/automation_generate.sh", + "stderr": { + "showInComment": ".*ERROR.*" + } }, - "advanced_options": { - "clone_dir": "./azure-sdk-for-js", - "create_sdk_pull_requests": true, - "sdk_generation_pull_request_base": "integration_branch" - }, - "version": "0.2.0" + "parseGenerateOutput": true + }, + "packageOptions": { + "breakingChangeLabel": "CI-BreakingChange-JavaScript", + "breakingChangesLabel": "BreakingChange-JavaScript-Sdk" } }