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

mgmt, codesigning, update tspconfig #30744

Merged
Merged
Show file tree
Hide file tree
Changes from 5 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
7 changes: 7 additions & 0 deletions specification/codesigning/CodeSigning.Management/client.tsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import "./main.tsp";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;

@@clientName(Microsoft.CodeSigning, "TrustedSigningMgmt", "python");
@@clientName(Microsoft.CodeSigning, "TrustedSigningManagementClient", "java");
26 changes: 26 additions & 0 deletions specification/codesigning/CodeSigning.Management/tspconfig.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
parameters:
"service-dir":
default: "sdk/trustedsigning"
emit:
- "@azure-tools/typespec-autorest"
options:
Expand All @@ -9,6 +12,29 @@ options:
# `arm-resource-flattening` is only used for back-compat for specs existed on July 2024. All new service spec should NOT use this flag
arm-resource-flattening: true
output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/codeSigningAccount.json"
"@azure-tools/typespec-java":
package-dir: "azure-resourcemanager-trustedsigning"
flavor: "azure"
namespace: "com.azure.resourcemanager.trustedsigning"
service-name: "Trusted Signing"
"@azure-tools/typespec-python":
package-dir: "azure-mgmt-trustedsigning"
package-name: "{package-dir}"
flavor: "azure"
generate-test: true
generate-sample: true
examples-dir: "{project-root}/examples"
"@azure-tools/typespec-ts":
azureSdkForJs: true
isModularLibrary: true
generateMetadata: true
hierarchyClient: false
experimentalExtensibleEnums: true
enableOperationGroup: true
package-dir: "arm-trustedsigning"
flavor: "azure"
packageDetails:
name: "@azure/arm-trustedsigning"
linter:
extends:
- "@azure-tools/typespec-azure-rulesets/resource-manager"