diff --git a/documentation/onboard-dpg-in-sdkautomation/java/README.md b/documentation/onboard-dpg-in-sdkautomation/java/README.md index 76bbe610ee01..4416ed498db0 100644 --- a/documentation/onboard-dpg-in-sdkautomation/java/README.md +++ b/documentation/onboard-dpg-in-sdkautomation/java/README.md @@ -16,7 +16,7 @@ See [Use SDK Automation from REST API specifications](https://github.com/Azure/a package-dir: "azure-ai-openai" flavor: azure namespace: "com.azure.ai.openai" - examples-directory: "examples" + examples-directory: "{project-root}/examples" ``` ## Example for Java management-plane SDK @@ -33,7 +33,7 @@ See [Use SDK Automation from REST API specifications](https://github.com/Azure/a flavor: "azure" namespace: "com.azure.resourcemanager.standbypool" service-name: "Standby Pool" - examples-directory: "examples" + examples-directory: "{project-root}/examples" ``` # Add AutoRest Configuration for Java SDK diff --git a/specification/appcomplianceautomation/AppComplianceAutomation.Management/tspconfig.yaml b/specification/appcomplianceautomation/AppComplianceAutomation.Management/tspconfig.yaml index ce20e26474dd..9d35858dd1ac 100644 --- a/specification/appcomplianceautomation/AppComplianceAutomation.Management/tspconfig.yaml +++ b/specification/appcomplianceautomation/AppComplianceAutomation.Management/tspconfig.yaml @@ -27,7 +27,7 @@ options: # package-dir: "azure-resourcemanager-appcomplianceautomation" # namespace: "com.azure.resourcemanager.appcomplianceautomation" # service-name: "App Compliance Automation" - # examples-directory: "examples" + # examples-directory: "{project-root}/examples" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/azurefleet/AzureFleet.Management/tspconfig.yaml b/specification/azurefleet/AzureFleet.Management/tspconfig.yaml index 3ef181c18fa3..fe6fc0dbeffc 100644 --- a/specification/azurefleet/AzureFleet.Management/tspconfig.yaml +++ b/specification/azurefleet/AzureFleet.Management/tspconfig.yaml @@ -35,5 +35,5 @@ options: package-dir: "azure-resourcemanager-computefleet" namespace: com.azure.resourcemanager.computefleet service-name: Compute Fleet - examples-directory: "examples" + examples-directory: "{project-root}/examples" flavor: azure diff --git a/specification/cognitiveservices/ContentSafety/tspconfig.yaml b/specification/cognitiveservices/ContentSafety/tspconfig.yaml index 53e30575b6ce..9d2877016a31 100644 --- a/specification/cognitiveservices/ContentSafety/tspconfig.yaml +++ b/specification/cognitiveservices/ContentSafety/tspconfig.yaml @@ -36,7 +36,7 @@ options: "@azure-tools/typespec-java": package-dir: "azure-ai-contentsafety" namespace: com.azure.ai.contentsafety - examples-directory: examples + examples-directory: "{project-root}/examples" partial-update: true flavor: azure api-version: "2023-10-01" diff --git a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml index 224f19d4bb93..9877694fac10 100644 --- a/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml +++ b/specification/deviceregistry/DeviceRegistry.Management/tspconfig.yaml @@ -19,7 +19,7 @@ options: flavor: "azure" namespace: "com.azure.resourcemanager.deviceregistry" service-name: "Device Registry" - examples-directory: "examples" + examples-directory: "{project-root}/examples" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml b/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml index 9fd78a3ea6bc..c19f97e01ce7 100644 --- a/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml +++ b/specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure.Management/tspconfig.yaml @@ -27,7 +27,7 @@ options: flavor: "azure" namespace: "com.azure.resourcemanager.devopsinfrastructure" service-name: "DevOps Infrastructure" - examples-directory: "examples" + examples-directory: "{project-root}/examples" "@azure-tools/cadl-csharp": save-inputs: false clear-output-folder: true diff --git a/specification/edgezones/EdgeZones.Management/tspconfig.yaml b/specification/edgezones/EdgeZones.Management/tspconfig.yaml index 69439b5df395..6636affb0b78 100644 --- a/specification/edgezones/EdgeZones.Management/tspconfig.yaml +++ b/specification/edgezones/EdgeZones.Management/tspconfig.yaml @@ -26,4 +26,4 @@ options: flavor: "azure" namespace: "com.azure.resourcemanager.edgezones" service-name: "Edge Zones" - examples-directory: "examples" + examples-directory: "{project-root}/examples" diff --git a/specification/healthdataaiservices/HealthDataAIServices.Management/tspconfig.yaml b/specification/healthdataaiservices/HealthDataAIServices.Management/tspconfig.yaml index e54f6a900bf5..2f7947383d65 100644 --- a/specification/healthdataaiservices/HealthDataAIServices.Management/tspconfig.yaml +++ b/specification/healthdataaiservices/HealthDataAIServices.Management/tspconfig.yaml @@ -26,7 +26,7 @@ options: flavor: "azure" namespace: "com.azure.resourcemanager.healthdataaiservices" service-name: "Health Data AI Services" - examples-directory: "examples" + examples-directory: "{project-root}/examples" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/mongocluster/DocumentDB.MongoCluster.Management/tspconfig.yaml b/specification/mongocluster/DocumentDB.MongoCluster.Management/tspconfig.yaml index b5b2b1e1b6a7..9b622d9ba4d4 100644 --- a/specification/mongocluster/DocumentDB.MongoCluster.Management/tspconfig.yaml +++ b/specification/mongocluster/DocumentDB.MongoCluster.Management/tspconfig.yaml @@ -22,7 +22,7 @@ options: flavor: "azure" namespace: "com.azure.resourcemanager.mongocluster" service-name: "Mongo Cluster" - examples-directory: "examples" + examples-directory: "{project-root}/examples" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/schemaregistry/SchemaRegistry/tspconfig.yaml b/specification/schemaregistry/SchemaRegistry/tspconfig.yaml index 71bf18d7f2bd..74230651bc3c 100644 --- a/specification/schemaregistry/SchemaRegistry/tspconfig.yaml +++ b/specification/schemaregistry/SchemaRegistry/tspconfig.yaml @@ -27,7 +27,7 @@ options: namespace: com.azure.data.schemaregistry partial-update: true flavor: azure - examples-directory: examples + examples-directory: "{project-root}/examples" "@azure-tools/typespec-ts": package-dir: "schema-registry" generateMetadata: false diff --git a/specification/standbypool/StandbyPool.Management/tspconfig.yaml b/specification/standbypool/StandbyPool.Management/tspconfig.yaml index 6333f53e2b04..c7906c08be93 100644 --- a/specification/standbypool/StandbyPool.Management/tspconfig.yaml +++ b/specification/standbypool/StandbyPool.Management/tspconfig.yaml @@ -24,4 +24,4 @@ options: flavor: "azure" namespace: "com.azure.resourcemanager.standbypool" service-name: "Standby Pool" - examples-directory: "examples" + examples-directory: "{project-root}/examples"