Skip to content

Commit

Permalink
[Computeschedule] Update tspconfig for Python SDK (Azure#30576)
Browse files Browse the repository at this point in the history
* update tspconfig

* update

* fix format
  • Loading branch information
ChenxiJiang333 authored Sep 14, 2024
1 parent 3a91306 commit c41b762
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import "./main.tsp";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;

@@clientName(Microsoft.ComputeSchedule, "ComputeScheduleMgmt", "python");
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
parameters:
"service-dir":
default: "sdk/computeschedule"
emit:
- "@azure-tools/typespec-autorest"
options:
"@azure-tools/typespec-autorest":
emitter-output-dir: "{project-root}/.."
azure-resource-provider-folder: "resource-manager"
output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/computeschedule.json"
"@azure-tools/typespec-python":
package-dir: "azure-mgmt-computeschedule"
package-name: "{package-dir}"
flavor: "azure"
generate-test: true
generate-sample: true
examples-dir: "{project-root}/examples"
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/resource-manager"

0 comments on commit c41b762

Please sign in to comment.