Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support sample gen for ts emitter #31543

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ options:
experimentalExtensibleEnums: true
enableOperationGroup: true
flavor: azure
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-appcomplianceautomation"
packageDetails:
name: "@azure/arm-appcomplianceautomation"
Expand Down
2 changes: 2 additions & 0 deletions specification/azurefleet/AzureFleet.Management/tspconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-computefleet"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-trustedsigning"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ options:
version: "1.0.0"
description: "ContentSafety Service"
flavor: azure
api-version: "2023-10-01"
"@azure-tools/typespec-java":
package-dir: "azure-ai-contentsafety"
namespace: com.azure.ai.contentsafety
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-computeschedule"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ options:
service-name: "contoso"
flavor: azure
"@azure-tools/typespec-ts":
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-contoso"
azureSdkForJs: true
isModularLibrary: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-deviceregistry"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-devopsinfrastructure"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-durabletask"
flavor: "azure"
packageDetails:
Expand Down
2 changes: 2 additions & 0 deletions specification/edge/Microsoft.Edge.Management/tspconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ options:
experimentalExtensibleEnums: true
enableOperationGroup: true
flavor: azure
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-commonedgesitemanageroperations"
packageDetails:
name: "@azure/arm-commonedgesitemanageroperations"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ options:
experimentalExtensibleEnums: true
enableOperationGroup: true
flavor: azure
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-sitemanager"
packageDetails:
name: "@azure/arm-sitemanager"
Expand Down
2 changes: 2 additions & 0 deletions specification/edgezones/EdgeZones.Management/tspconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-edgezones"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-fabric"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-healthdataaiservices"
emitter-output-dir: "{project-root}/{service-dir}/{package-dir}"
flavor: "azure"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-hybridconnectivity"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-informaticadatamanagement"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-iotoperations"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-containerorchestratorruntime"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-astro"
flavor: "azure"
packageDetails:
Expand Down
13 changes: 13 additions & 0 deletions specification/liftrneon/Neon.Postgres.Management/tspconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,16 @@ options:
flavor: "azure"
generate-test: true
generate-sample: true
"@azure-tools/typespec-ts":
azureSdkForJs: true
isModularLibrary: true
generateMetadata: true
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-neonpostgres"
flavor: "azure"
packageDetails:
name: "@azure/arm-neonpostgres"
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-qumulo"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-loadtesting"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-mongocluster"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ options:
experimentalExtensibleEnums: true
enableOperationGroup: true
clear-output-folder: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-monitor"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-networkanalytics"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-oracledatabase"
packageDetails:
name: "@azure/arm-oracledatabase"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-playwrighttesting"
flavor: "azure"
packageDetails:
Expand Down
2 changes: 2 additions & 0 deletions specification/scvmm/ScVmm.Management/tspconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-scvmm"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-servicenetworking"
flavor: "azure"
packageDetails:
Expand Down
2 changes: 2 additions & 0 deletions specification/sphere/Sphere.Management/tspconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-sphere"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-standbypool"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-verifiedid"
flavor: "azure"
packageDetails:
Expand Down
2 changes: 2 additions & 0 deletions specification/vmware/Microsoft.AVS.Management/tspconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ options:
experimentalExtensibleEnums: true
enableOperationGroup: true
clear-output-folder: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-avs"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-migrationdiscoverysap"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-sapmonitors"
flavor: "azure"
packageDetails:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ options:
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
examples-directory: "{project-root}/examples"
generateSample: true
package-dir: "arm-workloadssapvirtualinstance"
flavor: "azure"
packageDetails:
Expand Down