Update tspconfig.yaml (#24433)
Applied latest schema of emitter options and parameters.
This commit is contained in:
Родитель
fe056966cf
Коммит
ca95eb5342
|
@ -1,14 +1,6 @@
|
|||
parameters:
|
||||
python-sdk-folder:
|
||||
default: "{cwd}/azure-sdk-for-python/"
|
||||
# java-sdk-folder:
|
||||
# default: "{cwd}/azure-sdk-for-java/"
|
||||
# js-sdk-folder:
|
||||
# default: "{cwd}/azure-sdk-for-js/"
|
||||
csharp-sdk-folder:
|
||||
default: "{cwd}/azure-sdk-for-csharp/"
|
||||
service-directory-name:
|
||||
default: "contentsafety"
|
||||
service-dir:
|
||||
default: "sdk/contentsafety"
|
||||
emit:
|
||||
- "@azure-tools/typespec-autorest"
|
||||
options:
|
||||
|
@ -18,22 +10,22 @@ options:
|
|||
azure-resource-provider-folder: "data-plane"
|
||||
examples-directory: examples
|
||||
"@azure-tools/typespec-python":
|
||||
package-name: "azure-ai-contentsafety"
|
||||
emitter-output-dir: "{python-sdk-folder}/sdk/{service-directory-name}/{package-name}"
|
||||
package-dir: "azure-ai-contentsafety"
|
||||
package-name: "{package-dir}"
|
||||
package-mode: dataplane
|
||||
"@azure-tools/typespec-csharp":
|
||||
namespace: "Azure.AI.ContentSafety"
|
||||
package-dir: "Azure.AI.ContentSafety"
|
||||
namespace: "{package-dir}"
|
||||
clear-output-folder: true
|
||||
model-namespace: false
|
||||
emitter-output-dir: "{csharp-sdk-folder}/sdk/{service-directory-name}/{namespace}/src"
|
||||
# "@azure-tools/cadl-typescript":
|
||||
# emitter-output-dir: "{js-sdk-folder}/sdk/{service-directory-name}/contentsafety-rest"
|
||||
# "@azure-tools/typespec-ts":
|
||||
# package-dir: "contentsafety-rest"
|
||||
# generateMetadata: true
|
||||
# generateTest: true
|
||||
# azureSdkForJs: true
|
||||
# packageDetails:
|
||||
# name: "@azure-rest/contentsafety-rest"
|
||||
# description: "ContentSafety Service"
|
||||
# "@azure-tools/cadl-java":
|
||||
# emitter-output-dir: "{java-sdk-folder}/sdk/{service-directory-name}/contentsafety"
|
||||
# "@azure-tools/typespec-java":
|
||||
# package-dir: "contentsafety"
|
||||
# namespace: com.contentsafety
|
||||
|
|
Загрузка…
Ссылка в новой задаче