diff --git a/eng/tools/typespec-validation/src/rules/sdk-tspconfig-validation.ts b/eng/tools/typespec-validation/src/rules/sdk-tspconfig-validation.ts index c337cc30fd68..942e64bfe066 100644 --- a/eng/tools/typespec-validation/src/rules/sdk-tspconfig-validation.ts +++ b/eng/tools/typespec-validation/src/rules/sdk-tspconfig-validation.ts @@ -340,43 +340,76 @@ export class TspConfigTsMlcDpPackageNameMatchPatternSubRule extends TspconfigEmi return skipForRestLevelClientOrManagementPlaneInTsEmitter(config, folder); } } -// ----- Go data plane sub rules ----- -export class TspConfigGoDpServiceDirMatchPatternSubRule extends TspconfigEmitterOptionsSubRuleBase { + +// ----- Go common sub rules ----- +export class TspConfigGoModuleMatchPatternSubRule extends TspconfigEmitterOptionsSubRuleBase { constructor() { - super("@azure-tools/typespec-go", "service-dir", new RegExp(/^sdk\/.*$/)); + super( + "@azure-tools/typespec-go", + "module", + new RegExp(/^github.com\/Azure\/azure-sdk-for-go\/.*$/), + ); } - protected skip(_: any, folder: string) { - return skipForManagementPlane(folder); + protected validate(config: any): RuleResult { + const module = config?.options?.[this.emitterName]?.["module"]; + const containingModule = config?.options?.[this.emitterName]?.["containing-module"]; + if (module === undefined && containingModule === undefined) return { success: false }; + if (module === undefined) return { success: true }; + return super.validate(config); + } +} + +export class TspConfigGoContainingModuleMatchPatternSubRule extends TspconfigEmitterOptionsSubRuleBase { + constructor() { + super( + "@azure-tools/typespec-go", + "containing-module", + new RegExp(/^github.com\/Azure\/azure-sdk-for-go\/.*$/), + ); + } + protected validate(config: any): RuleResult { + const module = config?.options?.[this.emitterName]?.["module"]; + const containingModule = config?.options?.[this.emitterName]?.["containing-module"]; + if (module === undefined && containingModule === undefined) return { success: false }; + if (containingModule === undefined) return { success: true }; + return super.validate(config); } } -export class TspConfigGoDpPackageDirectoryMatchPatternSubRule extends TspconfigEmitterOptionsSubRuleBase { +// ----- Go data plane sub rules ----- +export class TspConfigGoDpServiceDirMatchPatternSubRule extends TspconfigEmitterOptionsSubRuleBase { constructor() { - super("@azure-tools/typespec-go", "package-dir", new RegExp(/^az.*$/)); + super("@azure-tools/typespec-go", "service-dir", new RegExp(/^(\{output-dir\}\/)?sdk\/.*$/)); } protected skip(_: any, folder: string) { return skipForManagementPlane(folder); } + protected validate(config: any): RuleResult { + let serviceDir = config?.options?.[this.emitterName]?.["service-dir"]; + if (serviceDir === undefined) return { success: true }; + return super.validate(config); + } } -export class TspConfigGoDpModuleMatchPatternSubRule extends TspconfigEmitterOptionsSubRuleBase { +export class TspConfigGoDpEmitterOutputDirMatchPatternSubRule extends TspconfigEmitterOptionsSubRuleBase { constructor() { super( "@azure-tools/typespec-go", - "module", - new RegExp(/^github.com\/Azure\/azure-sdk-for-go\/.*$/), + "emitter-output-dir", + new RegExp(/^(\{output-dir\}\/)?(\{service-dir\}|sdk\/).*\/az.*/), ); } - protected validate(config: any): RuleResult { - let module = config?.options?.[this.emitterName]?.module; - if (module === undefined) return { success: true }; - return super.validate(config); - } protected skip(_: any, folder: string) { return skipForManagementPlane(folder); } } +export class TspConfigGoAzInjectSpansTrueSubRule extends TspconfigEmitterOptionsSubRuleBase { + constructor() { + super("@azure-tools/typespec-go", "inject-spans", true); + } +} + // ----- Go Mgmt plane sub rules ----- export class TspConfigGoMgmtServiceDirMatchPatternSubRule extends TspconfigEmitterOptionsSubRuleBase { constructor() { @@ -389,23 +422,19 @@ export class TspConfigGoMgmtServiceDirMatchPatternSubRule extends TspconfigEmitt protected skip(_: any, folder: string) { return skipForDataPlane(folder); } -} - -export class TspConfigGoMgmtPackageDirectorySubRule extends TspconfigEmitterOptionsSubRuleBase { - constructor() { - super("@azure-tools/typespec-go", "package-dir", new RegExp(/^arm[^\/]*$/)); - } - protected skip(_: any, folder: string) { - return skipForDataPlane(folder); + protected validate(config: any): RuleResult { + let serviceDir = config?.options?.[this.emitterName]?.["service-dir"]; + if (serviceDir === undefined) return { success: true }; + return super.validate(config); } } -export class TspConfigGoMgmtModuleEqualStringSubRule extends TspconfigEmitterOptionsSubRuleBase { +export class TspConfigGoMgmtEmitterOutputDirMatchPatternSubRule extends TspconfigEmitterOptionsSubRuleBase { constructor() { super( "@azure-tools/typespec-go", - "module", - "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}", + "emitter-output-dir", + new RegExp(/^(\{output-dir\}\/)?(\{service-dir\}|sdk\/resourcemanager\/)[^\/]*\/arm.*/), ); } protected skip(_: any, folder: string) { @@ -440,14 +469,6 @@ export class TspConfigGoMgmtGenerateFakesTrueSubRule extends TspconfigEmitterOpt } } -// ----- Go az sub rules ----- - -export class TspConfigGoAzInjectSpansTrueSubRule extends TspconfigEmitterOptionsSubRuleBase { - constructor() { - super("@azure-tools/typespec-go", "inject-spans", true); - } -} - // ----- Python management plane sub rules ----- export class TspConfigPythonMgmtPackageDirectorySubRule extends TspconfigEmitterOptionsSubRuleBase { constructor() { @@ -529,15 +550,15 @@ export const defaultRules = [ new TspConfigTsRlcDpPackageNameMatchPatternSubRule(), new TspConfigTsMlcDpPackageNameMatchPatternSubRule(), new TspConfigGoMgmtServiceDirMatchPatternSubRule(), - new TspConfigGoMgmtPackageDirectorySubRule(), - new TspConfigGoMgmtModuleEqualStringSubRule(), + new TspConfigGoMgmtEmitterOutputDirMatchPatternSubRule(), new TspConfigGoMgmtGenerateSamplesTrueSubRule(), new TspConfigGoMgmtGenerateFakesTrueSubRule(), new TspConfigGoMgmtHeadAsBooleanTrueSubRule(), new TspConfigGoAzInjectSpansTrueSubRule(), new TspConfigGoDpServiceDirMatchPatternSubRule(), - new TspConfigGoDpPackageDirectoryMatchPatternSubRule(), - new TspConfigGoDpModuleMatchPatternSubRule(), + new TspConfigGoDpEmitterOutputDirMatchPatternSubRule(), + new TspConfigGoModuleMatchPatternSubRule(), + new TspConfigGoContainingModuleMatchPatternSubRule(), new TspConfigPythonMgmtPackageDirectorySubRule(), new TspConfigPythonMgmtNamespaceSubRule(), new TspConfigPythonDpPackageDirectorySubRule(), diff --git a/eng/tools/typespec-validation/test/sdk-tspconfig-validation.test.ts b/eng/tools/typespec-validation/test/sdk-tspconfig-validation.test.ts index 6643ccd3d784..84e5b14678c8 100644 --- a/eng/tools/typespec-validation/test/sdk-tspconfig-validation.test.ts +++ b/eng/tools/typespec-validation/test/sdk-tspconfig-validation.test.ts @@ -11,15 +11,15 @@ import { TspConfigCsharpAzNamespaceSubRule, TspConfigCsharpMgmtNamespaceSubRule, TspConfigGoAzInjectSpansTrueSubRule, - TspConfigGoDpModuleMatchPatternSubRule, - TspConfigGoDpPackageDirectoryMatchPatternSubRule, + TspConfigGoContainingModuleMatchPatternSubRule, + TspConfigGoDpEmitterOutputDirMatchPatternSubRule, TspConfigGoDpServiceDirMatchPatternSubRule, + TspConfigGoMgmtEmitterOutputDirMatchPatternSubRule, TspConfigGoMgmtGenerateFakesTrueSubRule, TspConfigGoMgmtGenerateSamplesTrueSubRule, TspConfigGoMgmtHeadAsBooleanTrueSubRule, - TspConfigGoMgmtModuleEqualStringSubRule, - TspConfigGoMgmtPackageDirectorySubRule, TspConfigGoMgmtServiceDirMatchPatternSubRule, + TspConfigGoModuleMatchPatternSubRule, TspConfigJavaAzEmitterOutputDirMatchPatternSubRule, TspConfigJavaMgmtEmitterOutputDirMatchPatternSubRule, TspConfigJavaMgmtNamespaceFormatSubRule, @@ -274,24 +274,36 @@ const goManagementServiceDirTestCases = createEmitterOptionTestCases( "sdk/resourcemanager/aaa", "sdk/manager/aaa", [new TspConfigGoMgmtServiceDirMatchPatternSubRule()], + true, ); -const goManagementPackageDirTestCases = createEmitterOptionTestCases( +const goManagementEmitterOutputDirTestCases = createEmitterOptionTestCases( "@azure-tools/typespec-go", managementTspconfigFolder, - "package-dir", - "armaaa", - "aaa", - [new TspConfigGoMgmtPackageDirectorySubRule()], + "emitter-output-dir", + "{output-dir}/sdk/resourcemanager/compute/armcompute", + "{output-dir}/sdk/messaging/eventgrid/azsystemevents", + [new TspConfigGoMgmtEmitterOutputDirMatchPatternSubRule()], ); const goManagementModuleTestCases = createEmitterOptionTestCases( "@azure-tools/typespec-go", managementTspconfigFolder, "module", - "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}", - "github.com/Azure/azure-sdk-for-java/{service-dir}/{package-dir}", - [new TspConfigGoMgmtModuleEqualStringSubRule()], + "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute", + "github.com/Azure/azure-sdk-for-java/sdk/compute/arm-compute", + [new TspConfigGoModuleMatchPatternSubRule()], + false, +); + +const goManagementContainingModuleTestCases = createEmitterOptionTestCases( + "@azure-tools/typespec-go", + managementTspconfigFolder, + "containing-module", + "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute", + "github.com/Azure/azure-sdk-for-java/sdk/compute/arm-compute", + [new TspConfigGoContainingModuleMatchPatternSubRule()], + false, ); const goManagementGenerateExamplesTestCases = createEmitterOptionTestCases( @@ -343,19 +355,29 @@ const goDpModuleTestCases = createEmitterOptionTestCases( "@azure-tools/typespec-go", "", "module", - "github.com/Azure/azure-sdk-for-go/aaa", + "github.com/Azure/azure-sdk-for-go/sdk/messaging/aaa", "github.com/Azure/azure-sdk-for-cpp/bbb", - [new TspConfigGoDpModuleMatchPatternSubRule()], - true, + [new TspConfigGoModuleMatchPatternSubRule()], + false, ); -const goDpPackageDirTestCases = createEmitterOptionTestCases( +const goDpContainingModuleTestCases = createEmitterOptionTestCases( "@azure-tools/typespec-go", "", - "package-dir", - "az1/2/3", - "bzasd", - [new TspConfigGoDpPackageDirectoryMatchPatternSubRule()], + "containing-module", + "github.com/Azure/azure-sdk-for-go/sdk/messaging/aaa", + "github.com/Azure/azure-sdk-for-cpp/bbb", + [new TspConfigGoContainingModuleMatchPatternSubRule()], + false, +); + +const goDpEmitterOutputDirTestCases = createEmitterOptionTestCases( + "@azure-tools/typespec-go", + "", + "emitter-output-dir", + "{output-dir}/sdk/messaging/eventgrid/azsystemevents", + "{output-dir}/sdk/resourcemanager/compute/armcompute", + [new TspConfigGoDpEmitterOutputDirMatchPatternSubRule()], ); const goDpServiceDirTestCases = createEmitterOptionTestCases( @@ -365,6 +387,7 @@ const goDpServiceDirTestCases = createEmitterOptionTestCases( "sdk/2/3", "sd/k", [new TspConfigGoDpServiceDirMatchPatternSubRule()], + true, ); const javaAzEmitterOutputDirTestCases = createEmitterOptionTestCases( @@ -572,15 +595,14 @@ options: description: "Suppress option with wildcard at the end", folder: managementTspconfigFolder, subRules: [ - new TspConfigGoMgmtPackageDirectorySubRule(), - new TspConfigGoMgmtModuleEqualStringSubRule(), + new TspConfigGoMgmtEmitterOutputDirMatchPatternSubRule(), + new TspConfigGoModuleMatchPatternSubRule(), ], tspconfigContent: ` options: "@azure-tools/typespec-go": package-dir: "wrong/directory" - module-name: "invalid-module" - generate-consts: false + module: "invalid-module" `, success: true, ignoredKeyPaths: ["options.@azure-tools/typespec-go.*"], @@ -614,15 +636,17 @@ describe("tspconfig", function () { ...tsDpModularPackageNameTestCases, // go ...goManagementServiceDirTestCases, - ...goManagementPackageDirTestCases, + ...goManagementEmitterOutputDirTestCases, ...goManagementModuleTestCases, + ...goManagementContainingModuleTestCases, ...goManagementGenerateExamplesTestCases, ...goManagementGenerateFakesTestCases, ...goManagementHeadAsBooleanTestCases, ...goManagementInjectSpansTestCases, ...goDpInjectSpansTestCases, ...goDpModuleTestCases, - ...goDpPackageDirTestCases, + ...goDpContainingModuleTestCases, + ...goDpEmitterOutputDirTestCases, ...goDpServiceDirTestCases, // java ...javaAzEmitterOutputDirTestCases, diff --git a/specification/advisor/Advisor.Management/tspconfig.yaml b/specification/advisor/Advisor.Management/tspconfig.yaml index fce9a57fb03c..f6454dafd834 100644 --- a/specification/advisor/Advisor.Management/tspconfig.yaml +++ b/specification/advisor/Advisor.Management/tspconfig.yaml @@ -31,8 +31,8 @@ options: name: "@azure/arm-advisor" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/advisor" - package-dir: "armadvisor" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armadvisor" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armadvisor" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/agricultureplatform/AgriculturePlatform.Management/tspconfig.yaml b/specification/agricultureplatform/AgriculturePlatform.Management/tspconfig.yaml index 70ef6255944b..5223dec75ccc 100644 --- a/specification/agricultureplatform/AgriculturePlatform.Management/tspconfig.yaml +++ b/specification/agricultureplatform/AgriculturePlatform.Management/tspconfig.yaml @@ -43,8 +43,8 @@ options: name: "@azure/arm-agricultureplatform" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/agricultureplatform" - package-dir: "armagricultureplatform" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armagricultureplatform" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armagricultureplatform" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/azuredependencymap/DependencyMap.Management/tspconfig.yaml b/specification/azuredependencymap/DependencyMap.Management/tspconfig.yaml index a690d95cfe50..40e9b6e86e18 100644 --- a/specification/azuredependencymap/DependencyMap.Management/tspconfig.yaml +++ b/specification/azuredependencymap/DependencyMap.Management/tspconfig.yaml @@ -37,8 +37,8 @@ options: name: "@azure/arm-dependencymap" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/dependencymap" - package-dir: "armdependencymap" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armdependencymap" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdependencymap" examples-directory: "{project-root}/examples" fix-const-stuttering: true flavor: "azure" diff --git a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/AzureFleet/tspconfig.yaml b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/AzureFleet/tspconfig.yaml index 488e86245635..514287214f57 100644 --- a/specification/azurefleet/resource-manager/Microsoft.AzureFleet/AzureFleet/tspconfig.yaml +++ b/specification/azurefleet/resource-manager/Microsoft.AzureFleet/AzureFleet/tspconfig.yaml @@ -39,8 +39,8 @@ options: flavor: azure "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/computefleet" - package-dir: "armcomputefleet" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armcomputefleet" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armcomputefleet" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/tspconfig.yaml b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/tspconfig.yaml index 5eca958ddfa5..ea975ee8fc92 100644 --- a/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/tspconfig.yaml +++ b/specification/azurestackhci/AzureStackHCI.StackHCIVM.Management/tspconfig.yaml @@ -21,8 +21,8 @@ options: generate-sample: true "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/azurestackhci" - package-dir: "armazurestackhcivm" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armazurestackhcivm" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armazurestackhcivm" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/batch/Azure.Batch/tspconfig.yaml b/specification/batch/Azure.Batch/tspconfig.yaml index 98c9480db944..1a04ee1edac4 100644 --- a/specification/batch/Azure.Batch/tspconfig.yaml +++ b/specification/batch/Azure.Batch/tspconfig.yaml @@ -27,8 +27,7 @@ options: generate-fakes: false inject-spans: true module: "github.com/Azure/azure-sdk-for-go/{service-dir}/azbatch" - module-version: "0.1.0" - package-dir: "azbatch" + emitter-output-dir: "{output-dir}/{service-dir}/azbatch" service-dir: "sdk/batch" single-client: true slice-elements-byval: true diff --git a/specification/billingbenefits/BillingBenefits.Management/SavingsPlanModel.tsp b/specification/billingbenefits/BillingBenefits.Management/SavingsPlanModel.tsp index 8c83cbd2015b..b0ca5acc17fc 100644 --- a/specification/billingbenefits/BillingBenefits.Management/SavingsPlanModel.tsp +++ b/specification/billingbenefits/BillingBenefits.Management/SavingsPlanModel.tsp @@ -102,5 +102,6 @@ interface SavingsPlanModels { @@clientInitialization(Microsoft.BillingBenefits, { parameters: ExpandParameter, - } + }, + "!go" ); diff --git a/specification/billingbenefits/BillingBenefits.Management/tspconfig.yaml b/specification/billingbenefits/BillingBenefits.Management/tspconfig.yaml index 975ff12fc486..fb692f1bfa59 100644 --- a/specification/billingbenefits/BillingBenefits.Management/tspconfig.yaml +++ b/specification/billingbenefits/BillingBenefits.Management/tspconfig.yaml @@ -33,8 +33,8 @@ options: name: "@azure/arm-billingbenefits" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/billingbenefits" - package-dir: "armbillingbenefits" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armbillingbenefits" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armbillingbenefits" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/botservice/resource-manager/Microsoft.BotService/BotService/tspconfig.yaml b/specification/botservice/resource-manager/Microsoft.BotService/BotService/tspconfig.yaml index 1799618ddae5..5ef07a7d81eb 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/BotService/tspconfig.yaml +++ b/specification/botservice/resource-manager/Microsoft.BotService/BotService/tspconfig.yaml @@ -38,8 +38,8 @@ options: name: "@azure/arm-botservice" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/botservice" - package-dir: "armbotservice" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armbotservice" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armbotservice" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/carbon/Carbon.Management/tspconfig.yaml b/specification/carbon/Carbon.Management/tspconfig.yaml index f761be067745..8b73dbc7cd52 100644 --- a/specification/carbon/Carbon.Management/tspconfig.yaml +++ b/specification/carbon/Carbon.Management/tspconfig.yaml @@ -35,8 +35,8 @@ options: service-name: "Carbon Optimization" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/carbonoptimization" - package-dir: "armcarbonoptimization" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armcarbonoptimization" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armcarbonoptimization" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/chaos/resource-manager/Microsoft.Chaos/Chaos/tspconfig.yaml b/specification/chaos/resource-manager/Microsoft.Chaos/Chaos/tspconfig.yaml index d4ff11ec4a05..869d16fcbeef 100644 --- a/specification/chaos/resource-manager/Microsoft.Chaos/Chaos/tspconfig.yaml +++ b/specification/chaos/resource-manager/Microsoft.Chaos/Chaos/tspconfig.yaml @@ -34,8 +34,8 @@ options: namespace: "Azure.ResourceManager.Chaos" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/chaos" - package-dir: "armchaos" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armchaos" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armchaos" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/cloudhealth/CloudHealth.Management/tspconfig.yaml b/specification/cloudhealth/CloudHealth.Management/tspconfig.yaml index 80dac2aba5fd..b35b1167080e 100644 --- a/specification/cloudhealth/CloudHealth.Management/tspconfig.yaml +++ b/specification/cloudhealth/CloudHealth.Management/tspconfig.yaml @@ -32,8 +32,8 @@ options: emitter-output-dir: "{output-dir}/{service-dir}/{namespace}" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/cloudhealth" - package-dir: "armcloudhealth" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armcloudhealth" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armcloudhealth" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/codesigning/CodeSigning.Management/tspconfig.yaml b/specification/codesigning/CodeSigning.Management/tspconfig.yaml index 6fb13de9e784..9d1b974900ee 100644 --- a/specification/codesigning/CodeSigning.Management/tspconfig.yaml +++ b/specification/codesigning/CodeSigning.Management/tspconfig.yaml @@ -31,8 +31,8 @@ options: name: "@azure/arm-trustedsigning" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/trustedsigning" - package-dir: "armtrustedsigning" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armtrustedsigning" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armtrustedsigning" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/compute/resource-manager/Microsoft.Compute/RecommenderRP/tspconfig.yaml b/specification/compute/resource-manager/Microsoft.Compute/RecommenderRP/tspconfig.yaml index 2cb20498e916..3bc80f518b1d 100644 --- a/specification/compute/resource-manager/Microsoft.Compute/RecommenderRP/tspconfig.yaml +++ b/specification/compute/resource-manager/Microsoft.Compute/RecommenderRP/tspconfig.yaml @@ -38,8 +38,8 @@ options: name: "@azure/arm-computerecommender" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/computerecommender" - package-dir: "armcomputerecommender" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armcomputerecommender" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armcomputerecommender" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/computeschedule/ComputeSchedule.Management/tspconfig.yaml b/specification/computeschedule/ComputeSchedule.Management/tspconfig.yaml index 848fae4df61d..ab5883360b2d 100644 --- a/specification/computeschedule/ComputeSchedule.Management/tspconfig.yaml +++ b/specification/computeschedule/ComputeSchedule.Management/tspconfig.yaml @@ -34,8 +34,8 @@ options: service-name: "Compute Schedule" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/computeschedule" - package-dir: "armcomputeschedule" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armcomputeschedule" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armcomputeschedule" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/confluent/Confluent.Management/tspconfig.yaml b/specification/confluent/Confluent.Management/tspconfig.yaml index 01ff0a39473b..fe5a3180a5c8 100644 --- a/specification/confluent/Confluent.Management/tspconfig.yaml +++ b/specification/confluent/Confluent.Management/tspconfig.yaml @@ -35,8 +35,8 @@ options: name: "@azure/arm-confluent" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/confluent" - package-dir: "armconfluent" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armconfluent" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armconfluent" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/connectedcache/ConnectedCache.Management/tspconfig.yaml b/specification/connectedcache/ConnectedCache.Management/tspconfig.yaml index f7bebf33c2f4..75621c6e9252 100644 --- a/specification/connectedcache/ConnectedCache.Management/tspconfig.yaml +++ b/specification/connectedcache/ConnectedCache.Management/tspconfig.yaml @@ -39,8 +39,8 @@ options: name: "@azure/arm-connectedcache" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/connectedcache" - package-dir: "armconnectedcache" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armconnectedcache" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armconnectedcache" fix-const-stuttering: true flavor: "azure" generate-examples: true diff --git a/specification/containerservice/DeploymentSafeguards.Management/tspconfig.yaml b/specification/containerservice/DeploymentSafeguards.Management/tspconfig.yaml index ee615aabe058..b9cfc15e1a7c 100644 --- a/specification/containerservice/DeploymentSafeguards.Management/tspconfig.yaml +++ b/specification/containerservice/DeploymentSafeguards.Management/tspconfig.yaml @@ -34,8 +34,8 @@ options: flavor: azure "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/containerservice" - package-dir: "armdeploymentsafeguards" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armdeploymentsafeguards" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdeploymentsafeguards" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/containerservice/Fleet.Management/tspconfig.yaml b/specification/containerservice/Fleet.Management/tspconfig.yaml index b01338952e22..f1ab687b22f0 100644 --- a/specification/containerservice/Fleet.Management/tspconfig.yaml +++ b/specification/containerservice/Fleet.Management/tspconfig.yaml @@ -33,8 +33,8 @@ options: flavor: azure "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/containerservicefleet" - package-dir: "armcontainerservicefleet" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armcontainerservicefleet" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armcontainerservicefleet" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml b/specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml index dee1090b65c0..f208c57e7f6d 100644 --- a/specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml +++ b/specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml @@ -34,8 +34,8 @@ options: name: "@azure/arm-contoso" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/contoso" - package-dir: "armcontoso" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armcontoso" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armcontoso" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/contosowidgetmanager/Contoso.WidgetManager/tspconfig.yaml b/specification/contosowidgetmanager/Contoso.WidgetManager/tspconfig.yaml index 8dda8ed03ae5..39315d00a1df 100644 --- a/specification/contosowidgetmanager/Contoso.WidgetManager/tspconfig.yaml +++ b/specification/contosowidgetmanager/Contoso.WidgetManager/tspconfig.yaml @@ -40,10 +40,8 @@ options: namespace: com.azure.contoso.widgetmanager flavor: azure "@azure-tools/typespec-go": - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" - service-dir: "sdk/contosowidget" - package-dir: "azmanager" - module-version: "0.0.1" + emitter-output-dir: "{output-dir}/{service-dir}/azmanager" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/azmanager" generate-fakes: true inject-spans: true single-client: true diff --git a/specification/dashboard/Dashboard.Management/tspconfig.yaml b/specification/dashboard/Dashboard.Management/tspconfig.yaml index ddaa52107ac3..a6d16e9a3a13 100644 --- a/specification/dashboard/Dashboard.Management/tspconfig.yaml +++ b/specification/dashboard/Dashboard.Management/tspconfig.yaml @@ -37,8 +37,8 @@ options: name: "@azure/arm-dashboard" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/dashboard" - package-dir: "armdashboard" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armdashboard" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdashboard" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/databasefleetmanager/DatabaseFleetManager.Management/tspconfig.yaml b/specification/databasefleetmanager/DatabaseFleetManager.Management/tspconfig.yaml index a2b0fa552f0c..a01f7fbc083d 100644 --- a/specification/databasefleetmanager/DatabaseFleetManager.Management/tspconfig.yaml +++ b/specification/databasefleetmanager/DatabaseFleetManager.Management/tspconfig.yaml @@ -22,8 +22,8 @@ options: flavor: azure "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/databasefleetmanager" - package-dir: "armdatabasefleetmanager" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armdatabasefleetmanager" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdatabasefleetmanager" fix-const-stuttering: true flavor: "azure" generate-examples: true diff --git a/specification/databasewatcher/DatabaseWatcher.Management/tspconfig.yaml b/specification/databasewatcher/DatabaseWatcher.Management/tspconfig.yaml index c43ad0a89170..e385be2b72b8 100644 --- a/specification/databasewatcher/DatabaseWatcher.Management/tspconfig.yaml +++ b/specification/databasewatcher/DatabaseWatcher.Management/tspconfig.yaml @@ -44,8 +44,8 @@ options: inject-spans: true remove-unreferenced-types: true service-dir: "sdk/resourcemanager/databasewatcher" - package-dir: "armdatabasewatcher" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armdatabasewatcher" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdatabasewatcher" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/databox/DataBox.Management/tspconfig.yaml b/specification/databox/DataBox.Management/tspconfig.yaml index 630c78df7b03..61e387674d0d 100644 --- a/specification/databox/DataBox.Management/tspconfig.yaml +++ b/specification/databox/DataBox.Management/tspconfig.yaml @@ -38,8 +38,8 @@ options: name: "@azure/arm-databox" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/databox" - package-dir: "armdatabox" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armdatabox" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdatabox" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/dataprotection/DataProtection.Management/tspconfig.yaml b/specification/dataprotection/DataProtection.Management/tspconfig.yaml index ea4bd523625e..ca90e2e19e69 100644 --- a/specification/dataprotection/DataProtection.Management/tspconfig.yaml +++ b/specification/dataprotection/DataProtection.Management/tspconfig.yaml @@ -30,8 +30,8 @@ options: name: "@azure/arm-dataprotection" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/dataprotection" - package-dir: "armdataprotection" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armdataprotection" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdataprotection" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/dell/Dell.Storage.Management/tspconfig.yaml b/specification/dell/Dell.Storage.Management/tspconfig.yaml index 23417e6963dc..6e147ad3a246 100644 --- a/specification/dell/Dell.Storage.Management/tspconfig.yaml +++ b/specification/dell/Dell.Storage.Management/tspconfig.yaml @@ -33,8 +33,8 @@ options: flavor: "azure" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/dell" - package-dir: "armdellstorage" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armdellstorage" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdellstorage" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/DeviceProvisioningServices/tspconfig.yaml b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/DeviceProvisioningServices/tspconfig.yaml index 901c951107c2..526c9ba848f5 100644 --- a/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/DeviceProvisioningServices/tspconfig.yaml +++ b/specification/deviceprovisioningservices/resource-manager/Microsoft.Devices/DeviceProvisioningServices/tspconfig.yaml @@ -37,8 +37,8 @@ options: name: "@azure/arm-deviceprovisioningservices" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/deviceprovisioningservices" - package-dir: "armdeviceprovisioningservices" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armdeviceprovisioningservices" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdeviceprovisioningservices" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml index 6a38f33672de..49f0f8902bc4 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml +++ b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml @@ -38,8 +38,8 @@ options: generate-sample: true "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/deviceregistry" - package-dir: "armdeviceregistry" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armdeviceregistry" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdeviceregistry" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml b/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml index f039db4ea87d..5f630e1a844f 100644 --- a/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml +++ b/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml @@ -46,8 +46,8 @@ options: name: "@azure/arm-devopsinfrastructure" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/devopsinfrastructure" - package-dir: "armdevopsinfrastructure" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armdevopsinfrastructure" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdevopsinfrastructure" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/DevTestLabs/tspconfig.yaml b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/DevTestLabs/tspconfig.yaml index 536f9365eb59..6ef06e263025 100644 --- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/DevTestLabs/tspconfig.yaml +++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/DevTestLabs/tspconfig.yaml @@ -40,8 +40,8 @@ options: name: "@azure/arm-devtestlabs" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/devtestlabs" - package-dir: "armdevtestlabs" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armdevtestlabs" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdevtestlabs" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/dns/resource-manager/Microsoft.Network/Dns/tspconfig.yaml b/specification/dns/resource-manager/Microsoft.Network/Dns/tspconfig.yaml index e0784c33ca67..2b758d2169b3 100644 --- a/specification/dns/resource-manager/Microsoft.Network/Dns/tspconfig.yaml +++ b/specification/dns/resource-manager/Microsoft.Network/Dns/tspconfig.yaml @@ -31,8 +31,8 @@ options: name: "@azure/arm-dns" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/dns" - package-dir: "armdns" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armdns" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdns" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/dnsresolver/Network.Management/tspconfig.yaml b/specification/dnsresolver/Network.Management/tspconfig.yaml index 4a7c91ba3c6a..2e1657dbb913 100644 --- a/specification/dnsresolver/Network.Management/tspconfig.yaml +++ b/specification/dnsresolver/Network.Management/tspconfig.yaml @@ -37,8 +37,8 @@ options: name: "@azure/arm-dnsresolver" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/dnsresolver" - package-dir: "armdnsresolver" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armdnsresolver" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdnsresolver" fix-const-stuttering: false flavor: "azure" generate-samples: true diff --git a/specification/durabletask/DurableTask.Management/tspconfig.yaml b/specification/durabletask/DurableTask.Management/tspconfig.yaml index a57832df5da8..84b9198f2644 100644 --- a/specification/durabletask/DurableTask.Management/tspconfig.yaml +++ b/specification/durabletask/DurableTask.Management/tspconfig.yaml @@ -22,8 +22,8 @@ options: flavor: azure "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/durabletask" - package-dir: "armdurabletask" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armdurabletask" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdurabletask" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/edge/Microsoft.Edge.ConfigurationManager.Management/tspconfig.yaml b/specification/edge/Microsoft.Edge.ConfigurationManager.Management/tspconfig.yaml index f78a7f0a086a..8824d4fecaec 100644 --- a/specification/edge/Microsoft.Edge.ConfigurationManager.Management/tspconfig.yaml +++ b/specification/edge/Microsoft.Edge.ConfigurationManager.Management/tspconfig.yaml @@ -19,8 +19,8 @@ options: api-version: "2025-06-01" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/workloadorchestration" - package-dir: "armworkloadorchestration" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armworkloadorchestration" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armworkloadorchestration" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/edge/Microsoft.Edge.Configurations.Management/tspconfig.yaml b/specification/edge/Microsoft.Edge.Configurations.Management/tspconfig.yaml index 0444a732df65..75e9c6a81b8a 100644 --- a/specification/edge/Microsoft.Edge.Configurations.Management/tspconfig.yaml +++ b/specification/edge/Microsoft.Edge.Configurations.Management/tspconfig.yaml @@ -9,8 +9,8 @@ options: arm-types-dir: "{project-root}/../../common-types/resource-management" "@azure-tools/typespec-go": service-dir: sdk/resourcemanager/placeholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation - package-dir: armplaceholder #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation - module: github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir} #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + emitter-output-dir: "{output-dir}/{service-dir}/armplaceholder" #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armplaceholder" #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation fix-const-stuttering: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation generate-samples: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation generate-fakes: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation diff --git a/specification/edge/Microsoft.Edge.DisconnectedOperations.Management/tspconfig.yaml b/specification/edge/Microsoft.Edge.DisconnectedOperations.Management/tspconfig.yaml index 4c016f6b6c8e..29b4196c1e4d 100644 --- a/specification/edge/Microsoft.Edge.DisconnectedOperations.Management/tspconfig.yaml +++ b/specification/edge/Microsoft.Edge.DisconnectedOperations.Management/tspconfig.yaml @@ -21,8 +21,8 @@ options: arm-types-dir: "{project-root}/../../common-types/resource-management" "@azure-tools/typespec-go": service-dir: sdk/resourcemanager/disconnectedoperations #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation - package-dir: armdisconnectedoperations #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation - module: github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir} #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + emitter-output-dir: "{output-dir}/{service-dir}/armdisconnectedoperations" #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdisconnectedoperations" #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation fix-const-stuttering: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation generate-samples: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation generate-fakes: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation diff --git a/specification/edge/Microsoft.Edge.Management/tspconfig.yaml b/specification/edge/Microsoft.Edge.Management/tspconfig.yaml index 6bffb9e8a265..feabbf029c33 100644 --- a/specification/edge/Microsoft.Edge.Management/tspconfig.yaml +++ b/specification/edge/Microsoft.Edge.Management/tspconfig.yaml @@ -41,8 +41,8 @@ options: flavor: azure "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/commonedgesitemanageroperations" - package-dir: "armcommonedgesitemanageroperations" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armcommonedgesitemanageroperations" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armcommonedgesitemanageroperations" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/edge/Microsoft.Edge.Sites.Management/tspconfig.yaml b/specification/edge/Microsoft.Edge.Sites.Management/tspconfig.yaml index b449dce6684b..c63746a2ba0a 100644 --- a/specification/edge/Microsoft.Edge.Sites.Management/tspconfig.yaml +++ b/specification/edge/Microsoft.Edge.Sites.Management/tspconfig.yaml @@ -42,8 +42,8 @@ options: flavor: azure "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/sitemanager" - package-dir: "armsitemanager" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armsitemanager" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armsitemanager" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/EdgeOrder/tspconfig.yaml b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/EdgeOrder/tspconfig.yaml index 812633bb90f7..1c1d7e35b143 100644 --- a/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/EdgeOrder/tspconfig.yaml +++ b/specification/edgeorder/resource-manager/Microsoft.EdgeOrder/EdgeOrder/tspconfig.yaml @@ -38,8 +38,8 @@ options: name: "@azure/arm-edgeorder" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/edgeorder" - package-dir: "armedgeorder" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armedgeorder" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armedgeorder" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/edgezones/EdgeZones.Management/tspconfig.yaml b/specification/edgezones/EdgeZones.Management/tspconfig.yaml index c65c215bed8f..9664cd7b47c9 100644 --- a/specification/edgezones/EdgeZones.Management/tspconfig.yaml +++ b/specification/edgezones/EdgeZones.Management/tspconfig.yaml @@ -28,8 +28,8 @@ options: service-name: "Edge Zones" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/edgezones" - package-dir: "armedgezones" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armedgezones" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armedgezones" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/ElasticSan/tspconfig.yaml b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/ElasticSan/tspconfig.yaml index c69e8c2e2817..3abc67f1c881 100644 --- a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/ElasticSan/tspconfig.yaml +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/ElasticSan/tspconfig.yaml @@ -38,8 +38,8 @@ options: name: "@azure/arm-elasticsan" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/elasticsan" - package-dir: "armelasticsan" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armelasticsan" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armelasticsan" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml index 54689483a300..1d31cb044967 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml @@ -42,11 +42,9 @@ options: flavor: azure is-modular-library: true "@azure-tools/typespec-go": - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/azsystemevents" service-dir: "sdk/messaging/eventgrid" - package-dir: "azsystemevents" - module-version: "0.0.1" - emitter-output-dir: "{project-root}" + emitter-output-dir: "{output-dir}/{service-dir}/azsystemevents" slice-elements-byval: true flavor: "azure" "@azure-tools/typespec-java": diff --git a/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml b/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml index aed4356b9c89..5d49f94f9c17 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml +++ b/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml @@ -55,10 +55,8 @@ options: experimental-extensible-enums: true is-modular-library: true "@azure-tools/typespec-go": - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/aznamespaces" service-dir: "sdk/messaging/eventgrid" - package-dir: "aznamespaces" - module-version: "0.0.1" - emitter-output-dir: "{project-root}" + emitter-output-dir: "{output-dir}/{service-dir}/aznamespaces" slice-elements-byval: true flavor: "azure" diff --git a/specification/ews/SecretSyncController.Management/tspconfig.yaml b/specification/ews/SecretSyncController.Management/tspconfig.yaml index 1a47c2f41315..6663573f9cc7 100644 --- a/specification/ews/SecretSyncController.Management/tspconfig.yaml +++ b/specification/ews/SecretSyncController.Management/tspconfig.yaml @@ -39,8 +39,8 @@ options: name: "@azure/arm-secretsstoreextension" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/secretsstoreextension" - package-dir: "armsecretsstoreextension" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armsecretsstoreextension" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armsecretsstoreextension" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/fabric/resource-manager/Microsoft.Fabric/Fabric/tspconfig.yaml b/specification/fabric/resource-manager/Microsoft.Fabric/Fabric/tspconfig.yaml index b9474d2ba32f..be3365c9bdf5 100644 --- a/specification/fabric/resource-manager/Microsoft.Fabric/Fabric/tspconfig.yaml +++ b/specification/fabric/resource-manager/Microsoft.Fabric/Fabric/tspconfig.yaml @@ -37,8 +37,8 @@ options: namespace: "com.azure.resourcemanager.fabric" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/fabric" - package-dir: "armfabric" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armfabric" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armfabric" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/fileshares/resource-manager/Microsoft.FileShares/FileShares/tspconfig.yaml b/specification/fileshares/resource-manager/Microsoft.FileShares/FileShares/tspconfig.yaml index a05e53ab39e8..cbc3504fe910 100644 --- a/specification/fileshares/resource-manager/Microsoft.FileShares/FileShares/tspconfig.yaml +++ b/specification/fileshares/resource-manager/Microsoft.FileShares/FileShares/tspconfig.yaml @@ -36,8 +36,8 @@ options: name: "@azure/arm-fileshares" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/fileshares" - package-dir: "armfileshares" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armfileshares" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armfileshares" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/fist/IotFirmwareDefense.Management/tspconfig.yaml b/specification/fist/IotFirmwareDefense.Management/tspconfig.yaml index 0d0ca940c10e..3da2a844eebd 100644 --- a/specification/fist/IotFirmwareDefense.Management/tspconfig.yaml +++ b/specification/fist/IotFirmwareDefense.Management/tspconfig.yaml @@ -29,8 +29,8 @@ options: service-name: "IoT Firmware Defense" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/iotfirmwaredefense" - package-dir: "armiotfirmwaredefense" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armiotfirmwaredefense" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armiotfirmwaredefense" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/Assignments/tspconfig.yaml b/specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/Assignments/tspconfig.yaml index 0363f774ee1b..3ad3191f047e 100644 --- a/specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/Assignments/tspconfig.yaml +++ b/specification/guestconfiguration/resource-manager/Microsoft.GuestConfiguration/Assignments/tspconfig.yaml @@ -33,8 +33,8 @@ options: name: "@azure/arm-guestconfiguration" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/guestconfiguration" - package-dir: "armguestconfiguration" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armguestconfiguration" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armguestconfiguration" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/HardwareSecurityModules/tspconfig.yaml b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/HardwareSecurityModules/tspconfig.yaml index 65f00a29be95..58c3d6e1c26e 100644 --- a/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/HardwareSecurityModules/tspconfig.yaml +++ b/specification/hardwaresecuritymodules/resource-manager/Microsoft.HardwareSecurityModules/HardwareSecurityModules/tspconfig.yaml @@ -39,8 +39,8 @@ options: name: "@azure/arm-hardwaresecuritymodules" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/hardwaresecuritymodules" - package-dir: "armhardwaresecuritymodules" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armhardwaresecuritymodules" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armhardwaresecuritymodules" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/healthdataaiservices/HealthDataAIServices.Management/tspconfig.yaml b/specification/healthdataaiservices/HealthDataAIServices.Management/tspconfig.yaml index e8e37605f539..622a9544fdbf 100644 --- a/specification/healthdataaiservices/HealthDataAIServices.Management/tspconfig.yaml +++ b/specification/healthdataaiservices/HealthDataAIServices.Management/tspconfig.yaml @@ -35,8 +35,8 @@ options: name: "@azure/arm-healthdataaiservices" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/healthdataaiservices" - package-dir: "armhealthdataaiservices" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armhealthdataaiservices" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armhealthdataaiservices" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/help/Help.Management/tspconfig.yaml b/specification/help/Help.Management/tspconfig.yaml index ae53b4137dae..a927fcb729cc 100644 --- a/specification/help/Help.Management/tspconfig.yaml +++ b/specification/help/Help.Management/tspconfig.yaml @@ -42,8 +42,8 @@ options: name: "@azure/arm-selfhelp" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/selfhelp" - package-dir: "armselfhelp" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armselfhelp" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armselfhelp" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/hybridconnectivity/HybridConnectivity.Management/tspconfig.yaml b/specification/hybridconnectivity/HybridConnectivity.Management/tspconfig.yaml index cff1a79b46e5..590ee48cbfe8 100644 --- a/specification/hybridconnectivity/HybridConnectivity.Management/tspconfig.yaml +++ b/specification/hybridconnectivity/HybridConnectivity.Management/tspconfig.yaml @@ -42,8 +42,8 @@ options: name: "@azure/arm-hybridconnectivity" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/hybridconnectivity" - package-dir: "armhybridconnectivity" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armhybridconnectivity" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armhybridconnectivity" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/hybridkubernetes/HybridKubernetes.Management/tspconfig.yaml b/specification/hybridkubernetes/HybridKubernetes.Management/tspconfig.yaml index 536bc02417b9..175f2898bbbf 100644 --- a/specification/hybridkubernetes/HybridKubernetes.Management/tspconfig.yaml +++ b/specification/hybridkubernetes/HybridKubernetes.Management/tspconfig.yaml @@ -36,8 +36,8 @@ options: name: "@azure/arm-hybridkubernetes" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/hybridkubernetes" - package-dir: "armhybridkubernetes" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armhybridkubernetes" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armhybridkubernetes" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/impact/Impact.Management/tspconfig.yaml b/specification/impact/Impact.Management/tspconfig.yaml index 6cf609eb9efd..77b90d1a81c7 100644 --- a/specification/impact/Impact.Management/tspconfig.yaml +++ b/specification/impact/Impact.Management/tspconfig.yaml @@ -31,8 +31,8 @@ options: flavor: azure "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/impactreporting" - package-dir: "armimpactreporting" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armimpactreporting" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armimpactreporting" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/iotoperations/IoTOperations.Management/tspconfig.yaml b/specification/iotoperations/IoTOperations.Management/tspconfig.yaml index aaa83a638d42..2e86132775d2 100644 --- a/specification/iotoperations/IoTOperations.Management/tspconfig.yaml +++ b/specification/iotoperations/IoTOperations.Management/tspconfig.yaml @@ -33,8 +33,8 @@ options: name: "@azure/arm-iotoperations" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/iotoperations" - package-dir: "armiotoperations" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armiotoperations" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armiotoperations" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/keyvault/Security.KeyVault.BackupRestore/tspconfig.yaml b/specification/keyvault/Security.KeyVault.BackupRestore/tspconfig.yaml index e4ed02412ce9..11da014d71ac 100644 --- a/specification/keyvault/Security.KeyVault.BackupRestore/tspconfig.yaml +++ b/specification/keyvault/Security.KeyVault.BackupRestore/tspconfig.yaml @@ -26,12 +26,11 @@ options: # "@azure-tools/typespec-ts": true "@azure-tools/typespec-go": service-dir: "sdk/security/keyvault" - package-dir: "azadmin/backup" + emitter-output-dir: "{output-dir}/{service-dir}/azadmin/backup" inject-spans: true single-client: true generate-fakes: true - module: "github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azadmin" - module-version: "0.0.1" + containing-module: "github.com/Azure/azure-sdk-for-go/{service-dir}/azadmin" "@azure-tools/typespec-client-generator-cli": additionalDirectories: - "specification/keyvault/Security.KeyVault.Common/" diff --git a/specification/keyvault/Security.KeyVault.Certificates/tspconfig.yaml b/specification/keyvault/Security.KeyVault.Certificates/tspconfig.yaml index f42167f51bbf..eb30ea650b07 100644 --- a/specification/keyvault/Security.KeyVault.Certificates/tspconfig.yaml +++ b/specification/keyvault/Security.KeyVault.Certificates/tspconfig.yaml @@ -51,10 +51,8 @@ options: flavor: azure "@azure-tools/typespec-go": service-dir: "sdk/security/keyvault" - package-dir: "azcertificates" - module: "github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azcertificates" - module-version: "0.0.1" - emitter-output-dir: "{project-root}" + emitter-output-dir: "{output-dir}/{service-dir}/azcertificates" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/azcertificates" override-client-name: "Client" single-client: true inject-spans: true diff --git a/specification/keyvault/Security.KeyVault.Keys/tspconfig.yaml b/specification/keyvault/Security.KeyVault.Keys/tspconfig.yaml index 13fc8ea253d8..7437cce9c1d4 100644 --- a/specification/keyvault/Security.KeyVault.Keys/tspconfig.yaml +++ b/specification/keyvault/Security.KeyVault.Keys/tspconfig.yaml @@ -51,10 +51,8 @@ options: flavor: azure "@azure-tools/typespec-go": service-dir: "sdk/security/keyvault" - package-dir: "azkeys" - module: "github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys" - module-version: "0.0.1" - emitter-output-dir: "{project-root}" + emitter-output-dir: "{output-dir}/{service-dir}/azkeys" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/azkeys" override-client-name: "Client" single-client: true inject-spans: true diff --git a/specification/keyvault/Security.KeyVault.RBAC/tspconfig.yaml b/specification/keyvault/Security.KeyVault.RBAC/tspconfig.yaml index fb1f7bf41dcb..ec489a32601d 100644 --- a/specification/keyvault/Security.KeyVault.RBAC/tspconfig.yaml +++ b/specification/keyvault/Security.KeyVault.RBAC/tspconfig.yaml @@ -26,12 +26,11 @@ options: # "@azure-tools/typespec-ts": true "@azure-tools/typespec-go": service-dir: "sdk/security/keyvault" - package-dir: "azadmin/rbac" + emitter-output-dir: "{output-dir}/{service-dir}/azadmin/rbac" inject-spans: true single-client: true generate-fakes: true - module: "github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azadmin" - module-version: "0.0.1" + containing-module: "github.com/Azure/azure-sdk-for-go/{service-dir}/azadmin" "@azure-tools/typespec-client-generator-cli": additionalDirectories: - "specification/keyvault/Security.KeyVault.Common/" diff --git a/specification/keyvault/Security.KeyVault.Secrets/tspconfig.yaml b/specification/keyvault/Security.KeyVault.Secrets/tspconfig.yaml index 459e9f22667a..d26dff926231 100644 --- a/specification/keyvault/Security.KeyVault.Secrets/tspconfig.yaml +++ b/specification/keyvault/Security.KeyVault.Secrets/tspconfig.yaml @@ -49,10 +49,8 @@ options: flavor: azure "@azure-tools/typespec-go": service-dir: "sdk/security/keyvault" - package-dir: "azsecrets" - module: "github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azsecrets" - module-version: "0.0.1" - emitter-output-dir: "{project-root}" + emitter-output-dir: "{output-dir}/{service-dir}/azsecrets" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/azsecrets" override-client-name: "Client" single-client: true inject-spans: true diff --git a/specification/keyvault/Security.KeyVault.Settings/tspconfig.yaml b/specification/keyvault/Security.KeyVault.Settings/tspconfig.yaml index 185639373863..c46b8eb5c0d5 100644 --- a/specification/keyvault/Security.KeyVault.Settings/tspconfig.yaml +++ b/specification/keyvault/Security.KeyVault.Settings/tspconfig.yaml @@ -26,12 +26,11 @@ options: # "@azure-tools/typespec-ts": true "@azure-tools/typespec-go": service-dir: "sdk/security/keyvault" - package-dir: "azadmin/settings" + emitter-output-dir: "{output-dir}/{service-dir}/azadmin/settings" inject-spans: true single-client: true generate-fakes: true - module: "github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azadmin" - module-version: "0.0.1" + containing-module: "github.com/Azure/azure-sdk-for-go/{service-dir}/azadmin" "@azure-tools/typespec-client-generator-cli": additionalDirectories: - "specification/keyvault/Security.KeyVault.Common/" diff --git a/specification/liftrarize/ArizeAi.ObservabilityEval.Management/tspconfig.yaml b/specification/liftrarize/ArizeAi.ObservabilityEval.Management/tspconfig.yaml index b874185a3567..7f5e4c55c0cd 100644 --- a/specification/liftrarize/ArizeAi.ObservabilityEval.Management/tspconfig.yaml +++ b/specification/liftrarize/ArizeAi.ObservabilityEval.Management/tspconfig.yaml @@ -24,8 +24,8 @@ options: generate-sample: true "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/arizeaiobservabilityeval" - package-dir: "armarizeaiobservabilityeval" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armarizeaiobservabilityeval" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armarizeaiobservabilityeval" fix-const-stuttering: true flavor: "azure" generate-examples: true diff --git a/specification/liftrhyperexecute/LambdaTest.HyperExecute.Management/tspconfig.yaml b/specification/liftrhyperexecute/LambdaTest.HyperExecute.Management/tspconfig.yaml index 6c9eff7313e9..e9a35454d5e4 100644 --- a/specification/liftrhyperexecute/LambdaTest.HyperExecute.Management/tspconfig.yaml +++ b/specification/liftrhyperexecute/LambdaTest.HyperExecute.Management/tspconfig.yaml @@ -28,8 +28,8 @@ options: service-name: "LambdaTest HyperExecute" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/lambdatesthyperexecute" - package-dir: "armlambdatesthyperexecute" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armlambdatesthyperexecute" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armlambdatesthyperexecute" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/liftrmongodb/MongoDB.Atlas.Management/tspconfig.yaml b/specification/liftrmongodb/MongoDB.Atlas.Management/tspconfig.yaml index fb5671bf264b..c96e90a9672c 100644 --- a/specification/liftrmongodb/MongoDB.Atlas.Management/tspconfig.yaml +++ b/specification/liftrmongodb/MongoDB.Atlas.Management/tspconfig.yaml @@ -22,8 +22,8 @@ options: service-name: "Mongo DB Atlas" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/mongodbatlas" - package-dir: "armmongodbatlas" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armmongodbatlas" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armmongodbatlas" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/liftrneon/Neon.Postgres.Management/tspconfig.yaml b/specification/liftrneon/Neon.Postgres.Management/tspconfig.yaml index 0e83d086a85d..4fcc2c0dd71a 100644 --- a/specification/liftrneon/Neon.Postgres.Management/tspconfig.yaml +++ b/specification/liftrneon/Neon.Postgres.Management/tspconfig.yaml @@ -34,8 +34,8 @@ options: flavor: "azure" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/neonpostgres" - package-dir: "armneonpostgres" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armneonpostgres" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armneonpostgres" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/liftrpinecone/Pinecone.VectorDb.Management/tspconfig.yaml b/specification/liftrpinecone/Pinecone.VectorDb.Management/tspconfig.yaml index 369473c39fb3..b519c747cad1 100644 --- a/specification/liftrpinecone/Pinecone.VectorDb.Management/tspconfig.yaml +++ b/specification/liftrpinecone/Pinecone.VectorDb.Management/tspconfig.yaml @@ -34,8 +34,8 @@ options: service-name: "Pinecone Vector Db" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/pineconevectordb" - package-dir: "armpineconevectordb" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armpineconevectordb" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armpineconevectordb" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/liftrqumulo/Qumulo.Storage.Management/tspconfig.yaml b/specification/liftrqumulo/Qumulo.Storage.Management/tspconfig.yaml index 3781ae3d96d6..98cbdd1201fa 100644 --- a/specification/liftrqumulo/Qumulo.Storage.Management/tspconfig.yaml +++ b/specification/liftrqumulo/Qumulo.Storage.Management/tspconfig.yaml @@ -34,8 +34,8 @@ options: generate-sample: true "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/liftrqumulo" - package-dir: "armqumulo" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armqumulo" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armqumulo" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/liftrweightsandbiases/Liftr.WeightsAndBiases.Management/tspconfig.yaml b/specification/liftrweightsandbiases/Liftr.WeightsAndBiases.Management/tspconfig.yaml index 003323b91b26..897c61fdfaa7 100644 --- a/specification/liftrweightsandbiases/Liftr.WeightsAndBiases.Management/tspconfig.yaml +++ b/specification/liftrweightsandbiases/Liftr.WeightsAndBiases.Management/tspconfig.yaml @@ -24,8 +24,8 @@ options: generate-sample: true "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/weightsandbiases" - package-dir: "armweightsandbiases" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armweightsandbiases" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armweightsandbiases" fix-const-stuttering: true flavor: "azure" generate-examples: true diff --git a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/loadtesting/tspconfig.yaml b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/loadtesting/tspconfig.yaml index edfb7b38d832..9806ffc0e140 100644 --- a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/loadtesting/tspconfig.yaml +++ b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/loadtesting/tspconfig.yaml @@ -49,8 +49,8 @@ options: - "EncryptionPropertiesIdentity.resourceId" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/loadtesting" - package-dir: "armloadtesting" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armloadtesting" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armloadtesting" fix-const-stuttering: true flavor: "azure" generate-examples: true diff --git a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/playwright/tspconfig.yaml b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/playwright/tspconfig.yaml index 792a22479aed..670b92b96ec8 100644 --- a/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/playwright/tspconfig.yaml +++ b/specification/loadtestservice/resource-manager/Microsoft.LoadTestService/playwright/tspconfig.yaml @@ -54,8 +54,8 @@ options: service-name: Playwright "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/playwright" - package-dir: "armplaywright" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armplaywright" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armplaywright" fix-const-stuttering: true flavor: "azure" generate-examples: true diff --git a/specification/maintenance/resource-manager/Microsoft.Maintenance/Maintenance/tspconfig.yaml b/specification/maintenance/resource-manager/Microsoft.Maintenance/Maintenance/tspconfig.yaml index 5147a8d41908..cae6292ca193 100644 --- a/specification/maintenance/resource-manager/Microsoft.Maintenance/Maintenance/tspconfig.yaml +++ b/specification/maintenance/resource-manager/Microsoft.Maintenance/Maintenance/tspconfig.yaml @@ -32,8 +32,8 @@ options: name: "@azure/arm-maintenance" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/maintenance" - package-dir: "armmaintenance" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armmaintenance" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armmaintenance" fix-const-stuttering: false flavor: "azure" generate-samples: true diff --git a/specification/marketplacecatalog/Reviews.Management/tspconfig.yaml b/specification/marketplacecatalog/Reviews.Management/tspconfig.yaml index 40ba6223a6dd..ac66d3271388 100644 --- a/specification/marketplacecatalog/Reviews.Management/tspconfig.yaml +++ b/specification/marketplacecatalog/Reviews.Management/tspconfig.yaml @@ -35,8 +35,8 @@ options: name: "@azure/arm-reviews" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/reviews" - package-dir: "armreviews" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armreviews" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armreviews" fix-const-stuttering: true flavor: "azure" generate-fakes: true diff --git a/specification/mission/Mission.Management/tspconfig.yaml b/specification/mission/Mission.Management/tspconfig.yaml index 5147be707c08..3a1191463c1b 100644 --- a/specification/mission/Mission.Management/tspconfig.yaml +++ b/specification/mission/Mission.Management/tspconfig.yaml @@ -12,8 +12,8 @@ options: use-read-only-status-schema: true "@azure-tools/typespec-go": service-dir: sdk/resourcemanager/virtualenclaves #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation - package-dir: armvirtualenclaves #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation - module: github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir} #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + emitter-output-dir: "{output-dir}/{service-dir}/armvirtualenclaves" #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armvirtualenclaves" #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation fix-const-stuttering: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation generate-samples: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation generate-fakes: true #!!!IMPORTANT!!! To ensure the emitter correctly produces SDK, this configuration is added by Azure SDK Team. Some configurations use placeholder values. For modifications, please refer to https://aka.ms/azsdk/specs/typespec-validation#sdktspconfigvalidation diff --git a/specification/mongocluster/resource-manager/Microsoft.DocumentDB/MongoCluster/tspconfig.yaml b/specification/mongocluster/resource-manager/Microsoft.DocumentDB/MongoCluster/tspconfig.yaml index a6933c6b3a06..88e5268892a7 100644 --- a/specification/mongocluster/resource-manager/Microsoft.DocumentDB/MongoCluster/tspconfig.yaml +++ b/specification/mongocluster/resource-manager/Microsoft.DocumentDB/MongoCluster/tspconfig.yaml @@ -23,8 +23,8 @@ options: service-name: "Mongo Cluster" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/mongocluster" - package-dir: "armmongocluster" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armmongocluster" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armmongocluster" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/monitor/Microsoft.Monitor.Accounts.Management/tspconfig.yaml b/specification/monitor/Microsoft.Monitor.Accounts.Management/tspconfig.yaml index 4bc46de0ac19..279aa28f00d9 100644 --- a/specification/monitor/Microsoft.Monitor.Accounts.Management/tspconfig.yaml +++ b/specification/monitor/Microsoft.Monitor.Accounts.Management/tspconfig.yaml @@ -40,8 +40,8 @@ options: name: "@azure/arm-monitoraccounts" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/monitor" - package-dir: "armmonitor" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armmonitor" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armmonitor" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/monitor/Microsoft.Monitor.Issues.Management/tspconfig.yaml b/specification/monitor/Microsoft.Monitor.Issues.Management/tspconfig.yaml index e2c4bfb6d621..23c1295e486b 100644 --- a/specification/monitor/Microsoft.Monitor.Issues.Management/tspconfig.yaml +++ b/specification/monitor/Microsoft.Monitor.Issues.Management/tspconfig.yaml @@ -40,8 +40,8 @@ options: name: "@azure/arm-monitorissues" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/monitor" - package-dir: "armmonitorissues" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armmonitorissues" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armmonitorissues" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/monitor/Monitor.Ingestion/tspconfig.yaml b/specification/monitor/Monitor.Ingestion/tspconfig.yaml index 4e548361e55d..30ccc5938acc 100644 --- a/specification/monitor/Monitor.Ingestion/tspconfig.yaml +++ b/specification/monitor/Monitor.Ingestion/tspconfig.yaml @@ -32,9 +32,8 @@ options: customization-class: "customization/src/main/java/MonitorIngestionCustomizations.java" "@azure-tools/typespec-go": service-dir: "sdk/monitor/ingestion" - package-dir: "azlogs" - module: "github.com/Azure/azure-sdk-for-go/sdk/monitor/ingestion/azlogs" - module-version: "0.0.1" + emitter-output-dir: "{output-dir}/{service-dir}/azlogs" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/azlogs" single-client: true rawjson-as-bytes: true inject-spans: true diff --git a/specification/monitor/Monitor.Query.Logs/tspconfig.yaml b/specification/monitor/Monitor.Query.Logs/tspconfig.yaml index 58578bd0f4d3..6e379526a2e6 100644 --- a/specification/monitor/Monitor.Query.Logs/tspconfig.yaml +++ b/specification/monitor/Monitor.Query.Logs/tspconfig.yaml @@ -51,9 +51,8 @@ options: service-name: LogsQuery "@azure-tools/typespec-go": service-dir: "sdk/monitor/query" - package-dir: "azlogs" - module: "github.com/Azure/azure-sdk-for-go/sdk/monitor/query/azlogs" - module-version: "0.0.1" + emitter-output-dir: "{output-dir}/{service-dir}/azlogs" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/azlogs" single-client: true generate-fakes: true inject-spans: true diff --git a/specification/monitor/Monitor.Query.Metrics/tspconfig.yaml b/specification/monitor/Monitor.Query.Metrics/tspconfig.yaml index ba7c124ba194..705754b188e8 100644 --- a/specification/monitor/Monitor.Query.Metrics/tspconfig.yaml +++ b/specification/monitor/Monitor.Query.Metrics/tspconfig.yaml @@ -49,9 +49,8 @@ options: customization-class: "customization/src/main/java/MetricsQueryCustomization.java" "@azure-tools/typespec-go": service-dir: "sdk/monitor/query" - package-dir: "azmetrics" - module: "github.com/Azure/azure-sdk-for-go/sdk/monitor/query/azmetrics" - module-version: "0.0.1" + emitter-output-dir: "{output-dir}/{service-dir}/azmetrics" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/azmetrics" single-client: true generate-fakes: true inject-spans: true diff --git a/specification/msi/ManagedIdentity.Management/tspconfig.yaml b/specification/msi/ManagedIdentity.Management/tspconfig.yaml index f8fc4203a2d9..ac2d6e174771 100644 --- a/specification/msi/ManagedIdentity.Management/tspconfig.yaml +++ b/specification/msi/ManagedIdentity.Management/tspconfig.yaml @@ -34,8 +34,8 @@ options: name: "@azure/arm-msi" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/msi" - package-dir: "armmsi" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armmsi" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armmsi" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/tspconfig.yaml b/specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/tspconfig.yaml index 4c3d3be0ecf1..fa9b7150a5a7 100644 --- a/specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/tspconfig.yaml +++ b/specification/mysql/resource-manager/Microsoft.DBforMySQL/FlexibleServers/tspconfig.yaml @@ -41,8 +41,8 @@ options: name: "@azure/arm-mysql-flexible" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/mysql" - package-dir: "armmysqlflexibleservers" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armmysqlflexibleservers" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armmysqlflexibleservers" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/NotificationHubs/tspconfig.yaml b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/NotificationHubs/tspconfig.yaml index 7eb1d3a6ed08..8af5ae68894e 100644 --- a/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/NotificationHubs/tspconfig.yaml +++ b/specification/notificationhubs/resource-manager/Microsoft.NotificationHubs/NotificationHubs/tspconfig.yaml @@ -31,8 +31,8 @@ options: name: "@azure/arm-notificationhubs" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/notificationhubs" - package-dir: "armnotificationhubs" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armnotificationhubs" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armnotificationhubs" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/onlineexperimentation/Azure.Analytics.OnlineExperimentation/tspconfig.yaml b/specification/onlineexperimentation/Azure.Analytics.OnlineExperimentation/tspconfig.yaml index 1638d0d7b4e0..f30517f9a207 100644 --- a/specification/onlineexperimentation/Azure.Analytics.OnlineExperimentation/tspconfig.yaml +++ b/specification/onlineexperimentation/Azure.Analytics.OnlineExperimentation/tspconfig.yaml @@ -18,10 +18,9 @@ options: emitter-output-dir: "{project-root}/../" output-file: "{output-folder-base}/data-plane/OpenApi3/Microsoft.OnlineExperimentation/preview/{version}/onlineexperimentation.json" "@azure-tools/typespec-go": - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/azonlineexperimentation" service-dir: "sdk/analytics" - package-dir: "azonlineexperimentation" - module-version: "0.0.1" + emitter-output-dir: "{output-dir}/{service-dir}/azonlineexperimentation" generate-fakes: true inject-spans: true single-client: true diff --git a/specification/onlineexperimentation/OnlineExperimentation.Management/tspconfig.yaml b/specification/onlineexperimentation/OnlineExperimentation.Management/tspconfig.yaml index e69b06b0ba81..391d2d050f78 100644 --- a/specification/onlineexperimentation/OnlineExperimentation.Management/tspconfig.yaml +++ b/specification/onlineexperimentation/OnlineExperimentation.Management/tspconfig.yaml @@ -35,8 +35,8 @@ options: name: "@azure/arm-onlineexperimentation" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/onlineexperimentation" - package-dir: "armonlineexperimentation" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armonlineexperimentation" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armonlineexperimentation" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/oracle/Oracle.Database.Management/tspconfig.yaml b/specification/oracle/Oracle.Database.Management/tspconfig.yaml index 06fa8c65b34c..4a0c06209e5d 100644 --- a/specification/oracle/Oracle.Database.Management/tspconfig.yaml +++ b/specification/oracle/Oracle.Database.Management/tspconfig.yaml @@ -33,8 +33,8 @@ options: flavor: azure "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/oracledatabase" - package-dir: "armoracledatabase" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armoracledatabase" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armoracledatabase" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/orbitalplanetarycomputer/Orbital.Management/tspconfig.yaml b/specification/orbitalplanetarycomputer/Orbital.Management/tspconfig.yaml index 7b95bc49a4d6..33d9c6ccd200 100644 --- a/specification/orbitalplanetarycomputer/Orbital.Management/tspconfig.yaml +++ b/specification/orbitalplanetarycomputer/Orbital.Management/tspconfig.yaml @@ -35,8 +35,8 @@ options: name: "@azure/arm-planetarycomputer" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/planetarycomputer" - package-dir: "armplanetarycomputer" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armplanetarycomputer" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armplanetarycomputer" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/portalservices/CopilotSettings.Management/tspconfig.yaml b/specification/portalservices/CopilotSettings.Management/tspconfig.yaml index 23cd273afb21..0ba273b3019a 100644 --- a/specification/portalservices/CopilotSettings.Management/tspconfig.yaml +++ b/specification/portalservices/CopilotSettings.Management/tspconfig.yaml @@ -38,8 +38,8 @@ options: name: "@azure/arm-portalservicescopilot" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/portalservicescopilot" - package-dir: "armportalservicescopilot" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armportalservicescopilot" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armportalservicescopilot" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/postgresqlhsc/PostgresqlHsc.Management/tspconfig.yaml b/specification/postgresqlhsc/PostgresqlHsc.Management/tspconfig.yaml index 2cec48aa1fe2..98d1f218046d 100644 --- a/specification/postgresqlhsc/PostgresqlHsc.Management/tspconfig.yaml +++ b/specification/postgresqlhsc/PostgresqlHsc.Management/tspconfig.yaml @@ -32,8 +32,8 @@ options: name: "@azure/arm-postgresqlhsc" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/postgresqlhsc" - package-dir: "armpostgresqlhsc" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armpostgresqlhsc" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armpostgresqlhsc" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/PowerBIDedicated/tspconfig.yaml b/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/PowerBIDedicated/tspconfig.yaml index bc9aa35a2fc3..a9dc02e42894 100644 --- a/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/PowerBIDedicated/tspconfig.yaml +++ b/specification/powerbidedicated/resource-manager/Microsoft.PowerBIdedicated/PowerBIDedicated/tspconfig.yaml @@ -32,8 +32,8 @@ options: name: "@azure/arm-powerbidedicated" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/powerbidedicated" - package-dir: "armpowerbidedicated" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armpowerbidedicated" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armpowerbidedicated" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/privatedns/resource-manager/Microsoft.Network/PrivateDns/tspconfig.yaml b/specification/privatedns/resource-manager/Microsoft.Network/PrivateDns/tspconfig.yaml index ff7fab9fbc4f..c03c67bae7c4 100644 --- a/specification/privatedns/resource-manager/Microsoft.Network/PrivateDns/tspconfig.yaml +++ b/specification/privatedns/resource-manager/Microsoft.Network/PrivateDns/tspconfig.yaml @@ -32,8 +32,8 @@ options: name: "@azure/arm-privatedns" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/privatedns" - package-dir: "armprivatedns" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armprivatedns" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armprivatedns" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/purestorage/PureStorage.Block.Management/tspconfig.yaml b/specification/purestorage/PureStorage.Block.Management/tspconfig.yaml index 0d4c7937728a..5bd047940de1 100644 --- a/specification/purestorage/PureStorage.Block.Management/tspconfig.yaml +++ b/specification/purestorage/PureStorage.Block.Management/tspconfig.yaml @@ -39,8 +39,8 @@ options: name: "@azure/arm-purestorageblock" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/purestorageblock" - package-dir: "armpurestorageblock" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armpurestorageblock" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armpurestorageblock" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/RecoveryServices/tspconfig.yaml b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/RecoveryServices/tspconfig.yaml index a8e725b1983a..d330f5cee638 100644 --- a/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/RecoveryServices/tspconfig.yaml +++ b/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/RecoveryServices/tspconfig.yaml @@ -36,8 +36,8 @@ options: name: "@azure/arm-recoveryservices" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/recoveryservices" - package-dir: "armrecoveryservices" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armrecoveryservices" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armrecoveryservices" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/DataReplication/tspconfig.yaml b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/DataReplication/tspconfig.yaml index c8508b471467..8e38ff96df6b 100644 --- a/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/DataReplication/tspconfig.yaml +++ b/specification/recoveryservicesdatareplication/resource-manager/Microsoft.DataReplication/DataReplication/tspconfig.yaml @@ -26,8 +26,8 @@ options: generate-sample: true "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/recoveryservicesdatareplication" - package-dir: "armrecoveryservicesdatareplication" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armrecoveryservicesdatareplication" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armrecoveryservicesdatareplication" fix-const-stuttering: true flavor: "azure" generate-examples: true diff --git a/specification/redis/Cache.Management/tspconfig.yaml b/specification/redis/Cache.Management/tspconfig.yaml index 2049c290b008..b6f92b39e833 100644 --- a/specification/redis/Cache.Management/tspconfig.yaml +++ b/specification/redis/Cache.Management/tspconfig.yaml @@ -35,8 +35,8 @@ options: name: "@azure/arm-rediscache" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/redis" - package-dir: "armredis" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armredis" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armredis" fix-const-stuttering: false flavor: "azure" generate-samples: true diff --git a/specification/relationships/Relationships.Management/tspconfig.yaml b/specification/relationships/Relationships.Management/tspconfig.yaml index c32330fc029c..5d088a4fb973 100644 --- a/specification/relationships/Relationships.Management/tspconfig.yaml +++ b/specification/relationships/Relationships.Management/tspconfig.yaml @@ -35,8 +35,8 @@ options: name: "@azure/arm-relationships" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/relationships" - package-dir: "armrelationships" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armrelationships" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armrelationships" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/resources/Bicep.Management/tspconfig.yaml b/specification/resources/Bicep.Management/tspconfig.yaml index 6034bbaf3abd..78efe0217db8 100644 --- a/specification/resources/Bicep.Management/tspconfig.yaml +++ b/specification/resources/Bicep.Management/tspconfig.yaml @@ -35,8 +35,8 @@ options: name: "@azure/arm-resourcesbicep" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/resources" - package-dir: "armbicep" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armbicep" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armbicep" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/resources/DeploymentStacks.Management/tspconfig.yaml b/specification/resources/DeploymentStacks.Management/tspconfig.yaml index b60558fb9fed..8e6741ec0d4e 100644 --- a/specification/resources/DeploymentStacks.Management/tspconfig.yaml +++ b/specification/resources/DeploymentStacks.Management/tspconfig.yaml @@ -37,8 +37,8 @@ options: name: "@azure/arm-resourcesdeploymentstacks" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/resources" - package-dir: "armdeploymentstacks" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armdeploymentstacks" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armdeploymentstacks" fix-const-stuttering: false flavor: "azure" generate-samples: true diff --git a/specification/servicefabricmanagedclusters/ServiceFabricManagedClusters.Management/tspconfig.yaml b/specification/servicefabricmanagedclusters/ServiceFabricManagedClusters.Management/tspconfig.yaml index 37285bdf266a..fbccec85ec9d 100644 --- a/specification/servicefabricmanagedclusters/ServiceFabricManagedClusters.Management/tspconfig.yaml +++ b/specification/servicefabricmanagedclusters/ServiceFabricManagedClusters.Management/tspconfig.yaml @@ -34,9 +34,8 @@ options: experimental-extensible-enums: true "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/servicefabricmanagedclusters" - package-dir: "armservicefabricmanagedclusters" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" - module-version: "0.5.0" + emitter-output-dir: "{output-dir}/{service-dir}/armservicefabricmanagedclusters" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armservicefabricmanagedclusters" fix-const-stuttering: true generate-examples: true generate-fakes: true diff --git a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/ServiceNetworking/tspconfig.yaml b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/ServiceNetworking/tspconfig.yaml index 2fe3f6bbea8a..c0bedf1bf657 100644 --- a/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/ServiceNetworking/tspconfig.yaml +++ b/specification/servicenetworking/resource-manager/Microsoft.ServiceNetworking/ServiceNetworking/tspconfig.yaml @@ -33,8 +33,8 @@ options: generate-sample: true "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/servicenetworking" - package-dir: "armservicenetworking" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armservicenetworking" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armservicenetworking" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/signalr/SignalRService.Management/tspconfig.yaml b/specification/signalr/SignalRService.Management/tspconfig.yaml index c7ac057648d3..0a47ed30a976 100644 --- a/specification/signalr/SignalRService.Management/tspconfig.yaml +++ b/specification/signalr/SignalRService.Management/tspconfig.yaml @@ -42,8 +42,8 @@ options: name: "@azure/arm-signalr" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/signalr" - package-dir: "armsignalr" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armsignalr" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armsignalr" fix-const-stuttering: false flavor: "azure" generate-samples: true diff --git a/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/SqlVirtualMachine/tspconfig.yaml b/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/SqlVirtualMachine/tspconfig.yaml index 5c17227fdc7a..dd00b5f3d971 100644 --- a/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/SqlVirtualMachine/tspconfig.yaml +++ b/specification/sqlvirtualmachine/resource-manager/Microsoft.SqlVirtualMachine/SqlVirtualMachine/tspconfig.yaml @@ -33,8 +33,8 @@ options: name: "@azure/arm-sqlvirtualmachine" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/sqlvirtualmachine" - package-dir: "armsqlvirtualmachine" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armsqlvirtualmachine" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armsqlvirtualmachine" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/standbypool/StandbyPool.Management/tspconfig.yaml b/specification/standbypool/StandbyPool.Management/tspconfig.yaml index c35f0efe76db..4448f6ebc319 100644 --- a/specification/standbypool/StandbyPool.Management/tspconfig.yaml +++ b/specification/standbypool/StandbyPool.Management/tspconfig.yaml @@ -42,8 +42,8 @@ options: generate-sample: true "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/standbypool" - package-dir: "armstandbypool" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armstandbypool" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armstandbypool" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/storageactions/StorageAction.Management/tspconfig.yaml b/specification/storageactions/StorageAction.Management/tspconfig.yaml index 910d1e726284..884f675fba12 100644 --- a/specification/storageactions/StorageAction.Management/tspconfig.yaml +++ b/specification/storageactions/StorageAction.Management/tspconfig.yaml @@ -37,8 +37,8 @@ options: name: "@azure/arm-storageactions" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/storageactions" - package-dir: "armstorageactions" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armstorageactions" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armstorageactions" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/storagediscovery/Microsoft.StorageDiscovery.Management/tspconfig.yaml b/specification/storagediscovery/Microsoft.StorageDiscovery.Management/tspconfig.yaml index d0e0ca23b0bb..e3875dc13696 100644 --- a/specification/storagediscovery/Microsoft.StorageDiscovery.Management/tspconfig.yaml +++ b/specification/storagediscovery/Microsoft.StorageDiscovery.Management/tspconfig.yaml @@ -36,8 +36,8 @@ options: generate-sample: true "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/storagediscovery" - package-dir: "armstoragediscovery" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armstoragediscovery" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armstoragediscovery" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/storagemover/StorageMover.Management/tspconfig.yaml b/specification/storagemover/StorageMover.Management/tspconfig.yaml index 08af0b58b6a9..192a6948e59c 100644 --- a/specification/storagemover/StorageMover.Management/tspconfig.yaml +++ b/specification/storagemover/StorageMover.Management/tspconfig.yaml @@ -38,8 +38,8 @@ options: name: "@azure/arm-storagemover" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/storagemover" - package-dir: "armstoragemover" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armstoragemover" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armstoragemover" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/storagesync/StorageSync.Management/tspconfig.yaml b/specification/storagesync/StorageSync.Management/tspconfig.yaml index 1e8794a3e8b2..4d699841445a 100644 --- a/specification/storagesync/StorageSync.Management/tspconfig.yaml +++ b/specification/storagesync/StorageSync.Management/tspconfig.yaml @@ -34,8 +34,8 @@ options: name: "@azure/arm-storagesync" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/storagesync" - package-dir: "armstoragesync" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armstoragesync" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armstoragesync" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/support/Support.Management/tspconfig.yaml b/specification/support/Support.Management/tspconfig.yaml index d4bb49e81470..02f3f8cb3869 100644 --- a/specification/support/Support.Management/tspconfig.yaml +++ b/specification/support/Support.Management/tspconfig.yaml @@ -38,8 +38,8 @@ options: service-name: Support "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/support" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" - package-dir: "armsupport" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armsupport" + emitter-output-dir: "{output-dir}/{service-dir}/armsupport" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/suppressions.yaml b/specification/suppressions.yaml index 60c2d462a94b..cc8610cc8674 100644 --- a/specification/suppressions.yaml +++ b/specification/suppressions.yaml @@ -65,7 +65,7 @@ - options.@azure-tools/typespec-ts.* - parameters.service-dir.default paths: - - awsconnector/*/tspconfig.yaml + - awsconnector/**/tspconfig.yaml - tool: TypeSpecValidation reason: Suppress until spec can be updated @@ -1170,3 +1170,61 @@ paths: - workloads/Workloads.SAPDiscoverySite.Management/tspconfig.yaml - workloads/Workloads.SAPMonitor.Management/tspconfig.yaml + +- tool: TypeSpecValidation + reason: Suppress until Go needs to generate SDK + rules: [SdkTspConfigValidation] + sub-rules: + - options.@azure-tools/typespec-go.* + paths: + - ai/Azure.AI.Agents/tspconfig.yaml + - ai/Azure.AI.Projects/tspconfig.yaml + - ai/ContentUnderstanding/tspconfig.yaml + - ai/DocumentIntelligence/tspconfig.yaml + - ai/Face/tspconfig.yaml + - ai/HealthInsights/HealthInsights.OpenAPI/tspconfig.yaml + - ai/HealthInsights/HealthInsights.RadiologyInsights/tspconfig.yaml + - ai/ImageAnalysis/tspconfig.yaml + - ai/ModelInference/tspconfig.yaml + - ai/OpenAI.Assistants/tspconfig.yaml + - apicenter/ApiCenter.DataApi/tspconfig.yaml + - app/data-plane/DynamicSessions/tspconfig.yaml + - appconfiguration/data-plane/AppConfiguration/tspconfig.yaml + - applicationinsights/ApplicationInsights.LiveMetrics/tspconfig.yaml + - cognitiveservices/AnomalyDetector/tspconfig.yaml + - cognitiveservices/ContentSafety/tspconfig.yaml + - cognitiveservices/Language.AnalyzeConversations-authoring/tspconfig.yaml + - cognitiveservices/Language.AnalyzeDocuments/tspconfig.yaml + - cognitiveservices/Language.AnalyzeText/tspconfig.yaml + - cognitiveservices/Language.AnalyzeText-authoring/tspconfig.yaml + - cognitiveservices/Language.Conversations/tspconfig.yaml + - cognitiveservices/Language.QuestionAnswering/tspconfig.yaml + - cognitiveservices/Language.QuestionAnswering-authoring/tspconfig.yaml + - cognitiveservices/OpenAI.Inference/tspconfig.yaml + - cognitiveservices/Speech.VideoTranslation/tspconfig.yaml + - communication/Communication.JobRouter/tspconfig.yaml + - communication/Communication.Messages/tspconfig.yaml + - confidentialledger/Microsoft.CodeTransparency/tspconfig.yaml + - confidentialledger/Microsoft.ManagedCcf/tspconfig.yaml + - devcenter/DevCenter/tspconfig.yaml + - healthdataaiservices/HealthDataAIServices.DeidServices/tspconfig.yaml + - keyvault/Security.KeyVault.Administration/tspconfig.yaml + - keyvault/Security.KeyVault.SecurityDomain/tspconfig.yaml + - loadtestservice/data-plane/loadtesting/tspconfig.yaml + - loadtestservice/data-plane/playwright/tspconfig.yaml + - machinelearning/Azure.AI.ChatProtocol/tspconfig.yaml + - machinelearningservices/AzureAI.Assets/tspconfig.yaml + - marketplacecatalog/Products/tspconfig.yaml + - orbital/Microsoft.PlanetaryComputer/tspconfig.yaml + - playwrighttesting/PlaywrightTesting.AuthManager/tspconfig.yaml + - programmableconnectivity/Azure.ProgrammableConnectivity/tspconfig.yaml + - purview/Azure.Analytics.Purview.DataMap/tspconfig.yaml + - quantum/Quantum.Workspace/tspconfig.yaml + - riskiq/Easm/tspconfig.yaml + - schemaregistry/data-plane/SchemaRegistry/tspconfig.yaml + - storage/Microsoft.BlobStorage/tspconfig.yaml + - translation/data-plane/DocumentTranslation/tspconfig.yaml + - translation/data-plane/TextTranslation/tspconfig.yaml + - trustedsigning/data-plane/TrustedSigning/tspconfig.yaml + - voiceservices/VoiceServices.Provisioning/tspconfig.yaml + - webpubsub/data-plane/WebPubSub/tspconfig.yaml \ No newline at end of file diff --git a/specification/terraform/Microsoft.AzureTerraform.Management/tspconfig.yaml b/specification/terraform/Microsoft.AzureTerraform.Management/tspconfig.yaml index 97a230f086f3..3ef10d61d77d 100644 --- a/specification/terraform/Microsoft.AzureTerraform.Management/tspconfig.yaml +++ b/specification/terraform/Microsoft.AzureTerraform.Management/tspconfig.yaml @@ -18,8 +18,8 @@ options: namespace: "Azure.ResourceManager.Terraform" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/terraform" - package-dir: "armterraform" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armterraform" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armterraform" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/vmware/resource-manager/Microsoft.AVS/AVS/tspconfig.yaml b/specification/vmware/resource-manager/Microsoft.AVS/AVS/tspconfig.yaml index cec137d7bcdb..c3d30ed283a6 100644 --- a/specification/vmware/resource-manager/Microsoft.AVS/AVS/tspconfig.yaml +++ b/specification/vmware/resource-manager/Microsoft.AVS/AVS/tspconfig.yaml @@ -28,8 +28,8 @@ options: "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/avs" - package-dir: "armavs" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armavs" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armavs" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/webpubsub/SignalRService.Management/tspconfig.yaml b/specification/webpubsub/SignalRService.Management/tspconfig.yaml index 879e554f638a..6be376b18f99 100644 --- a/specification/webpubsub/SignalRService.Management/tspconfig.yaml +++ b/specification/webpubsub/SignalRService.Management/tspconfig.yaml @@ -31,8 +31,8 @@ options: name: "@azure/arm-webpubsub" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/webpubsub" - package-dir: "armwebpubsub" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armwebpubsub" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armwebpubsub" fix-const-stuttering: false flavor: "azure" generate-samples: true diff --git a/specification/widget/data-plane/WidgetAnalytics/tspconfig.yaml b/specification/widget/data-plane/WidgetAnalytics/tspconfig.yaml index 364e1a462378..287575aa68d2 100644 --- a/specification/widget/data-plane/WidgetAnalytics/tspconfig.yaml +++ b/specification/widget/data-plane/WidgetAnalytics/tspconfig.yaml @@ -37,10 +37,9 @@ options: namespace: com.azure.widget.analytics flavor: azure "@azure-tools/typespec-go": - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/azmanager" service-dir: "sdk/widget-analytics" - package-dir: "azmanager" - module-version: "0.0.1" + emitter-output-dir: "{output-dir}/{service-dir}/azmanager" generate-fakes: true inject-spans: true single-client: true diff --git a/specification/widget/resource-manager/Microsoft.Widget/Widget/tspconfig.yaml b/specification/widget/resource-manager/Microsoft.Widget/Widget/tspconfig.yaml index 8d4a8d40aa7d..73bf6aaf4e7c 100644 --- a/specification/widget/resource-manager/Microsoft.Widget/Widget/tspconfig.yaml +++ b/specification/widget/resource-manager/Microsoft.Widget/Widget/tspconfig.yaml @@ -36,8 +36,8 @@ options: name: "@azure/arm-widget" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/widget" - package-dir: "armwidget" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armwidget" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armwidget" fix-const-stuttering: true flavor: "azure" generate-samples: true diff --git a/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml b/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml index d70e219c8d6a..eb5f2c2eeb59 100644 --- a/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml +++ b/specification/workloads/Workloads.SAPVirtualInstance.Management/tspconfig.yaml @@ -39,8 +39,8 @@ options: flavor: "azure" "@azure-tools/typespec-go": service-dir: "sdk/resourcemanager/workloadssapvirtualinstance" - package-dir: "armworkloadssapvirtualinstance" - module: "github.com/Azure/azure-sdk-for-go/{service-dir}/{package-dir}" + emitter-output-dir: "{output-dir}/{service-dir}/armworkloadssapvirtualinstance" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armworkloadssapvirtualinstance" fix-const-stuttering: true flavor: "azure" generate-samples: true