Skip to content

Commit

Permalink
add {project-root} to examples-directory option (#30018)
Browse files Browse the repository at this point in the history
  • Loading branch information
weidongxu-microsoft authored Jul 31, 2024
1 parent 4d8b76e commit 7ed015e
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions documentation/onboard-dpg-in-sdkautomation/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ options:
flavor: "azure"
namespace: "com.azure.resourcemanager.edgezones"
service-name: "Edge Zones"
examples-directory: "examples"
examples-directory: "{project-root}/examples"
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion specification/schemaregistry/SchemaRegistry/tspconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ options:
flavor: "azure"
namespace: "com.azure.resourcemanager.standbypool"
service-name: "Standby Pool"
examples-directory: "examples"
examples-directory: "{project-root}/examples"

0 comments on commit 7ed015e

Please sign in to comment.