Content-Length: 346461 | pFad | http://github.com/forteddyt/azure-rest-api-specs/commit/d9d3337875c8e55a64b4d58eebc95eb151fdea6c

5F [devopsinfrastructure] Update tspconfig.yaml (#29079) · forteddyt/azure-rest-api-specs@d9d3337 · GitHub
Skip to content

Commit d9d3337

Browse files
msyycXiaofeiCao
andauthored
[devopsinfrastructure] Update tspconfig.yaml (Azure#29079)
* Update tspconfig.yaml * Create client.tsp * update python * format * java config --------- Co-authored-by: XiaofeiCao <xiaofeicao@microsoft.com>
1 parent e1b8250 commit d9d3337

File tree

3 files changed

+30
-4
lines changed

3 files changed

+30
-4
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import "./main.tsp";
2+
import "@azure-tools/typespec-client-generator-core";
3+
4+
using Azure.ClientGenerator.Core;
5+
6+
@@clientName(Microsoft.DevOpsInfrastructure,
7+
"DevOpsInfrastructureMgmt",
8+
"python"
9+
);

specification/devopsinfrastructure/Microsoft.DevOpsInfrastructure/tspconfig.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
parameters:
2+
"service-dir":
3+
default: "sdk/devopsinfrastructure"
14
linter:
25
extends:
36
- "@azure-tools/typespec-azure-resource-manager/all"
@@ -12,10 +15,16 @@ options:
1215
examples-directory: "{project-root}/examples"
1316
output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/devopsinfrastructure.json"
1417
omit-unreachable-types: true
15-
"@azure-tools/cadl-python":
16-
"basic-setup-py": true
17-
"package-version": 1.0.0b1
18-
"package-name": azure-mgmt-devopsinfrastructure
18+
"@azure-tools/typespec-python":
19+
package-dir: "azure-mgmt-devopsinfrastructure"
20+
package-name: "{package-dir}"
21+
flavor: "azure"
22+
"@azure-tools/typespec-java":
23+
package-dir: "azure-resourcemanager-devopsinfrastructure"
24+
flavor: "azure"
25+
namespace: "com.azure.resourcemanager.devopsinfrastructure"
26+
service-name: "DevOps Infrastructure"
27+
examples-directory: "examples"
1928
"@azure-tools/cadl-csharp":
2029
save-inputs: false
2130
clear-output-folder: true
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## Java
2+
3+
These settings apply only when `--java` is specified on the command line.
4+
5+
```yaml $(java)
6+
service-name: DevOpsInfrastructure
7+
client-flattened-annotation-target: disabled
8+
```

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/forteddyt/azure-rest-api-specs/commit/d9d3337875c8e55a64b4d58eebc95eb151fdea6c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy