forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Computeschedule] Update tspconfig for Python SDK (Azure#30576)
* update tspconfig * update * fix format
- Loading branch information
1 parent
3a91306
commit c41b762
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
specification/computeschedule/ComputeSchedule.Management/client.tsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"); |
10 changes: 10 additions & 0 deletions
10
specification/computeschedule/ComputeSchedule.Management/tspconfig.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |